@tensor_1/react 2.56.0 → 2.57.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 +26 -0
- package/component-inventory.json +20 -0
- package/dist/components/Attachment.js +2 -2
- package/dist/components/FileDrop.d.ts +51 -0
- package/dist/components/FileDrop.js +183 -0
- package/dist/components/FileGlyph.d.ts +9 -0
- package/dist/components/{FileIcon.js → FileGlyph.js} +2 -2
- package/dist/components/FileKindIcon.d.ts +36 -0
- package/dist/components/FileKindIcon.js +48 -0
- package/dist/components/FileRow.d.ts +102 -0
- package/dist/components/FileRow.js +164 -0
- package/dist/components/FileUpload.js +2 -2
- package/dist/components/Heartbeat.d.ts +5 -5
- package/dist/file-model.d.ts +41 -3
- package/dist/file-model.js +65 -1
- package/dist/icons/components.d.ts +3 -1
- package/dist/icons/components.js +4 -0
- package/dist/icons/glyphs.d.ts +5 -1
- package/dist/icons/glyphs.js +6 -0
- package/dist/icons.cjs +10 -0
- package/dist/icons.d.cts +7 -25
- package/dist/icons.d.ts +1 -1
- package/dist/index.cjs +2579 -2111
- package/dist/index.d.cts +227 -9
- package/dist/index.d.ts +5 -1
- package/dist/index.js +29 -1
- package/dist/labels-context.d.ts +9 -1
- package/dist/types-B593xJNf.d.cts +26 -0
- package/package.json +1 -1
- package/dist/components/FileIcon.d.ts +0 -9
package/dist/index.d.cts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
|
-
import { RefObject, HTMLAttributes, PointerEvent, FocusEvent, KeyboardEvent as KeyboardEvent$1, AnchorHTMLAttributes, ReactNode, ButtonHTMLAttributes, AriaAttributes, CSSProperties, SelectHTMLAttributes, Ref, SyntheticEvent, SVGAttributes, InputHTMLAttributes, TdHTMLAttributes, TableHTMLAttributes, ThHTMLAttributes, TextareaHTMLAttributes,
|
|
2
|
+
import { RefObject, HTMLAttributes, PointerEvent, FocusEvent, KeyboardEvent as KeyboardEvent$1, AnchorHTMLAttributes, ReactNode, ButtonHTMLAttributes, AriaAttributes, CSSProperties, SelectHTMLAttributes, MouseEvent, Ref, SyntheticEvent, SVGAttributes, InputHTMLAttributes, TdHTMLAttributes, TableHTMLAttributes, ThHTMLAttributes, TextareaHTMLAttributes, DetailsHTMLAttributes, LiHTMLAttributes, ReactElement, TransitionEvent } from 'react';
|
|
3
3
|
import { P as Placement } from './overlay-position-2Afke51l.cjs';
|
|
4
4
|
export { A as Align, a as PositionOptions, b as PositionResult, R as Rect, S as Side, c as Size, d as computePosition } from './overlay-position-2Afke51l.cjs';
|
|
5
|
+
import { U as UixIcon } from './types-B593xJNf.cjs';
|
|
5
6
|
export { C as ChartStatPoint, L as LinearFit, P as PredictionBandPoint, l as linearFit, n as normalQuantile, p as predictionBand, q as quantiles, s as studentTQuantile } from './chart-stats-o4zDhpVm.cjs';
|
|
6
7
|
|
|
7
8
|
declare function cx(...args: (string | false | null | undefined | 0)[]): string;
|
|
@@ -2955,11 +2956,49 @@ declare function partitionFiles<F extends {
|
|
|
2955
2956
|
accepted: F[];
|
|
2956
2957
|
rejected: FileRejection<F>[];
|
|
2957
2958
|
};
|
|
2958
|
-
/**
|
|
2959
|
+
/** The coarse kinds of the object form of `fileKind`, read by `FileUpload` and `Attachment`. */
|
|
2960
|
+
type LegacyFileKind = 'image' | 'video' | 'pdf' | 'sheet' | 'archive' | 'text' | 'other';
|
|
2961
|
+
/**
|
|
2962
|
+
* What a service-desk agent does with a file, as one of eight kinds (file kit 2.57): `img`
|
|
2963
|
+
* (Bild), `doc` (Dokument), `sheet` (Tabelle), `mail` (E-Mail), `code` (Code & Konfiguration),
|
|
2964
|
+
* `log` (Protokoll), `archive` (Archiv) and `other` (Datei). Each has a colour
|
|
2965
|
+
* (`--uix-file-<kind>`) and a glyph; `FileIcon`, `FileRow` and `FileDrop` read it.
|
|
2966
|
+
*/
|
|
2967
|
+
type FileKind = 'img' | 'doc' | 'sheet' | 'mail' | 'code' | 'log' | 'archive' | 'other';
|
|
2968
|
+
/** The eight kinds in display order (`other` last). */
|
|
2969
|
+
declare const FILE_KINDS: readonly FileKind[];
|
|
2970
|
+
/** The extensions of each kind, lower case and without the dot. `other` has none. */
|
|
2971
|
+
declare const FILE_KIND_EXTENSIONS: Readonly<Record<FileKind, readonly string[]>>;
|
|
2972
|
+
/** The words for each kind, German by default (`DEFAULT_FILE_KIND_LABELS`). */
|
|
2973
|
+
type FileKindLabels = Record<FileKind, string>;
|
|
2974
|
+
declare const DEFAULT_FILE_KIND_LABELS: FileKindLabels;
|
|
2975
|
+
/** The English kind names, for `labels` or `UixLabelsProvider` (`fileKinds`). */
|
|
2976
|
+
declare const FILE_KIND_LABELS_EN: FileKindLabels;
|
|
2977
|
+
/**
|
|
2978
|
+
* The extension of a file name, lower case and without the dot: `"report.PDF"` → `"pdf"`,
|
|
2979
|
+
* `"backup.tar.gz"` → `"gz"`. `""` when the name has none (`"README"`, `"archive."`).
|
|
2980
|
+
*/
|
|
2981
|
+
declare function fileExtension(name: string): string;
|
|
2982
|
+
/**
|
|
2983
|
+
* The kind of a file from its name and MIME type (file kit 2.57). A known extension wins,
|
|
2984
|
+
* because it is the more specific of the two (a `.log` arrives as `text/plain`, a `.ts` as
|
|
2985
|
+
* `video/mp2t`); then the MIME type; then `other`. Pass `''` as the name when only the type is
|
|
2986
|
+
* known, as in a drag event before the drop.
|
|
2987
|
+
*
|
|
2988
|
+
* The object form (`fileKind({ name, type })`) is the older coarse mapping that `FileUpload`
|
|
2989
|
+
* and `Attachment` use.
|
|
2990
|
+
*/
|
|
2991
|
+
declare function fileKind(name: string, mime?: string): FileKind;
|
|
2992
|
+
/** @deprecated The coarse kinds of `FileUpload` and `Attachment`; use `fileKind(name, mime)`. */
|
|
2959
2993
|
declare function fileKind(file: {
|
|
2960
2994
|
name: string;
|
|
2961
2995
|
type?: string;
|
|
2962
|
-
}):
|
|
2996
|
+
}): LegacyFileKind;
|
|
2997
|
+
/**
|
|
2998
|
+
* The short type label a `FileIcon` shows on its corner: the extension in capitals, at most
|
|
2999
|
+
* four letters (`"PDF"`, `"XLSX"`, `"JPEG"`; `"markdown"` → `"MARK"`). `""` without one.
|
|
3000
|
+
*/
|
|
3001
|
+
declare function fileTypeLabel(name: string): string;
|
|
2963
3002
|
|
|
2964
3003
|
type FileUploadStatus = 'queued' | 'uploading' | 'done' | 'error';
|
|
2965
3004
|
interface FileUploadItem {
|
|
@@ -3066,6 +3105,149 @@ interface AttachmentLabels {
|
|
|
3066
3105
|
}
|
|
3067
3106
|
declare const DEFAULT_ATTACHMENT_LABELS: AttachmentLabels;
|
|
3068
3107
|
|
|
3108
|
+
/**
|
|
3109
|
+
* Where a file is (file kit 2.57):
|
|
3110
|
+
* - `idle`: at rest, the kind's tint on the left edge. Files that were already there.
|
|
3111
|
+
* - `uploading`: a fill in the kind's colour grows to `progress`.
|
|
3112
|
+
* - `done`: just finished. A check draws on the icon and the fill fades; render `idle` for a
|
|
3113
|
+
* file that was already there, so the check only plays for the upload someone watched.
|
|
3114
|
+
* - `scanning`: the malware check after the upload. Words only, no motion.
|
|
3115
|
+
* - `blocked`: the check found something. Amber instead of the kind colour.
|
|
3116
|
+
* - `failed`: the upload broke. Red instead of the kind colour.
|
|
3117
|
+
*/
|
|
3118
|
+
type FileRowState = 'idle' | 'uploading' | 'done' | 'scanning' | 'blocked' | 'failed';
|
|
3119
|
+
/** The words of a `FileRow`, German by default. `{name}` is the file name. */
|
|
3120
|
+
interface FileRowLabels {
|
|
3121
|
+
/** Download button. `{name}`. */
|
|
3122
|
+
download: string;
|
|
3123
|
+
/** "More actions" button. `{name}`. */
|
|
3124
|
+
more: string;
|
|
3125
|
+
/** Cancel button while uploading. `{name}`. */
|
|
3126
|
+
cancel: string;
|
|
3127
|
+
/** First part of the meta line while uploading. */
|
|
3128
|
+
uploading: string;
|
|
3129
|
+
/** `{percent}`. */
|
|
3130
|
+
percent: string;
|
|
3131
|
+
/** `{loaded}`, `{total}`: formatted sizes. */
|
|
3132
|
+
transferred: string;
|
|
3133
|
+
/** The progress bar's name. `{name}`. */
|
|
3134
|
+
progress: string;
|
|
3135
|
+
/** Said once when an upload finishes. `{name}`. */
|
|
3136
|
+
done: string;
|
|
3137
|
+
scanning: string;
|
|
3138
|
+
blocked: string;
|
|
3139
|
+
failed: string;
|
|
3140
|
+
/** The button of a blocked file. */
|
|
3141
|
+
details: string;
|
|
3142
|
+
/** The button of a failed upload. */
|
|
3143
|
+
retry: string;
|
|
3144
|
+
}
|
|
3145
|
+
declare const DEFAULT_FILE_ROW_LABELS: FileRowLabels;
|
|
3146
|
+
/** The English words, for `labels` or `UixLabelsProvider` (`fileRow`). */
|
|
3147
|
+
declare const FILE_ROW_LABELS_EN: FileRowLabels;
|
|
3148
|
+
interface FileRowProps extends Omit<HTMLAttributes<HTMLElement>, 'children'> {
|
|
3149
|
+
/** The file name as people should read it. Long names end in an ellipsis; `title` has it whole. */
|
|
3150
|
+
name: string;
|
|
3151
|
+
/** The MIME type, for the kind when the name has no known extension. */
|
|
3152
|
+
mime?: string;
|
|
3153
|
+
/** Sets the kind outright instead of reading it from `name` and `mime`. */
|
|
3154
|
+
kind?: FileKind;
|
|
3155
|
+
/** The type label on the icon corner. Default: the extension, at most four letters. */
|
|
3156
|
+
typeLabel?: string;
|
|
3157
|
+
/** Bytes. */
|
|
3158
|
+
size?: number;
|
|
3159
|
+
/** Who added it and when ("Lena Brandt, vor 12 Min."), after the kind and the size. */
|
|
3160
|
+
meta?: ReactNode;
|
|
3161
|
+
state?: FileRowState;
|
|
3162
|
+
/** Upload progress, 0 to 1. Default `loaded / size` when both are given. */
|
|
3163
|
+
progress?: number;
|
|
3164
|
+
/** Bytes uploaded so far. Default `progress × size`. */
|
|
3165
|
+
loaded?: number;
|
|
3166
|
+
/** Replaces the words of a `blocked` or `failed` row (the reason the server gave). */
|
|
3167
|
+
message?: ReactNode;
|
|
3168
|
+
/** Download link: the download button becomes `<a href download>`. */
|
|
3169
|
+
href?: string;
|
|
3170
|
+
/** Saves under this name instead of the URL's (with `href`). */
|
|
3171
|
+
download?: string;
|
|
3172
|
+
/** Download handler, when the download is not a plain link. */
|
|
3173
|
+
onDownload?: () => void;
|
|
3174
|
+
/** Shows a "Weitere Aktionen" button; open your `Menu` from it. */
|
|
3175
|
+
onMoreActions?: (event: MouseEvent<HTMLButtonElement>) => void;
|
|
3176
|
+
/** Replaces the resting actions (download, more). */
|
|
3177
|
+
actions?: ReactNode;
|
|
3178
|
+
/** Shows the cancel button while uploading. */
|
|
3179
|
+
onCancel?: () => void;
|
|
3180
|
+
/** Shows "Erneut versuchen" on a failed upload. */
|
|
3181
|
+
onRetry?: () => void;
|
|
3182
|
+
/** Shows "Details" on a blocked file. */
|
|
3183
|
+
onDetails?: () => void;
|
|
3184
|
+
/** `compact`: a 30 px icon and tighter padding, for a 340 px side panel. */
|
|
3185
|
+
density?: 'default' | 'compact';
|
|
3186
|
+
/** `li` inside a `<ul class="uix-file-rows">`. Default `div`. */
|
|
3187
|
+
as?: 'div' | 'li';
|
|
3188
|
+
locale?: string;
|
|
3189
|
+
/** Count sizes in 1024s instead of 1000s. Default `1000`. */
|
|
3190
|
+
sizeBase?: 1000 | 1024;
|
|
3191
|
+
formatSize?: FileSizeFormatter;
|
|
3192
|
+
/** Words for this row; each defaults to `UixLabelsProvider` `fileRow`, then German. */
|
|
3193
|
+
labels?: Partial<FileRowLabels>;
|
|
3194
|
+
/** Kind names for this row; each defaults to `UixLabelsProvider` `fileKinds`, then German. */
|
|
3195
|
+
kindLabels?: Partial<FileKindLabels>;
|
|
3196
|
+
}
|
|
3197
|
+
/**
|
|
3198
|
+
* One file in a list (file kit 2.57, variation H): the kind icon, the name, a meta line (kind
|
|
3199
|
+
* in its colour · size · who and when) and actions that appear on hover or focus. At rest its
|
|
3200
|
+
* left edge carries a tint of the kind's colour fading into the surface; while uploading the
|
|
3201
|
+
* same tint grows to the real progress, and fades out when the upload finishes.
|
|
3202
|
+
*/
|
|
3203
|
+
declare function FileRow({ name, mime, kind, typeLabel, size, meta, state, progress, loaded, message, href, download, onDownload, onMoreActions, actions, onCancel, onRetry, onDetails, density, as: Root, locale, sizeBase, formatSize, labels: labelsProp, kindLabels: kindLabelsProp, className, style, ...props }: FileRowProps): react.JSX.Element;
|
|
3204
|
+
|
|
3205
|
+
/** The words of a `FileDrop`, German by default. */
|
|
3206
|
+
interface FileDropLabels {
|
|
3207
|
+
/** The resting sentence. `{choose}` is where the choose button sits. */
|
|
3208
|
+
prompt: string;
|
|
3209
|
+
/** The choose button's visible word. */
|
|
3210
|
+
choose: string;
|
|
3211
|
+
/** The choose button's full name (it contains `choose`, WCAG 2.5.3). */
|
|
3212
|
+
chooseLabel: string;
|
|
3213
|
+
/** One file being dragged. */
|
|
3214
|
+
fileOne: string;
|
|
3215
|
+
/** `{count}` files being dragged. */
|
|
3216
|
+
fileMany: string;
|
|
3217
|
+
/** While dragging, with known kinds. `{files}`: `fileOne`/`fileMany`; `{kinds}`: the kind names. */
|
|
3218
|
+
dragSummary: string;
|
|
3219
|
+
/** While dragging, when the browser says nothing about the files. */
|
|
3220
|
+
dragRelease: string;
|
|
3221
|
+
}
|
|
3222
|
+
declare const DEFAULT_FILE_DROP_LABELS: FileDropLabels;
|
|
3223
|
+
/** The English words, for `labels` or `UixLabelsProvider` (`fileDrop`). */
|
|
3224
|
+
declare const FILE_DROP_LABELS_EN: FileDropLabels;
|
|
3225
|
+
interface FileDropProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children' | 'onDrop'> {
|
|
3226
|
+
/** The chosen or dropped files that match `accept`. */
|
|
3227
|
+
onFiles: (files: File[]) => void;
|
|
3228
|
+
/** Dropped files that do not match `accept` (the chooser never offers them). */
|
|
3229
|
+
onReject?: (files: File[]) => void;
|
|
3230
|
+
/** Accepted types, as for `<input accept>`. */
|
|
3231
|
+
accept?: string;
|
|
3232
|
+
/** Default `true`. With `false`, the first file only. */
|
|
3233
|
+
multiple?: boolean;
|
|
3234
|
+
disabled?: boolean;
|
|
3235
|
+
/**
|
|
3236
|
+
* A larger element that takes the drop as well, such as the whole attachments panel. The row
|
|
3237
|
+
* still shows what is being dragged.
|
|
3238
|
+
*/
|
|
3239
|
+
targetRef?: RefObject<HTMLElement | null>;
|
|
3240
|
+
labels?: Partial<FileDropLabels>;
|
|
3241
|
+
kindLabels?: Partial<FileKindLabels>;
|
|
3242
|
+
}
|
|
3243
|
+
/**
|
|
3244
|
+
* A one-line drop row (file kit 2.57, the slim `FileDrop`): "Dateien ablegen oder auswählen",
|
|
3245
|
+
* backed by a real file input. While files are dragged over it, before the drop, it names what
|
|
3246
|
+
* they are from their MIME types ("2 Dateien: Bild, Protokoll") and tints itself from the
|
|
3247
|
+
* pointer outwards, one kind colour per kind. The choose button is the keyboard path.
|
|
3248
|
+
*/
|
|
3249
|
+
declare function FileDrop({ onFiles, onReject, accept, multiple, disabled, targetRef, labels: labelsProp, kindLabels: kindLabelsProp, className, ...props }: FileDropProps): react.JSX.Element;
|
|
3250
|
+
|
|
3069
3251
|
/** One result row. */
|
|
3070
3252
|
interface SearchSuggestOption {
|
|
3071
3253
|
/** Stable id, returned by `onSelect`. */
|
|
@@ -5549,6 +5731,12 @@ interface UixLabels {
|
|
|
5549
5731
|
select?: Partial<SelectLabels>;
|
|
5550
5732
|
ruleBuilder?: Partial<RuleBuilderLabels>;
|
|
5551
5733
|
fileUpload?: Partial<FileUploadLabels>;
|
|
5734
|
+
/** `FileRow` (file kit 2.57): German by default; `FILE_ROW_LABELS_EN` for English. */
|
|
5735
|
+
fileRow?: Partial<FileRowLabels>;
|
|
5736
|
+
/** `FileDrop` (file kit 2.57): German by default; `FILE_DROP_LABELS_EN` for English. */
|
|
5737
|
+
fileDrop?: Partial<FileDropLabels>;
|
|
5738
|
+
/** The kind names `FileRow` and `FileDrop` show: German by default; `FILE_KIND_LABELS_EN` for English. */
|
|
5739
|
+
fileKinds?: Partial<FileKindLabels>;
|
|
5552
5740
|
attachment?: Partial<AttachmentLabels>;
|
|
5553
5741
|
/** `TagInput` (HAR-1377): the chips' × names, the announcements and the refusals. */
|
|
5554
5742
|
tagInput?: Partial<TagInputLabels>;
|
|
@@ -6987,6 +7175,36 @@ interface AttachmentListProps extends HTMLAttributes<HTMLUListElement> {
|
|
|
6987
7175
|
/** A list of `Attachment` rows. */
|
|
6988
7176
|
declare function AttachmentList({ label, className, children, ...props }: AttachmentListProps): react.JSX.Element;
|
|
6989
7177
|
|
|
7178
|
+
/** The Lucide glyph of each kind. E-Mail keeps the envelope: Lucide has no file-shaped mail icon. */
|
|
7179
|
+
declare const FILE_KIND_GLYPHS: Readonly<Record<FileKind, UixIcon>>;
|
|
7180
|
+
/** `md` 34 px (a list row), `sm` 30 px (a compact panel row), `lg` 52 px. */
|
|
7181
|
+
type FileKindIconSize = 'sm' | 'md' | 'lg';
|
|
7182
|
+
interface FileKindIconProps extends Omit<HTMLAttributes<HTMLSpanElement>, 'children'> {
|
|
7183
|
+
/** The file name; gives the kind (by extension) and the type label. */
|
|
7184
|
+
name?: string;
|
|
7185
|
+
/** The MIME type; gives the kind when the name has no known extension (a drag event). */
|
|
7186
|
+
mime?: string;
|
|
7187
|
+
/** Sets the kind outright instead of reading it from `name` and `mime`. */
|
|
7188
|
+
kind?: FileKind;
|
|
7189
|
+
/**
|
|
7190
|
+
* The type label on the corner. Default: the extension in capitals, at most four letters
|
|
7191
|
+
* (`fileTypeLabel`). `""` hides it.
|
|
7192
|
+
*/
|
|
7193
|
+
typeLabel?: string;
|
|
7194
|
+
size?: FileKindIconSize;
|
|
7195
|
+
/**
|
|
7196
|
+
* An accessible name ("PDF-Dokument"). Without one the icon is decorative (`aria-hidden`):
|
|
7197
|
+
* a `FileRow` already says the name and the kind in words.
|
|
7198
|
+
*/
|
|
7199
|
+
label?: string;
|
|
7200
|
+
}
|
|
7201
|
+
/**
|
|
7202
|
+
* A file's kind at a glance (file kit 2.57, variation H): the kind's Lucide glyph in the kind's
|
|
7203
|
+
* colour (`--uix-file-<kind>`), with the type as a small solid label on its bottom-right corner,
|
|
7204
|
+
* ringed in the surface colour. Server-renderable; it has no words of its own.
|
|
7205
|
+
*/
|
|
7206
|
+
declare function FileKindIcon({ name, mime, kind, typeLabel, size, label, className, ...props }: FileKindIconProps): react.JSX.Element;
|
|
7207
|
+
|
|
6990
7208
|
type AlertTone = 'neutral' | 'info' | 'success' | 'warning' | 'danger';
|
|
6991
7209
|
interface AlertProps extends Omit<HTMLAttributes<HTMLDivElement>, 'title'> {
|
|
6992
7210
|
tone?: AlertTone;
|
|
@@ -7030,8 +7248,8 @@ declare function Spinner({ delay, ...props }: SpinnerProps): react.JSX.Element;
|
|
|
7030
7248
|
type HeartbeatState = 'live' | 'idle' | 'warning' | 'danger';
|
|
7031
7249
|
interface HeartbeatProps extends Omit<HTMLAttributes<HTMLSpanElement>, 'children'> {
|
|
7032
7250
|
/**
|
|
7033
|
-
* `live` (default): a green dot
|
|
7034
|
-
*
|
|
7251
|
+
* `live` (default): a green dot. `warning` / `danger`: the same in that tone. `idle`: a grey
|
|
7252
|
+
* dot. The dot is still (2.57): say the state in words beside it.
|
|
7035
7253
|
*/
|
|
7036
7254
|
state?: HeartbeatState;
|
|
7037
7255
|
/**
|
|
@@ -7041,9 +7259,9 @@ interface HeartbeatProps extends Omit<HTMLAttributes<HTMLSpanElement>, 'children
|
|
|
7041
7259
|
label?: string;
|
|
7042
7260
|
}
|
|
7043
7261
|
/**
|
|
7044
|
-
* The
|
|
7045
|
-
*
|
|
7046
|
-
*
|
|
7262
|
+
* The status dot over `.uix-heartbeat` (HAR-1606), so products stop hand-writing its spans.
|
|
7263
|
+
* Decorative unless it has a `label`. Still since 2.57 (Rules for apps: no pulsing on status);
|
|
7264
|
+
* the ring span is kept in the markup for compatibility and is not drawn.
|
|
7047
7265
|
*/
|
|
7048
7266
|
declare function Heartbeat({ state, label, className, ...props }: HeartbeatProps): react.JSX.Element;
|
|
7049
7267
|
interface LiveIndicatorProps extends HTMLAttributes<HTMLSpanElement> {
|
|
@@ -9948,4 +10166,4 @@ declare function hsvToHex(value: HsvColor): string;
|
|
|
9948
10166
|
declare function contrastRatio(background: string, foreground: string): number | undefined;
|
|
9949
10167
|
declare function meetsContrast(background: string, foreground: string, minimum?: number): boolean;
|
|
9950
10168
|
|
|
9951
|
-
export { type AccessStateProps, AccountMenu, type AccountMenuLabels, type AccountMenuProps, type AccountMenuUser, Alert, type AlertProps, type AlertTone, AppShell, type AppShellProps, type AppliedBrandProfileSnapshot, Arrive, ArriveItem, type ArriveItemProps, type ArriveProps, type ArriveState, type AsyncOperationState, AsyncOperationStatus, type AsyncOperationStatusProps, Attachment, type AttachmentLabels, AttachmentList, type AttachmentListProps, type AttachmentProps, AuditLog, type AuditLogAction, type AuditLogEvent, type AuditLogFilters, type AuditLogLabels, type AuditLogProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarPresence, type AvatarProps, BarList, type BarListItem, type BarListProps, type BoundedRelationshipGraph, type BrandProfile, BrandProfileEditor, type BrandProfileEditorLabels, type BrandProfileEditorProps, type BrandProfileLogo, type BrandProfileTypography, BrandProfiles, type BreadcrumbItem, Breadcrumbs, type BreadcrumbsProps, BuilderCanvas, type BuilderCanvasItem, type BuilderCanvasLabels, type BuilderCanvasProps, type BuilderPaletteItem, BulkBar, type BulkBarProps, Bullet, type BulletProps, BusyRegion, type BusyRegionProps, Button, ButtonGroup, type ButtonGroupProps, ButtonLink, type ButtonLinkProps, type ButtonProps, type ButtonResult, type ButtonResultLabels, type ButtonSize, type ButtonVariant, type CalendarDay, type CalendarWeekday, Card, CardLink, type CardLinkProps, type CardProps, CellStrong, CellSub, type CellSubProps, ChangeHighlight, type ChangeHighlightOptions, type ChangeHighlightProps, ChartCard, type ChartCardProps, Checkbox, CheckboxGroup, type CheckboxGroupProps, type CheckboxProps, Chip, ChipGroup, type ChipGroupProps, type ChipProps, CodeDisplay, type CodeDisplayLabels, type CodeDisplayProps, CollapsibleSection, type CollapsibleSectionProps, ColorPicker, type ColorPickerLabels, type ColorPickerProps, type ColumnFilter, Combobox, type ComboboxGroup, type ComboboxOption, type ComboboxProps, CommandGroup, type CommandGroupProps, CommandItem, type CommandItemProps, CommandPalette, type CommandPaletteGroup, type CommandPaletteItem, type CommandPaletteProps, Comment, type CommentProps, Comments, type CommentsProps, Composer, ComposerBar, type ComposerBarProps, type ComposerProps, type ConfirmButtonProps, ConfirmDialog, type ConfirmDialogProps, ContactCard, type ContactCardLabels, type ContactCardProps, type ContactCardState, ContentList, ContentListItem, type ContentListItemProps, type ContentListProps, type ContrastPreference, CopyButton, type CopyButtonProps, Count, type CountProps, DASHBOARD_CANVAS_COLUMNS, DATE_FILTER_OPERATORS, DAY, DEFAULT_ACCOUNT_MENU_LABELS, DEFAULT_ATTACHMENT_LABELS, DEFAULT_AUDIT_LOG_LABELS, DEFAULT_BRAND_PROFILE_EDITOR_LABELS, DEFAULT_BUILDER_CANVAS_LABELS, DEFAULT_BUTTON_RESULT_LABELS, DEFAULT_CODE_DISPLAY_LABELS, DEFAULT_COLOR_PICKER_LABELS, DEFAULT_CONTACT_CARD_LABELS, DEFAULT_DASHBOARD_CANVAS_LABELS, DEFAULT_DATA_WORKSPACE_LABELS, DEFAULT_DATE_PICKER_LABELS, DEFAULT_DATE_RANGE_PICKER_LABELS, DEFAULT_DATE_TIME_PICKER_LABELS, DEFAULT_DIFF_VIEWER_LABELS, DEFAULT_DISPLAY_PREFERENCES, DEFAULT_DISPLAY_PREFERENCES_LABELS, DEFAULT_ENTITY_PICKER_LABELS, DEFAULT_FILE_UPLOAD_LABELS, DEFAULT_FILTER_EDITOR_LABELS, DEFAULT_FILTER_SUMMARY_LABELS, DEFAULT_INLINE_EDIT_LABELS, DEFAULT_INSIGHT_CARD_LABELS, DEFAULT_KEYBOARD_GRAB_LABELS, DEFAULT_LIGHTBOX_LABELS, DEFAULT_MATCH_REVIEW_LABELS, DEFAULT_ORG_CHART_LABELS, DEFAULT_PAGINATION_LABELS, DEFAULT_PASSWORD_INPUT_LABELS, DEFAULT_PRESENCE_LABELS, DEFAULT_PRINT_LAYOUT_LABELS, DEFAULT_QR_CODE_LABELS, DEFAULT_QR_SCANNER_LABELS, DEFAULT_RELATIONSHIP_GRAPH_LABELS, DEFAULT_RULE_BUILDER_LABELS, DEFAULT_RULE_SUMMARY_WORDS, DEFAULT_RULE_VALIDATION_MESSAGES, DEFAULT_SAVE_STATUS_LABELS, DEFAULT_SCHEDULING_CALENDAR_LABELS, DEFAULT_SCHEDULING_TIMELINE_LABELS, DEFAULT_SORTABLE_LIST_LABELS, DEFAULT_STEP_STATE_LABELS, DEFAULT_TAG_INPUT_LABELS, DEFAULT_TEXT_DIFF_LABELS, DEFAULT_TIME_PICKER_LABELS, DEFAULT_TREE_LABELS, DISPLAY_PREFERENCES_STORAGE_KEY, DISPLAY_PREFERENCE_OPTIONS, DashboardCanvas, type DashboardCanvasChange, type DashboardCanvasDirection, type DashboardCanvasGap, type DashboardCanvasItem, type DashboardCanvasLabels, type DashboardCanvasPlacement, type DashboardCanvasProps, type DashboardCanvasResize, DashboardGrid, type DashboardGridBreakpoint, type DashboardGridColumnCount, type DashboardGridColumns, type DashboardGridGap, DashboardGridItem, type DashboardGridItemProps, type DashboardGridProps, type DashboardGridSpan, DataWorkspace, type DataWorkspaceColumn, type DataWorkspaceGroup, type DataWorkspaceIdColumn, type DataWorkspaceLabels, type DataWorkspacePagination, type DataWorkspaceProps, type DataWorkspaceRowActionsContext, type DataWorkspaceSort, type DataWorkspaceSortState, type DataWorkspaceSortValue, type DataWorkspaceVirtualize, type DateFilterOperator, type DateInputProblem, type DatePart, DatePicker, type DatePickerLabels, type DatePickerProps, DateRangePicker, type DateRangePickerLabels, type DateRangePickerProps, type DateRangeValue, DateTimePicker, type DateTimePickerLabels, type DateTimePickerProps, type DaySpanLayout, type DelayedPendingOptions, type DensityPreference, DescriptionItem, type DescriptionItemProps, DescriptionList, type DescriptionListItem, type DescriptionListProps, DetailLayout, type DetailLayoutProps, DetailPage, type DetailPageLinkProps, type DetailPageMetric, type DetailPageProps, type DetailPageTab, DialogClose, type DialogCloseEvent, type DialogCloseProps, type DiffEntry, type DiffKind, type DiffResolution, type DiffSide, type DiffSummary, DiffViewer, type DiffViewerLabels, type DiffViewerProps, type DiscardPromptLabels, type DisplayAttributes, type DisplayPreferenceValues, DisplayPreferences, type DisplayPreferencesLabels, type DisplayPreferencesProps, Drawer, type DrawerProps, ENUM_FILTER_OPERATORS, type EdgeLabelBox, EmptyState, type EmptyStateProps, EntityPicker, type EntityPickerLabels, type EntityPickerProps, type EntityPickerSearchError, type EntityPickerSearchResult, type EnumFilterOperator, ErrorState, type ErrorStateProps, EventRow, type EventRowProps, ExpandToggle, type ExpandToggleProps, FeaturedRundown, FeaturedRundownItem, type FeaturedRundownItemProps, type FeaturedRundownProps, FeaturedStage, type FeaturedStageProps, Field, type FieldProps, type FileRejection, type FileRejectionReason, type FileSizeFormatter, type FileSizeOptions, FileUpload, type FileUploadItem, type FileUploadLabels, type FileUploadProps, type FileUploadStatus, type FilterChoice, FilterEditor, type FilterEditorLabels, type FilterEditorProps, type FilterField, type FilterKind, type FilterOp, type FilterOption, FilterPopover, type FilterPopoverProps, type FilterPreset, type FilterSummaryLabels, type FilterValue, type FilterValueKind, FilteredEmptyState, type FlatNode, Flow, FlowNode, type FlowNodeProps, type FlowNodeState, type FlowProps, type FlowVariant, type FoldedText, ForbiddenState, HOUR, Heartbeat, type HeartbeatProps, type HeartbeatState, Highlighted, type HighlightedProps, type HsvColor, Inbox, InboxDetail, type InboxDetailProps, InboxItem, type InboxItemProps, InboxList, type InboxListProps, type InboxProps, InfoTip, type InfoTipProps, InlineEdit, type InlineEditEditorProps, type InlineEditErrorContext, type InlineEditLabels, type InlineEditProps, type InlineEditState, Input, InputGroup, type InputGroupProps, type InputProps, Inset, type InsetProps, InsightCard, type InsightCardLabels, type InsightCardProps, type InsightComparison, type InsightCoverage, type InsightKpi, type InsightStatus, type InsightStatusTone, type InsightTarget, type JsonPrimitive, type JsonValue, Kanban, KanbanCard, type KanbanCardProps, KanbanColumn, type KanbanColumnProps, KanbanDropLine, type KanbanDropLineProps, type KanbanMoveDirection, type KanbanProps, Kbd, KbdCombo, type KbdComboProps, type KbdPlatform, type KbdProps, type KeyShortcut, type KeyboardGrabDirection, type KeyboardGrabLabels, Label, type LabelObstacle, type LabelProps, type LaneCluster, type LaneInterval, type LanePlacement, type LayeredColumn, type LayeredEdgeClassification, type LayeredEdgeKind, type LayeredItem, type LayeredLayout, type LayeredLayoutOptions, type LayeredNavigationKey, type LayoutLaneOptions, type LayoutMonthSpansOptions, LicensePositionBar, type LicensePositionBarProps, Lightbox, type LightboxItem, type LightboxLabels, type LightboxOverlayContext, type LightboxProps, List, ListItem, type ListItemProps, type ListProps, LiveIndicator, type LiveIndicatorProps, LoadingState, type LoadingStateProps, LocaleSwitcher, type LocaleSwitcherLocale, type LocaleSwitcherProps, Mark, type MarkProps, type MatchBulkResult, MatchReview, type MatchReviewAction, type MatchReviewCandidate, type MatchReviewField, type MatchReviewLabels, type MatchReviewProps, type MatrixAxisItem, type MatrixBand, type MatrixCellState, type MatrixChange, MatrixHeatmap, type MatrixHeatmapCell, type MatrixHeatmapLabels, type MatrixHeatmapProps, MatrixInput, type MatrixInputLabels, type MatrixInputProps, type MatrixOption, type MatrixTone, type MatrixValue, Menu, MenuGroup, type MenuGroupProps, MenuItem, type MenuItemAttributes, MenuItemCheckbox, type MenuItemCheckboxProps, type MenuItemProps, MenuItemRadio, type MenuItemRadioProps, type MenuProps, MenuRadioGroup, type MenuRadioGroupProps, MenuSeparator, Meter, type MeterProps, type MeterTone, MetricInput, type MetricInputProps, Modal, type ModalProps, type MonthSpanGroup, type MonthSpanInput, type MonthSpanLayout, MotionList, type MotionListProps, type MotionPreference, type MoveProposal, NUMBER_FILTER_OPERATORS, type NavFavouriteItem, NavFavourites, type NavFavouritesLabels, type NavFavouritesProps, NavGroup, type NavGroupProps, NavItem, type NavItemProps, NewsLead, type NewsLeadProps, NotFoundState, Note, type NoteProps, type NoteTone, NoticeQueue, type NoticeQueueProps, type NumberFilterOperator, type OptimisticRollback, OrgChart, type OrgChartLabels, type OrgChartNode, type OrgChartProps, OtpInput, type OtpInputProps, PENDING_DELAY_MS, PENDING_MIN_VISIBLE_MS, type PackLanesOptions, type PackedLanes, PageHeader, type PageHeaderProps, PageIntro, type PageIntroProps, Pagination, type PaginationLabels, type PaginationProps, PasswordInput, type PasswordInputLabels, type PasswordInputProps, Peek, type PeekProps, type PillSize, type PillTone, type PillTreatment, Pipeline, type PipelineProps, PipelineStage, type PipelineStageProps, type PipelineStageState, type PlacedDaySpan, type PlacedEdgeLabel, type PlacedMonthSpan, type PlacedSpan, Placement, Popconfirm, type PopconfirmProps, Popover, type PopoverProps, type PositionedRelationshipNode, PresenceDot, type PresenceDotProps, type Primitive, PrintLayout, type PrintLayoutLabels, type PrintLayoutProps, PrintPageBreak, type PrintPageSize, PrintSignature, type PrintSignatureProps, Progress, type ProgressProps, PromptDialog, type PromptDialogProps, Prose, type ProseProps, QrCapacityError, QrCode, type QrCodeLabels, type QrCodeProps, type QrEncodeOptions, type QrErrorCorrection, type QrMatrix, QrScanner, type QrScannerDecoder, type QrScannerFrame, type QrScannerLabels, type QrScannerProps, type QrScannerStatus, RESULT_HOLD_MS, Radio, RadioCard, type RadioCardProps, RadioGroup, type RadioGroupProps, type RadioProps, type RelatedLinkItem, RelatedLinks, type RelatedLinksProps, RelationshipGraph, type RelationshipGraphArrow, type RelationshipGraphCluster, type RelationshipGraphEdge, type RelationshipGraphLabels, type RelationshipGraphLegendItem, type RelationshipGraphNode, type RelationshipGraphProps, type RelationshipGraphTone, RelativeTime, type RelativeTimeFormatContext, type RelativeTimeProps, type RelativeTimeUnit, type RelativeTimeValue, type ResourceDayItem, type ResourceDaySlot, type ResourceDaySlotOptions, ResourceGrid, type ResourceGridProps, type RgbColor, type RoutedEdge, type Row, RowAction, type RowActionLinkProps, type RowActionProps, RowActions, type RowActionsProps, type RuleAction, type RuleActionDefinition, RuleBuilder, type RuleBuilderLabels, type RuleBuilderProps, type RuleCheck, type RuleCondition, type RuleDefinition, type RuleFieldDefinition, type RuleGroup, type RuleOperatorDefinition, type RuleSummaryWords, type RuleValidationIssue, type RuleValidationOptions, type RuleValueEditorProps, SaveStatus, type SaveStatusLabels, type SaveStatusProps, type SaveStatusState, type SavedViewItem, SavedViewMenu, type SavedViewMenuProps, type SavedViewSection, type SchedulingAgendaGroup, type SchedulingAvailabilityKind, type SchedulingBand, SchedulingCalendar, type SchedulingCalendarDay, type SchedulingCalendarEntry, type SchedulingCalendarLabels, type SchedulingCalendarOverlay, type SchedulingCalendarProps, type SchedulingCalendarView, type SchedulingDatePart, type SchedulingEntryState, type SchedulingLegendItem, type SchedulingMarker, type SchedulingMarkerEmphasis, type SchedulingOverlayKind, type SchedulingOverlayPattern, type SchedulingResource, type SchedulingResourceSpan, type SchedulingSlotSelection, type SchedulingStatus, SchedulingTimeline, type SchedulingTimelineGroup, type SchedulingTimelineItem, type SchedulingTimelineLabels, type SchedulingTimelineLane, type SchedulingTimelineMarker, type SchedulingTimelineOverlay, type SchedulingTimelineOverlayKind, type SchedulingTimelineProps, SearchBar, type SearchBarLabels, type SearchBarProps, type SearchSegment, SearchSuggest, type SearchSuggestAction, type SearchSuggestOption, type SearchSuggestProps, SectionHead, type SectionHeadProps, type Segment, Segmented, SegmentedOption, type SegmentedOptionProps, type SegmentedProps, Select, type SelectAllState, type SelectGroup, type SelectLabels, type SelectOption, type SelectProps, type ShellNav, Sidebar, type SidebarProps, type SidebarSearch, SidebarSection, type SidebarSectionProps, Skeleton, type SkeletonProps, type SortDir, type SortDirection, type SortKey, SortableList, type SortableListItemContext, type SortableListLabels, type SortableListProps, Sparkline, type SparklineProps, Spinner, type SpinnerProps, StarButton, type StarButtonProps, Stat, StatLine, type StatLineItem, type StatLineProps, type StatProps, StatRow, type StatRowProps, type StatTrend, type StateVariant, StatusDot, type StatusDotProps, type StatusDotTone, StatusPill, type StatusPillProps, StatusRow, type StatusRowProps, StatusStrip, type StatusStripItem, type StatusStripProps, type StatusStripTone, Step, type StepProps, type StepState, type StepStateLabels, Steps, type StepsProps, SubNavItem, type SubNavItemProps, SuccessState, type SuccessStateProps, type SummarizeFilterOptions, Switch, type SwitchProps, type SystemDisplayPreferences, TEXT_FILTER_OPERATORS, TOAST_LEAVE_MS, TOP_LANE_CROSS_MIDNIGHT_MINUTES, Tab, TabPanel, type TabPanelProps, type TabProps, Table, type TableDensity, type TableProps, TableWrap, type TableWrapProps, Tabs, type TabsProps, TagInput, type TagInputLabels, type TagInputProps, Td, type TdProps, TextDiff, type TextDiffGranularity, type TextDiffLabels, type TextDiffLine, type TextDiffOp, type TextDiffOptions, type TextDiffProps, type TextDiffResult, type TextDiffRow, type TextDiffSegment, type TextFilterOperator, type TextScalePreference, Textarea, type TextareaProps, Th, type ThProps, type ThemePreference, ThemeSwitcher, type ThemeSwitcherProps, type TimeGridDayLayout, type TimeGridEntryContext, type TimeGridEntryInput, type TimeGridPart, type TimeGridSegment, type TimeInputProblem, TimePicker, type TimePickerLabels, type TimePickerProps, Timeline, TimelineItem, type TimelineItemProps, type TimelineProps, type TimelineRange, type TimelineScale, type TimelineSpan, type TimelineSubTick, type TimelineTick, Toast, type ToastAction, type ToastApi, type ToastDismissReason, type ToastKind, type ToastOptions, type ToastPromiseMessages, type ToastProps, type ToastRecord, type ToastStore, type ToastTone, Toaster, type ToasterProps, ToggleRow, type ToggleRowProps, Tooltip, type TooltipProps, Tr, type TrProps, Tree, type TreeLabels, type TreeLike, type TreeNavAction, type TreeNodeData, type TreeNodeProps, type TreeProps, type UixDateFormat, type UixLabels, UixLabelsProvider, type UixLabelsProviderProps, type UixLinkProps, type UixRenderLink, type UndoableToastOptions, type UseAnchoredPositionOptions, type UseDeferredReorderResult, type UseDisplayPreferencesOptions, type UseDisplayPreferencesResult, type UseKeyboardGrabOptions, type UseKeyboardGrabResult, type UseOptimisticValueOptions, type UseOptimisticValueResult, type UseTableOptions, type UseTableResult, type UseVirtualRowsOptions, type UseVirtualRowsResult, UserChip, type UserChipProps, ViewMenu, type ViewMenuColumn, type ViewMenuColumnLabels, type ViewMenuProps, type ViewState, type VirtualWindow, type ZonedDateSpan, type ZonedDayBounds, type ZonedDayShift, type ZonedDaySpan, type ZonedHourSlot, accountInitials, addCalendarDays, addCalendarMonths, addZonedDays, announcePolite, appendRuleNode, applyBrandProfile, applyDisplayAttributes, applyFilters, ariaKeyShortcuts, boundRelationshipGraph, buildMonthGrid, buildThreeWayDiff, cachedDateTimeFormat, canvasItemLimits, canvasItemsOverlap, canvasMoveTarget, canvasReadingOrder, canvasResizeTarget, canvasRowCount, clampCanvasItem, clampMetricValue, clampWidth, classifyLayeredEdges, clusterIdFor, codeGroups, compactCanvas, contrastRatio, createToastApi, createToastStore, cx, dashboardGridClassName, dashboardGridItemClassName, dateFilterBounds, dateOrder, datePattern, defaultTimelineStep, diffText, diffTokens, displayPreferencesScript, edgeLabelSize, emptyFilterValue, encodeQr, enumColumnFilter, enumerateDateKeys, enumerateDateSpan, fileKind, fileMatchesAccept, filterComboboxItems, filterComboboxOptions, filterCommandItems, findRuleNodeDepth, flashChanged, flattenTree, foldForSearch, formatCountdown, formatDateKey, formatFileSize, formatTimeKey, groupCommandItems, hexToRgb, highlightSegments, hsvToHex, hsvToRgb, isDateInRange, isDateUnavailable, isFilterEmpty, isOvernightRange, isRuleGroup, isTimeOutOfRange, isUnresolvedChoice, isValidDateKey, isValidTimeKey, itemDaySpan, joinDateTime, layeredNeighbor, layoutDaySpans, layoutLane, layoutLayeredGraph, layoutMonthSpans, layoutRelationshipGraph, layoutResourceColumn, layoutTimeGridDay, mapRuleGroup, matchFilter, matchFilterPreset, meetsContrast, mergePinned, minutesToTime, moveCanvasItem, moveRuleNode, multiSort, nextSortDir, normalizeCanvas, normalizeHex, orgChartInitials, orgChartZoomStep, packLanes, parseDateInput, parseDateValue, parseDisplayPreferences, parseMetricValue, parseTimeInput, parseView, partitionFiles, pixelsToMs, placeCanvasItem, placeId, placeSpan, placesInTopLane, prefersReducedMotion, proposeMove, qrDataCapacity, qrPath, qrVersionFor, rankOverflow, readSystemDisplayPreferences, relationshipNeighbors, relativeTimeValue, removeRuleNode, renderPlainLink, reorder, resizeCanvasItem, resolveDisplayAttributes, resolveFilterLabels, resourceDayGaps, resourceDaySlots, restoreBrandProfile, rgbToHex, rgbToHsv, ruleDepth, schedulingGridDays, searchRows, searchSegments, selectAllState, selectRangeDate, separateEdgeLabels, serializeView, setRuleCombinator, settleDrop, shiftSpan, shouldVirtualize, snapToStep, splitDateTime, startOfMonth, stepMetricValue, stepTime, summarizeDiff, summarizeFilter, summarizeRule, telHref, textDiffRows, timePartEnds, timeSlots, timeToMinutes, timeZoneName, timelineRepeatedHourOffset, timelineStepDelta, timelineSubTicks, timelineTicks, toDateKey, toast, toggleId, togglePage, toggleSort, tokenizeText, traverseRelationshipNode, treeNav, useAnchoredPosition, useArrive, useChangeHighlight, useDeferredReorder, useDelayedPending, useDialog, useDisplayPreferences, useKeyboardGrab, useOptimisticValue, useReducedMotion, useSlidingIndicator, useTable, useUixLabels, useVirtualRows, uses12Hour, validateRuleDefinition, virtualWindow, wrapEdgeLabel, zonedDateKey, zonedDateSpan, zonedDayBounds, zonedDaySpan, zonedHourSlots, zonedTimeOfDay };
|
|
10169
|
+
export { type AccessStateProps, AccountMenu, type AccountMenuLabels, type AccountMenuProps, type AccountMenuUser, Alert, type AlertProps, type AlertTone, AppShell, type AppShellProps, type AppliedBrandProfileSnapshot, Arrive, ArriveItem, type ArriveItemProps, type ArriveProps, type ArriveState, type AsyncOperationState, AsyncOperationStatus, type AsyncOperationStatusProps, Attachment, type AttachmentLabels, AttachmentList, type AttachmentListProps, type AttachmentProps, AuditLog, type AuditLogAction, type AuditLogEvent, type AuditLogFilters, type AuditLogLabels, type AuditLogProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarPresence, type AvatarProps, BarList, type BarListItem, type BarListProps, type BoundedRelationshipGraph, type BrandProfile, BrandProfileEditor, type BrandProfileEditorLabels, type BrandProfileEditorProps, type BrandProfileLogo, type BrandProfileTypography, BrandProfiles, type BreadcrumbItem, Breadcrumbs, type BreadcrumbsProps, BuilderCanvas, type BuilderCanvasItem, type BuilderCanvasLabels, type BuilderCanvasProps, type BuilderPaletteItem, BulkBar, type BulkBarProps, Bullet, type BulletProps, BusyRegion, type BusyRegionProps, Button, ButtonGroup, type ButtonGroupProps, ButtonLink, type ButtonLinkProps, type ButtonProps, type ButtonResult, type ButtonResultLabels, type ButtonSize, type ButtonVariant, type CalendarDay, type CalendarWeekday, Card, CardLink, type CardLinkProps, type CardProps, CellStrong, CellSub, type CellSubProps, ChangeHighlight, type ChangeHighlightOptions, type ChangeHighlightProps, ChartCard, type ChartCardProps, Checkbox, CheckboxGroup, type CheckboxGroupProps, type CheckboxProps, Chip, ChipGroup, type ChipGroupProps, type ChipProps, CodeDisplay, type CodeDisplayLabels, type CodeDisplayProps, CollapsibleSection, type CollapsibleSectionProps, ColorPicker, type ColorPickerLabels, type ColorPickerProps, type ColumnFilter, Combobox, type ComboboxGroup, type ComboboxOption, type ComboboxProps, CommandGroup, type CommandGroupProps, CommandItem, type CommandItemProps, CommandPalette, type CommandPaletteGroup, type CommandPaletteItem, type CommandPaletteProps, Comment, type CommentProps, Comments, type CommentsProps, Composer, ComposerBar, type ComposerBarProps, type ComposerProps, type ConfirmButtonProps, ConfirmDialog, type ConfirmDialogProps, ContactCard, type ContactCardLabels, type ContactCardProps, type ContactCardState, ContentList, ContentListItem, type ContentListItemProps, type ContentListProps, type ContrastPreference, CopyButton, type CopyButtonProps, Count, type CountProps, DASHBOARD_CANVAS_COLUMNS, DATE_FILTER_OPERATORS, DAY, DEFAULT_ACCOUNT_MENU_LABELS, DEFAULT_ATTACHMENT_LABELS, DEFAULT_AUDIT_LOG_LABELS, DEFAULT_BRAND_PROFILE_EDITOR_LABELS, DEFAULT_BUILDER_CANVAS_LABELS, DEFAULT_BUTTON_RESULT_LABELS, DEFAULT_CODE_DISPLAY_LABELS, DEFAULT_COLOR_PICKER_LABELS, DEFAULT_CONTACT_CARD_LABELS, DEFAULT_DASHBOARD_CANVAS_LABELS, DEFAULT_DATA_WORKSPACE_LABELS, DEFAULT_DATE_PICKER_LABELS, DEFAULT_DATE_RANGE_PICKER_LABELS, DEFAULT_DATE_TIME_PICKER_LABELS, DEFAULT_DIFF_VIEWER_LABELS, DEFAULT_DISPLAY_PREFERENCES, DEFAULT_DISPLAY_PREFERENCES_LABELS, DEFAULT_ENTITY_PICKER_LABELS, DEFAULT_FILE_DROP_LABELS, DEFAULT_FILE_KIND_LABELS, DEFAULT_FILE_ROW_LABELS, DEFAULT_FILE_UPLOAD_LABELS, DEFAULT_FILTER_EDITOR_LABELS, DEFAULT_FILTER_SUMMARY_LABELS, DEFAULT_INLINE_EDIT_LABELS, DEFAULT_INSIGHT_CARD_LABELS, DEFAULT_KEYBOARD_GRAB_LABELS, DEFAULT_LIGHTBOX_LABELS, DEFAULT_MATCH_REVIEW_LABELS, DEFAULT_ORG_CHART_LABELS, DEFAULT_PAGINATION_LABELS, DEFAULT_PASSWORD_INPUT_LABELS, DEFAULT_PRESENCE_LABELS, DEFAULT_PRINT_LAYOUT_LABELS, DEFAULT_QR_CODE_LABELS, DEFAULT_QR_SCANNER_LABELS, DEFAULT_RELATIONSHIP_GRAPH_LABELS, DEFAULT_RULE_BUILDER_LABELS, DEFAULT_RULE_SUMMARY_WORDS, DEFAULT_RULE_VALIDATION_MESSAGES, DEFAULT_SAVE_STATUS_LABELS, DEFAULT_SCHEDULING_CALENDAR_LABELS, DEFAULT_SCHEDULING_TIMELINE_LABELS, DEFAULT_SORTABLE_LIST_LABELS, DEFAULT_STEP_STATE_LABELS, DEFAULT_TAG_INPUT_LABELS, DEFAULT_TEXT_DIFF_LABELS, DEFAULT_TIME_PICKER_LABELS, DEFAULT_TREE_LABELS, DISPLAY_PREFERENCES_STORAGE_KEY, DISPLAY_PREFERENCE_OPTIONS, DashboardCanvas, type DashboardCanvasChange, type DashboardCanvasDirection, type DashboardCanvasGap, type DashboardCanvasItem, type DashboardCanvasLabels, type DashboardCanvasPlacement, type DashboardCanvasProps, type DashboardCanvasResize, DashboardGrid, type DashboardGridBreakpoint, type DashboardGridColumnCount, type DashboardGridColumns, type DashboardGridGap, DashboardGridItem, type DashboardGridItemProps, type DashboardGridProps, type DashboardGridSpan, DataWorkspace, type DataWorkspaceColumn, type DataWorkspaceGroup, type DataWorkspaceIdColumn, type DataWorkspaceLabels, type DataWorkspacePagination, type DataWorkspaceProps, type DataWorkspaceRowActionsContext, type DataWorkspaceSort, type DataWorkspaceSortState, type DataWorkspaceSortValue, type DataWorkspaceVirtualize, type DateFilterOperator, type DateInputProblem, type DatePart, DatePicker, type DatePickerLabels, type DatePickerProps, DateRangePicker, type DateRangePickerLabels, type DateRangePickerProps, type DateRangeValue, DateTimePicker, type DateTimePickerLabels, type DateTimePickerProps, type DaySpanLayout, type DelayedPendingOptions, type DensityPreference, DescriptionItem, type DescriptionItemProps, DescriptionList, type DescriptionListItem, type DescriptionListProps, DetailLayout, type DetailLayoutProps, DetailPage, type DetailPageLinkProps, type DetailPageMetric, type DetailPageProps, type DetailPageTab, DialogClose, type DialogCloseEvent, type DialogCloseProps, type DiffEntry, type DiffKind, type DiffResolution, type DiffSide, type DiffSummary, DiffViewer, type DiffViewerLabels, type DiffViewerProps, type DiscardPromptLabels, type DisplayAttributes, type DisplayPreferenceValues, DisplayPreferences, type DisplayPreferencesLabels, type DisplayPreferencesProps, Drawer, type DrawerProps, ENUM_FILTER_OPERATORS, type EdgeLabelBox, EmptyState, type EmptyStateProps, EntityPicker, type EntityPickerLabels, type EntityPickerProps, type EntityPickerSearchError, type EntityPickerSearchResult, type EnumFilterOperator, ErrorState, type ErrorStateProps, EventRow, type EventRowProps, ExpandToggle, type ExpandToggleProps, FILE_DROP_LABELS_EN, FILE_KINDS, FILE_KIND_EXTENSIONS, FILE_KIND_GLYPHS, FILE_KIND_LABELS_EN, FILE_ROW_LABELS_EN, FeaturedRundown, FeaturedRundownItem, type FeaturedRundownItemProps, type FeaturedRundownProps, FeaturedStage, type FeaturedStageProps, Field, type FieldProps, FileDrop, type FileDropLabels, type FileDropProps, type FileKind, FileKindIcon, type FileKindIconProps, type FileKindIconSize, type FileKindLabels, type FileRejection, type FileRejectionReason, FileRow, type FileRowLabels, type FileRowProps, type FileRowState, type FileSizeFormatter, type FileSizeOptions, FileUpload, type FileUploadItem, type FileUploadLabels, type FileUploadProps, type FileUploadStatus, type FilterChoice, FilterEditor, type FilterEditorLabels, type FilterEditorProps, type FilterField, type FilterKind, type FilterOp, type FilterOption, FilterPopover, type FilterPopoverProps, type FilterPreset, type FilterSummaryLabels, type FilterValue, type FilterValueKind, FilteredEmptyState, type FlatNode, Flow, FlowNode, type FlowNodeProps, type FlowNodeState, type FlowProps, type FlowVariant, type FoldedText, ForbiddenState, HOUR, Heartbeat, type HeartbeatProps, type HeartbeatState, Highlighted, type HighlightedProps, type HsvColor, Inbox, InboxDetail, type InboxDetailProps, InboxItem, type InboxItemProps, InboxList, type InboxListProps, type InboxProps, InfoTip, type InfoTipProps, InlineEdit, type InlineEditEditorProps, type InlineEditErrorContext, type InlineEditLabels, type InlineEditProps, type InlineEditState, Input, InputGroup, type InputGroupProps, type InputProps, Inset, type InsetProps, InsightCard, type InsightCardLabels, type InsightCardProps, type InsightComparison, type InsightCoverage, type InsightKpi, type InsightStatus, type InsightStatusTone, type InsightTarget, type JsonPrimitive, type JsonValue, Kanban, KanbanCard, type KanbanCardProps, KanbanColumn, type KanbanColumnProps, KanbanDropLine, type KanbanDropLineProps, type KanbanMoveDirection, type KanbanProps, Kbd, KbdCombo, type KbdComboProps, type KbdPlatform, type KbdProps, type KeyShortcut, type KeyboardGrabDirection, type KeyboardGrabLabels, Label, type LabelObstacle, type LabelProps, type LaneCluster, type LaneInterval, type LanePlacement, type LayeredColumn, type LayeredEdgeClassification, type LayeredEdgeKind, type LayeredItem, type LayeredLayout, type LayeredLayoutOptions, type LayeredNavigationKey, type LayoutLaneOptions, type LayoutMonthSpansOptions, type LegacyFileKind, LicensePositionBar, type LicensePositionBarProps, Lightbox, type LightboxItem, type LightboxLabels, type LightboxOverlayContext, type LightboxProps, List, ListItem, type ListItemProps, type ListProps, LiveIndicator, type LiveIndicatorProps, LoadingState, type LoadingStateProps, LocaleSwitcher, type LocaleSwitcherLocale, type LocaleSwitcherProps, Mark, type MarkProps, type MatchBulkResult, MatchReview, type MatchReviewAction, type MatchReviewCandidate, type MatchReviewField, type MatchReviewLabels, type MatchReviewProps, type MatrixAxisItem, type MatrixBand, type MatrixCellState, type MatrixChange, MatrixHeatmap, type MatrixHeatmapCell, type MatrixHeatmapLabels, type MatrixHeatmapProps, MatrixInput, type MatrixInputLabels, type MatrixInputProps, type MatrixOption, type MatrixTone, type MatrixValue, Menu, MenuGroup, type MenuGroupProps, MenuItem, type MenuItemAttributes, MenuItemCheckbox, type MenuItemCheckboxProps, type MenuItemProps, MenuItemRadio, type MenuItemRadioProps, type MenuProps, MenuRadioGroup, type MenuRadioGroupProps, MenuSeparator, Meter, type MeterProps, type MeterTone, MetricInput, type MetricInputProps, Modal, type ModalProps, type MonthSpanGroup, type MonthSpanInput, type MonthSpanLayout, MotionList, type MotionListProps, type MotionPreference, type MoveProposal, NUMBER_FILTER_OPERATORS, type NavFavouriteItem, NavFavourites, type NavFavouritesLabels, type NavFavouritesProps, NavGroup, type NavGroupProps, NavItem, type NavItemProps, NewsLead, type NewsLeadProps, NotFoundState, Note, type NoteProps, type NoteTone, NoticeQueue, type NoticeQueueProps, type NumberFilterOperator, type OptimisticRollback, OrgChart, type OrgChartLabels, type OrgChartNode, type OrgChartProps, OtpInput, type OtpInputProps, PENDING_DELAY_MS, PENDING_MIN_VISIBLE_MS, type PackLanesOptions, type PackedLanes, PageHeader, type PageHeaderProps, PageIntro, type PageIntroProps, Pagination, type PaginationLabels, type PaginationProps, PasswordInput, type PasswordInputLabels, type PasswordInputProps, Peek, type PeekProps, type PillSize, type PillTone, type PillTreatment, Pipeline, type PipelineProps, PipelineStage, type PipelineStageProps, type PipelineStageState, type PlacedDaySpan, type PlacedEdgeLabel, type PlacedMonthSpan, type PlacedSpan, Placement, Popconfirm, type PopconfirmProps, Popover, type PopoverProps, type PositionedRelationshipNode, PresenceDot, type PresenceDotProps, type Primitive, PrintLayout, type PrintLayoutLabels, type PrintLayoutProps, PrintPageBreak, type PrintPageSize, PrintSignature, type PrintSignatureProps, Progress, type ProgressProps, PromptDialog, type PromptDialogProps, Prose, type ProseProps, QrCapacityError, QrCode, type QrCodeLabels, type QrCodeProps, type QrEncodeOptions, type QrErrorCorrection, type QrMatrix, QrScanner, type QrScannerDecoder, type QrScannerFrame, type QrScannerLabels, type QrScannerProps, type QrScannerStatus, RESULT_HOLD_MS, Radio, RadioCard, type RadioCardProps, RadioGroup, type RadioGroupProps, type RadioProps, type RelatedLinkItem, RelatedLinks, type RelatedLinksProps, RelationshipGraph, type RelationshipGraphArrow, type RelationshipGraphCluster, type RelationshipGraphEdge, type RelationshipGraphLabels, type RelationshipGraphLegendItem, type RelationshipGraphNode, type RelationshipGraphProps, type RelationshipGraphTone, RelativeTime, type RelativeTimeFormatContext, type RelativeTimeProps, type RelativeTimeUnit, type RelativeTimeValue, type ResourceDayItem, type ResourceDaySlot, type ResourceDaySlotOptions, ResourceGrid, type ResourceGridProps, type RgbColor, type RoutedEdge, type Row, RowAction, type RowActionLinkProps, type RowActionProps, RowActions, type RowActionsProps, type RuleAction, type RuleActionDefinition, RuleBuilder, type RuleBuilderLabels, type RuleBuilderProps, type RuleCheck, type RuleCondition, type RuleDefinition, type RuleFieldDefinition, type RuleGroup, type RuleOperatorDefinition, type RuleSummaryWords, type RuleValidationIssue, type RuleValidationOptions, type RuleValueEditorProps, SaveStatus, type SaveStatusLabels, type SaveStatusProps, type SaveStatusState, type SavedViewItem, SavedViewMenu, type SavedViewMenuProps, type SavedViewSection, type SchedulingAgendaGroup, type SchedulingAvailabilityKind, type SchedulingBand, SchedulingCalendar, type SchedulingCalendarDay, type SchedulingCalendarEntry, type SchedulingCalendarLabels, type SchedulingCalendarOverlay, type SchedulingCalendarProps, type SchedulingCalendarView, type SchedulingDatePart, type SchedulingEntryState, type SchedulingLegendItem, type SchedulingMarker, type SchedulingMarkerEmphasis, type SchedulingOverlayKind, type SchedulingOverlayPattern, type SchedulingResource, type SchedulingResourceSpan, type SchedulingSlotSelection, type SchedulingStatus, SchedulingTimeline, type SchedulingTimelineGroup, type SchedulingTimelineItem, type SchedulingTimelineLabels, type SchedulingTimelineLane, type SchedulingTimelineMarker, type SchedulingTimelineOverlay, type SchedulingTimelineOverlayKind, type SchedulingTimelineProps, SearchBar, type SearchBarLabels, type SearchBarProps, type SearchSegment, SearchSuggest, type SearchSuggestAction, type SearchSuggestOption, type SearchSuggestProps, SectionHead, type SectionHeadProps, type Segment, Segmented, SegmentedOption, type SegmentedOptionProps, type SegmentedProps, Select, type SelectAllState, type SelectGroup, type SelectLabels, type SelectOption, type SelectProps, type ShellNav, Sidebar, type SidebarProps, type SidebarSearch, SidebarSection, type SidebarSectionProps, Skeleton, type SkeletonProps, type SortDir, type SortDirection, type SortKey, SortableList, type SortableListItemContext, type SortableListLabels, type SortableListProps, Sparkline, type SparklineProps, Spinner, type SpinnerProps, StarButton, type StarButtonProps, Stat, StatLine, type StatLineItem, type StatLineProps, type StatProps, StatRow, type StatRowProps, type StatTrend, type StateVariant, StatusDot, type StatusDotProps, type StatusDotTone, StatusPill, type StatusPillProps, StatusRow, type StatusRowProps, StatusStrip, type StatusStripItem, type StatusStripProps, type StatusStripTone, Step, type StepProps, type StepState, type StepStateLabels, Steps, type StepsProps, SubNavItem, type SubNavItemProps, SuccessState, type SuccessStateProps, type SummarizeFilterOptions, Switch, type SwitchProps, type SystemDisplayPreferences, TEXT_FILTER_OPERATORS, TOAST_LEAVE_MS, TOP_LANE_CROSS_MIDNIGHT_MINUTES, Tab, TabPanel, type TabPanelProps, type TabProps, Table, type TableDensity, type TableProps, TableWrap, type TableWrapProps, Tabs, type TabsProps, TagInput, type TagInputLabels, type TagInputProps, Td, type TdProps, TextDiff, type TextDiffGranularity, type TextDiffLabels, type TextDiffLine, type TextDiffOp, type TextDiffOptions, type TextDiffProps, type TextDiffResult, type TextDiffRow, type TextDiffSegment, type TextFilterOperator, type TextScalePreference, Textarea, type TextareaProps, Th, type ThProps, type ThemePreference, ThemeSwitcher, type ThemeSwitcherProps, type TimeGridDayLayout, type TimeGridEntryContext, type TimeGridEntryInput, type TimeGridPart, type TimeGridSegment, type TimeInputProblem, TimePicker, type TimePickerLabels, type TimePickerProps, Timeline, TimelineItem, type TimelineItemProps, type TimelineProps, type TimelineRange, type TimelineScale, type TimelineSpan, type TimelineSubTick, type TimelineTick, Toast, type ToastAction, type ToastApi, type ToastDismissReason, type ToastKind, type ToastOptions, type ToastPromiseMessages, type ToastProps, type ToastRecord, type ToastStore, type ToastTone, Toaster, type ToasterProps, ToggleRow, type ToggleRowProps, Tooltip, type TooltipProps, Tr, type TrProps, Tree, type TreeLabels, type TreeLike, type TreeNavAction, type TreeNodeData, type TreeNodeProps, type TreeProps, type UixDateFormat, type UixLabels, UixLabelsProvider, type UixLabelsProviderProps, type UixLinkProps, type UixRenderLink, type UndoableToastOptions, type UseAnchoredPositionOptions, type UseDeferredReorderResult, type UseDisplayPreferencesOptions, type UseDisplayPreferencesResult, type UseKeyboardGrabOptions, type UseKeyboardGrabResult, type UseOptimisticValueOptions, type UseOptimisticValueResult, type UseTableOptions, type UseTableResult, type UseVirtualRowsOptions, type UseVirtualRowsResult, UserChip, type UserChipProps, ViewMenu, type ViewMenuColumn, type ViewMenuColumnLabels, type ViewMenuProps, type ViewState, type VirtualWindow, type ZonedDateSpan, type ZonedDayBounds, type ZonedDayShift, type ZonedDaySpan, type ZonedHourSlot, accountInitials, addCalendarDays, addCalendarMonths, addZonedDays, announcePolite, appendRuleNode, applyBrandProfile, applyDisplayAttributes, applyFilters, ariaKeyShortcuts, boundRelationshipGraph, buildMonthGrid, buildThreeWayDiff, cachedDateTimeFormat, canvasItemLimits, canvasItemsOverlap, canvasMoveTarget, canvasReadingOrder, canvasResizeTarget, canvasRowCount, clampCanvasItem, clampMetricValue, clampWidth, classifyLayeredEdges, clusterIdFor, codeGroups, compactCanvas, contrastRatio, createToastApi, createToastStore, cx, dashboardGridClassName, dashboardGridItemClassName, dateFilterBounds, dateOrder, datePattern, defaultTimelineStep, diffText, diffTokens, displayPreferencesScript, edgeLabelSize, emptyFilterValue, encodeQr, enumColumnFilter, enumerateDateKeys, enumerateDateSpan, fileExtension, fileKind, fileMatchesAccept, fileTypeLabel, filterComboboxItems, filterComboboxOptions, filterCommandItems, findRuleNodeDepth, flashChanged, flattenTree, foldForSearch, formatCountdown, formatDateKey, formatFileSize, formatTimeKey, groupCommandItems, hexToRgb, highlightSegments, hsvToHex, hsvToRgb, isDateInRange, isDateUnavailable, isFilterEmpty, isOvernightRange, isRuleGroup, isTimeOutOfRange, isUnresolvedChoice, isValidDateKey, isValidTimeKey, itemDaySpan, joinDateTime, layeredNeighbor, layoutDaySpans, layoutLane, layoutLayeredGraph, layoutMonthSpans, layoutRelationshipGraph, layoutResourceColumn, layoutTimeGridDay, mapRuleGroup, matchFilter, matchFilterPreset, meetsContrast, mergePinned, minutesToTime, moveCanvasItem, moveRuleNode, multiSort, nextSortDir, normalizeCanvas, normalizeHex, orgChartInitials, orgChartZoomStep, packLanes, parseDateInput, parseDateValue, parseDisplayPreferences, parseMetricValue, parseTimeInput, parseView, partitionFiles, pixelsToMs, placeCanvasItem, placeId, placeSpan, placesInTopLane, prefersReducedMotion, proposeMove, qrDataCapacity, qrPath, qrVersionFor, rankOverflow, readSystemDisplayPreferences, relationshipNeighbors, relativeTimeValue, removeRuleNode, renderPlainLink, reorder, resizeCanvasItem, resolveDisplayAttributes, resolveFilterLabels, resourceDayGaps, resourceDaySlots, restoreBrandProfile, rgbToHex, rgbToHsv, ruleDepth, schedulingGridDays, searchRows, searchSegments, selectAllState, selectRangeDate, separateEdgeLabels, serializeView, setRuleCombinator, settleDrop, shiftSpan, shouldVirtualize, snapToStep, splitDateTime, startOfMonth, stepMetricValue, stepTime, summarizeDiff, summarizeFilter, summarizeRule, telHref, textDiffRows, timePartEnds, timeSlots, timeToMinutes, timeZoneName, timelineRepeatedHourOffset, timelineStepDelta, timelineSubTicks, timelineTicks, toDateKey, toast, toggleId, togglePage, toggleSort, tokenizeText, traverseRelationshipNode, treeNav, useAnchoredPosition, useArrive, useChangeHighlight, useDeferredReorder, useDelayedPending, useDialog, useDisplayPreferences, useKeyboardGrab, useOptimisticValue, useReducedMotion, useSlidingIndicator, useTable, useUixLabels, useVirtualRows, uses12Hour, validateRuleDefinition, virtualWindow, wrapEdgeLabel, zonedDateKey, zonedDateSpan, zonedDayBounds, zonedDaySpan, zonedHourSlots, zonedTimeOfDay };
|
package/dist/index.d.ts
CHANGED
|
@@ -71,7 +71,10 @@ export { DEFAULT_PRINT_LAYOUT_LABELS, PrintLayout, PrintLayoutLabels, PrintLayou
|
|
|
71
71
|
export { NavFavouriteItem, NavFavourites, NavFavouritesLabels, NavFavouritesProps } from './components/NavFavourites.js';
|
|
72
72
|
export { DEFAULT_FILE_UPLOAD_LABELS, FileUpload, FileUploadItem, FileUploadLabels, FileUploadProps, FileUploadStatus } from './components/FileUpload.js';
|
|
73
73
|
export { Attachment, AttachmentList, AttachmentListProps, AttachmentProps } from './components/Attachment.js';
|
|
74
|
-
export { FileRejection, FileRejectionReason, FileSizeFormatter, FileSizeOptions, fileKind, fileMatchesAccept, formatFileSize, partitionFiles } from './file-model.js';
|
|
74
|
+
export { DEFAULT_FILE_KIND_LABELS, FILE_KINDS, FILE_KIND_EXTENSIONS, FILE_KIND_LABELS_EN, FileKind, FileKindLabels, FileRejection, FileRejectionReason, FileSizeFormatter, FileSizeOptions, LegacyFileKind, fileExtension, fileKind, fileMatchesAccept, fileTypeLabel, formatFileSize, partitionFiles } from './file-model.js';
|
|
75
|
+
export { FILE_KIND_GLYPHS, FileKindIcon, FileKindIconProps, FileKindIconSize } from './components/FileKindIcon.js';
|
|
76
|
+
export { DEFAULT_FILE_ROW_LABELS, FILE_ROW_LABELS_EN, FileRow, FileRowLabels, FileRowProps, FileRowState } from './components/FileRow.js';
|
|
77
|
+
export { DEFAULT_FILE_DROP_LABELS, FILE_DROP_LABELS_EN, FileDrop, FileDropLabels, FileDropProps } from './components/FileDrop.js';
|
|
75
78
|
export { Alert, AlertProps, AlertTone } from './components/Alert.js';
|
|
76
79
|
export { Spinner, SpinnerProps } from './components/Spinner.js';
|
|
77
80
|
export { Heartbeat, HeartbeatProps, HeartbeatState, LiveIndicator, LiveIndicatorProps } from './components/Heartbeat.js';
|
|
@@ -164,3 +167,4 @@ export { HsvColor, RgbColor, contrastRatio, hexToRgb, hsvToHex, hsvToRgb, meetsC
|
|
|
164
167
|
export { AttachmentLabels, DEFAULT_ATTACHMENT_LABELS } from './attachment-labels.js';
|
|
165
168
|
export { SelectGroup, SelectOption } from './select-model.js';
|
|
166
169
|
import 'react';
|
|
170
|
+
import './icons/types.js';
|
package/dist/index.js
CHANGED
|
@@ -94,7 +94,21 @@ import { PrintLayout, PrintSignature, PrintPageBreak, DEFAULT_PRINT_LAYOUT_LABEL
|
|
|
94
94
|
import { NavFavourites } from "./components/NavFavourites.js";
|
|
95
95
|
import { FileUpload, DEFAULT_FILE_UPLOAD_LABELS } from "./components/FileUpload.js";
|
|
96
96
|
import { Attachment, AttachmentList, DEFAULT_ATTACHMENT_LABELS } from "./components/Attachment.js";
|
|
97
|
-
import {
|
|
97
|
+
import {
|
|
98
|
+
fileKind,
|
|
99
|
+
fileMatchesAccept,
|
|
100
|
+
formatFileSize,
|
|
101
|
+
partitionFiles,
|
|
102
|
+
fileExtension,
|
|
103
|
+
fileTypeLabel,
|
|
104
|
+
FILE_KINDS,
|
|
105
|
+
FILE_KIND_EXTENSIONS,
|
|
106
|
+
DEFAULT_FILE_KIND_LABELS,
|
|
107
|
+
FILE_KIND_LABELS_EN
|
|
108
|
+
} from "./file-model.js";
|
|
109
|
+
import { FileKindIcon, FILE_KIND_GLYPHS } from "./components/FileKindIcon.js";
|
|
110
|
+
import { FileRow, DEFAULT_FILE_ROW_LABELS, FILE_ROW_LABELS_EN } from "./components/FileRow.js";
|
|
111
|
+
import { FileDrop, DEFAULT_FILE_DROP_LABELS, FILE_DROP_LABELS_EN } from "./components/FileDrop.js";
|
|
98
112
|
import { Alert } from "./components/Alert.js";
|
|
99
113
|
import { Spinner } from "./components/Spinner.js";
|
|
100
114
|
import { Heartbeat, LiveIndicator } from "./components/Heartbeat.js";
|
|
@@ -370,6 +384,9 @@ export {
|
|
|
370
384
|
DEFAULT_DISPLAY_PREFERENCES,
|
|
371
385
|
DEFAULT_DISPLAY_PREFERENCES_LABELS,
|
|
372
386
|
DEFAULT_ENTITY_PICKER_LABELS,
|
|
387
|
+
DEFAULT_FILE_DROP_LABELS,
|
|
388
|
+
DEFAULT_FILE_KIND_LABELS,
|
|
389
|
+
DEFAULT_FILE_ROW_LABELS,
|
|
373
390
|
DEFAULT_FILE_UPLOAD_LABELS,
|
|
374
391
|
DEFAULT_FILTER_EDITOR_LABELS,
|
|
375
392
|
DEFAULT_FILTER_SUMMARY_LABELS,
|
|
@@ -421,10 +438,19 @@ export {
|
|
|
421
438
|
ErrorState,
|
|
422
439
|
EventRow,
|
|
423
440
|
ExpandToggle,
|
|
441
|
+
FILE_DROP_LABELS_EN,
|
|
442
|
+
FILE_KINDS,
|
|
443
|
+
FILE_KIND_EXTENSIONS,
|
|
444
|
+
FILE_KIND_GLYPHS,
|
|
445
|
+
FILE_KIND_LABELS_EN,
|
|
446
|
+
FILE_ROW_LABELS_EN,
|
|
424
447
|
FeaturedRundown,
|
|
425
448
|
FeaturedRundownItem,
|
|
426
449
|
FeaturedStage,
|
|
427
450
|
Field,
|
|
451
|
+
FileDrop,
|
|
452
|
+
FileKindIcon,
|
|
453
|
+
FileRow,
|
|
428
454
|
FileUpload,
|
|
429
455
|
FilterEditor,
|
|
430
456
|
FilterPopover,
|
|
@@ -615,8 +641,10 @@ export {
|
|
|
615
641
|
encodeQr,
|
|
616
642
|
enumerateDateKeys,
|
|
617
643
|
enumerateDateSpan,
|
|
644
|
+
fileExtension,
|
|
618
645
|
fileKind,
|
|
619
646
|
fileMatchesAccept,
|
|
647
|
+
fileTypeLabel,
|
|
620
648
|
filterComboboxItems,
|
|
621
649
|
filterComboboxOptions,
|
|
622
650
|
filterCommandItems,
|
package/dist/labels-context.d.ts
CHANGED
|
@@ -12,6 +12,9 @@ import { SelectLabels } from './components/Select.js';
|
|
|
12
12
|
import { RuleBuilderLabels } from './components/RuleBuilder.js';
|
|
13
13
|
import { FileUploadLabels } from './components/FileUpload.js';
|
|
14
14
|
import { AttachmentLabels } from './attachment-labels.js';
|
|
15
|
+
import { FileKindLabels } from './file-model.js';
|
|
16
|
+
import { FileRowLabels } from './components/FileRow.js';
|
|
17
|
+
import { FileDropLabels } from './components/FileDrop.js';
|
|
15
18
|
import { EntityPickerLabels } from './components/EntityPicker.js';
|
|
16
19
|
import { TreeLabels } from './components/Tree.js';
|
|
17
20
|
import { OrgChartLabels } from './components/OrgChart.js';
|
|
@@ -47,7 +50,6 @@ import './text-diff-model.js';
|
|
|
47
50
|
import './select-model.js';
|
|
48
51
|
import './json-value.js';
|
|
49
52
|
import './rule-builder-model.js';
|
|
50
|
-
import './file-model.js';
|
|
51
53
|
import './components/SearchSuggest.js';
|
|
52
54
|
import './components/Button.js';
|
|
53
55
|
import './components/Kbd.js';
|
|
@@ -177,6 +179,12 @@ interface UixLabels {
|
|
|
177
179
|
select?: Partial<SelectLabels>;
|
|
178
180
|
ruleBuilder?: Partial<RuleBuilderLabels>;
|
|
179
181
|
fileUpload?: Partial<FileUploadLabels>;
|
|
182
|
+
/** `FileRow` (file kit 2.57): German by default; `FILE_ROW_LABELS_EN` for English. */
|
|
183
|
+
fileRow?: Partial<FileRowLabels>;
|
|
184
|
+
/** `FileDrop` (file kit 2.57): German by default; `FILE_DROP_LABELS_EN` for English. */
|
|
185
|
+
fileDrop?: Partial<FileDropLabels>;
|
|
186
|
+
/** The kind names `FileRow` and `FileDrop` show: German by default; `FILE_KIND_LABELS_EN` for English. */
|
|
187
|
+
fileKinds?: Partial<FileKindLabels>;
|
|
180
188
|
attachment?: Partial<AttachmentLabels>;
|
|
181
189
|
/** `TagInput` (HAR-1377): the chips' × names, the announcements and the refusals. */
|
|
182
190
|
tagInput?: Partial<TagInputLabels>;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { ForwardRefExoticComponent, SVGProps, RefAttributes } from 'react';
|
|
2
|
+
|
|
3
|
+
/** One glyph: SVG child elements as `[tag, attributes]`, drawn in a 24×24 box. */
|
|
4
|
+
type IconNode = ReadonlyArray<readonly [string, Readonly<Record<string, string | number>>]>;
|
|
5
|
+
type IconSize = 'sm' | 'md' | 'lg';
|
|
6
|
+
type IconTone = 'current' | 'muted' | 'accent' | 'success' | 'warning' | 'danger' | 'info';
|
|
7
|
+
interface IconProps extends Omit<SVGProps<SVGSVGElement>, 'ref'> {
|
|
8
|
+
/**
|
|
9
|
+
* `sm` 16 px, `md` 20 px (default), `lg` 24 px — the `--uix-icon-*` tokens — or a CSS length
|
|
10
|
+
* / pixel number. A sizing class from the product (e.g. a Tailwind `size-4`) also wins.
|
|
11
|
+
*/
|
|
12
|
+
size?: IconSize | number | string;
|
|
13
|
+
/** Colour from a UIx token. Default `current`: inherits the text colour. */
|
|
14
|
+
tone?: IconTone;
|
|
15
|
+
/**
|
|
16
|
+
* Accessible name. With it the icon is `role="img"`; without it the icon is decorative
|
|
17
|
+
* (`aria-hidden`). An icon-only button names the button instead, so leave this empty there.
|
|
18
|
+
*/
|
|
19
|
+
label?: string;
|
|
20
|
+
/** Stroke width in the 24-unit box. Default 2. */
|
|
21
|
+
strokeWidth?: number | string;
|
|
22
|
+
}
|
|
23
|
+
/** An icon component, e.g. `ShieldCheckIcon`. Replaces Lucide's `LucideIcon` type. */
|
|
24
|
+
type UixIcon = ForwardRefExoticComponent<IconProps & RefAttributes<SVGSVGElement>>;
|
|
25
|
+
|
|
26
|
+
export type { IconNode as I, UixIcon as U, IconProps as a, IconSize as b, IconTone as c };
|
package/package.json
CHANGED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as react from 'react';
|
|
2
|
-
|
|
3
|
-
/** A decorative glyph for a file's kind (Lucide-style strokes). Internal to FileUpload and Attachment. */
|
|
4
|
-
declare function FileIcon({ name, type }: {
|
|
5
|
-
name: string;
|
|
6
|
-
type?: string;
|
|
7
|
-
}): react.JSX.Element;
|
|
8
|
-
|
|
9
|
-
export { FileIcon };
|