@ultimat3/ui 30.8.0 → 31.0.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 +2 -2
- package/package.json +6 -6
- package/src/index.ts +72 -320
package/README.md
CHANGED
|
@@ -242,7 +242,7 @@ table — and every series has a dash and a marker as well as a colour (`chart-1
|
|
|
242
242
|
| `HeatStrip` | rows of status cells, each one element named by its whole reading, shaped by its tone, a link when it has a page | uptime, checks per bucket |
|
|
243
243
|
| `LiveIndicator` | a static dot whose shape is the state, the word beside it: live, reconnecting, paused, offline; a change is announced once | a live view's connection |
|
|
244
244
|
| `ChartFrame` | the figure, caption, legend and data table every chart stands in | a custom chart |
|
|
245
|
-
| `niceTicks` · `chartTable`
|
|
245
|
+
| `niceTicks` · `chartTable` | axis ticks, the fallback table | building a custom chart |
|
|
246
246
|
| `DataTable` | sort, cursor paging (link mode with `listUrl` needs no island), states; `narrow: 'cards'` (default) collapses rows to labelled cards below `sm`; `Column.priority` hides a column behind a per-row disclosure, never losing its value; `stickyFirstColumn` | any list of records |
|
|
247
247
|
| `Table` | a captioned table with a sticky header; `stickyFirstColumn` | static tabular data |
|
|
248
248
|
| `InlineBar` | a caller-formatted figure with a decorative proportional bar | a number in a table cell |
|
|
@@ -1004,7 +1004,7 @@ a job boundary the class is gone and the `code` is what survives — match on th
|
|
|
1004
1004
|
|
|
1005
1005
|
| Class | Code | Declared in |
|
|
1006
1006
|
|---|---|---|
|
|
1007
|
-
| `UiError` | any
|
|
1007
|
+
| `UiError` | any code in `UI_ERROR_CODES` | `src/errors.ts` |
|
|
1008
1008
|
|
|
1009
1009
|
## Commands
|
|
1010
1010
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ultimat3/ui",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "31.0.0",
|
|
4
4
|
"description": "SolidJS design system: semantic design tokens, dark/RTL-ready SCSS modules, a11y primitives",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ultimate",
|
|
@@ -58,11 +58,11 @@
|
|
|
58
58
|
"icons": "bun run src/icons/build-icons.ts"
|
|
59
59
|
},
|
|
60
60
|
"dependencies": {
|
|
61
|
-
"@ultimat3/core": "
|
|
62
|
-
"@ultimat3/i18n": "
|
|
63
|
-
"@ultimat3/money": "
|
|
64
|
-
"@ultimat3/schema": "
|
|
65
|
-
"@ultimat3/time": "
|
|
61
|
+
"@ultimat3/core": "31.0.0",
|
|
62
|
+
"@ultimat3/i18n": "31.0.0",
|
|
63
|
+
"@ultimat3/money": "31.0.0",
|
|
64
|
+
"@ultimat3/schema": "31.0.0",
|
|
65
|
+
"@ultimat3/time": "31.0.0"
|
|
66
66
|
},
|
|
67
67
|
"peerDependencies": {
|
|
68
68
|
"solid-js": "^1.9.0"
|
package/src/index.ts
CHANGED
|
@@ -12,26 +12,16 @@
|
|
|
12
12
|
// so an island never carries the i18n barrel for it (issue #490).
|
|
13
13
|
import './theme/ambient';
|
|
14
14
|
|
|
15
|
-
export type {
|
|
16
|
-
FocusTrap,
|
|
17
|
-
LiveRegionAttrs,
|
|
18
|
-
Politeness,
|
|
19
|
-
RovingOptions,
|
|
20
|
-
RovingOrientation,
|
|
21
|
-
} from './a11y';
|
|
15
|
+
export type { FocusTrap } from './a11y';
|
|
22
16
|
export {
|
|
23
17
|
announce,
|
|
24
|
-
ariaBool,
|
|
25
|
-
FOCUSABLE_SELECTOR,
|
|
26
|
-
focusableWithin,
|
|
27
18
|
focusTrap,
|
|
28
|
-
LIVE_REGION_LEVELS,
|
|
29
19
|
liveRegionAttrs,
|
|
30
20
|
resetUseIdCounter,
|
|
31
21
|
rovingTabindex,
|
|
32
22
|
useId,
|
|
33
23
|
} from './a11y';
|
|
34
|
-
export type {
|
|
24
|
+
export type { AccordionProps } from './components/Accordion';
|
|
35
25
|
// --- components --------------------------------------------------------------
|
|
36
26
|
export { Accordion } from './components/Accordion';
|
|
37
27
|
export type { AlertProps } from './components/Alert';
|
|
@@ -43,14 +33,8 @@ export type { AsyncRegionProps } from './components/AsyncRegion';
|
|
|
43
33
|
export { AsyncRegion } from './components/AsyncRegion';
|
|
44
34
|
export type { AvatarProps } from './components/Avatar';
|
|
45
35
|
export { Avatar, initialsOf } from './components/Avatar';
|
|
46
|
-
export type { AccordionSection } from './components/accordion-view';
|
|
47
|
-
export type { ShellIds, ShellLandmark, ShellSlots } from './components/app-shell-view';
|
|
48
36
|
export { shellIds } from './components/app-shell-view';
|
|
49
|
-
export type {
|
|
50
|
-
AsyncBranch,
|
|
51
|
-
AsyncFlags,
|
|
52
|
-
ReserveBox,
|
|
53
|
-
} from './components/async-branch';
|
|
37
|
+
export type { AsyncBranch, AsyncFlags } from './components/async-branch';
|
|
54
38
|
export {
|
|
55
39
|
asyncBranch,
|
|
56
40
|
asyncStateOf,
|
|
@@ -66,26 +50,21 @@ export type {
|
|
|
66
50
|
BarChartSeriesProps,
|
|
67
51
|
} from './components/BarChart';
|
|
68
52
|
export { BarChart } from './components/BarChart';
|
|
69
|
-
export type {
|
|
53
|
+
export type { BoardProps } from './components/Board';
|
|
70
54
|
export { Board } from './components/Board';
|
|
71
|
-
export type {
|
|
55
|
+
export type { BottomNavProps } from './components/BottomNav';
|
|
72
56
|
export { BottomNav } from './components/BottomNav';
|
|
73
57
|
export type { BreadcrumbItem, BreadcrumbProps } from './components/Breadcrumb';
|
|
74
58
|
export { Breadcrumb } from './components/Breadcrumb';
|
|
75
59
|
export type { ButtonProps } from './components/Button';
|
|
76
60
|
export { Button } from './components/Button';
|
|
77
|
-
export type {
|
|
61
|
+
export type { BarRect, ChartPoint } from './components/bar-chart-view';
|
|
78
62
|
export { barRects } from './components/bar-chart-view';
|
|
79
|
-
export {
|
|
80
|
-
export type {
|
|
81
|
-
CalendarLinkProps,
|
|
82
|
-
CalendarProps,
|
|
83
|
-
CalendarSelectProps,
|
|
84
|
-
} from './components/Calendar';
|
|
63
|
+
export type { CalendarLinkProps, CalendarProps, CalendarSelectProps } from './components/Calendar';
|
|
85
64
|
export { Calendar } from './components/Calendar';
|
|
86
65
|
export type { CardProps, Elevation } from './components/Card';
|
|
87
66
|
export { Card } from './components/Card';
|
|
88
|
-
export type { ChartFrameProps
|
|
67
|
+
export type { ChartFrameProps } from './components/ChartFrame';
|
|
89
68
|
export { ChartFrame } from './components/ChartFrame';
|
|
90
69
|
export type { CheckboxProps } from './components/Checkbox';
|
|
91
70
|
export { Checkbox } from './components/Checkbox';
|
|
@@ -101,53 +80,28 @@ export type {
|
|
|
101
80
|
ConfirmDialogProps,
|
|
102
81
|
} from './components/ConfirmDialog';
|
|
103
82
|
export { ConfirmDialog } from './components/ConfirmDialog';
|
|
104
|
-
export type { ContainerProps
|
|
83
|
+
export type { ContainerProps } from './components/Container';
|
|
105
84
|
export { Container } from './components/Container';
|
|
106
85
|
export type { CopyButtonProps } from './components/CopyButton';
|
|
107
|
-
export {
|
|
108
|
-
export type {
|
|
109
|
-
export {
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
monthLabel,
|
|
113
|
-
rovingDay,
|
|
114
|
-
stepDay,
|
|
115
|
-
weekdayLabels,
|
|
116
|
-
weekStartOf,
|
|
117
|
-
} from './components/calendar-view';
|
|
118
|
-
export type {
|
|
119
|
-
ChartSeries,
|
|
120
|
-
ChartTable,
|
|
121
|
-
ChartTableInput,
|
|
122
|
-
ChartTableRow,
|
|
123
|
-
MarkerShape,
|
|
124
|
-
SeriesStyle,
|
|
125
|
-
} from './components/chart-frame-view';
|
|
126
|
-
export { CHART_SERIES_SLOTS, chartTable, seriesStyle } from './components/chart-frame-view';
|
|
127
|
-
export type { ChartReference } from './components/chart-reference-view';
|
|
128
|
-
export type { NiceScale, NiceTicksOptions } from './components/chart-ticks-view';
|
|
86
|
+
export { CopyButton } from './components/CopyButton';
|
|
87
|
+
export type { CalendarDay } from './components/calendar-view';
|
|
88
|
+
export { stepDay } from './components/calendar-view';
|
|
89
|
+
export type { ChartSeries, ChartTableInput, MarkerShape } from './components/chart-frame-view';
|
|
90
|
+
export { CHART_SERIES_SLOTS, chartTable } from './components/chart-frame-view';
|
|
129
91
|
export { niceTicks } from './components/chart-ticks-view';
|
|
130
92
|
export type { ComboboxOption } from './components/combobox-filter';
|
|
131
93
|
export { filterOptions, normalizeQuery } from './components/combobox-filter';
|
|
132
|
-
export type {
|
|
133
|
-
CommandPaletteGroup,
|
|
134
|
-
CommandPaletteItem,
|
|
135
|
-
PaletteKeyAction,
|
|
136
|
-
} from './components/command-palette-view';
|
|
94
|
+
export type { CommandPaletteItem } from './components/command-palette-view';
|
|
137
95
|
export {
|
|
138
96
|
filterItems,
|
|
139
|
-
groupItems,
|
|
140
97
|
keyAction,
|
|
141
98
|
settleActive,
|
|
142
99
|
stepActive,
|
|
143
100
|
} from './components/command-palette-view';
|
|
144
|
-
export type { ConfirmEvent, ConfirmState } from './components/confirm-dialog-view';
|
|
145
|
-
export { CONFIRM_IDLE, confirmLabelOf, confirmStep } from './components/confirm-dialog-view';
|
|
146
101
|
export type {
|
|
147
102
|
Column,
|
|
148
103
|
DataTableCallbackProps,
|
|
149
104
|
DataTableLinkProps,
|
|
150
|
-
DataTableNarrow,
|
|
151
105
|
DataTableProps,
|
|
152
106
|
} from './components/DataTable';
|
|
153
107
|
export { DataTable } from './components/DataTable';
|
|
@@ -157,7 +111,7 @@ export type { DateRangePickerProps } from './components/DateRangePicker';
|
|
|
157
111
|
export { DateRangePicker } from './components/DateRangePicker';
|
|
158
112
|
export type { DateTimeProps } from './components/DateTime';
|
|
159
113
|
export { DateTime } from './components/DateTime';
|
|
160
|
-
export type {
|
|
114
|
+
export type { DescriptionListProps } from './components/DescriptionList';
|
|
161
115
|
export { DescriptionList } from './components/DescriptionList';
|
|
162
116
|
export type { DialogProps } from './components/Dialog';
|
|
163
117
|
export { Dialog } from './components/Dialog';
|
|
@@ -165,25 +119,14 @@ export type { DiffViewPatchProps, DiffViewProps, DiffViewTextProps } from './com
|
|
|
165
119
|
export { DiffView } from './components/DiffView';
|
|
166
120
|
export type { DividerProps } from './components/Divider';
|
|
167
121
|
export { Divider } from './components/Divider';
|
|
168
|
-
export type { DonutChartProps
|
|
122
|
+
export type { DonutChartProps } from './components/DonutChart';
|
|
169
123
|
export { DonutChart } from './components/DonutChart';
|
|
170
|
-
export type { DrawerProps
|
|
124
|
+
export type { DrawerProps } from './components/Drawer';
|
|
171
125
|
export { Drawer } from './components/Drawer';
|
|
172
126
|
export type { DropzoneProps } from './components/Dropzone';
|
|
173
127
|
export { Dropzone } from './components/Dropzone';
|
|
174
|
-
export type {
|
|
175
|
-
export
|
|
176
|
-
export { orderedRange, pickRange, spanPosition } from './components/date-range-view';
|
|
177
|
-
export type {
|
|
178
|
-
DateStyle,
|
|
179
|
-
DateTimeFormatter,
|
|
180
|
-
DateTimeView,
|
|
181
|
-
DateTimeViewOptions,
|
|
182
|
-
TimeInput,
|
|
183
|
-
} from './components/date-time-view';
|
|
184
|
-
export { dateTimeView, toDate, toInstant, toIsoInstant } from './components/date-time-view';
|
|
185
|
-
export type { DrawerRelease, DrawerSnap } from './components/drawer-gesture-view';
|
|
186
|
-
export { dragOffset, releaseSnap } from './components/drawer-gesture-view';
|
|
128
|
+
export type { DateStyle, DateTimeFormatter } from './components/date-time-view';
|
|
129
|
+
export { dateTimeView, toDate, toInstant } from './components/date-time-view';
|
|
187
130
|
export type { EmptyStateProps } from './components/EmptyState';
|
|
188
131
|
export { EmptyState } from './components/EmptyState';
|
|
189
132
|
export type { ErrorStateProps } from './components/ErrorState';
|
|
@@ -194,34 +137,21 @@ export type { FileInputProps } from './components/FileInput';
|
|
|
194
137
|
export { FileInput } from './components/FileInput';
|
|
195
138
|
export type { FormProps } from './components/Form';
|
|
196
139
|
export { Form } from './components/Form';
|
|
197
|
-
export
|
|
198
|
-
FileCandidate,
|
|
199
|
-
FileRejection,
|
|
200
|
-
FileRejectionReason,
|
|
201
|
-
FileSelection,
|
|
202
|
-
FileSelectionLimits,
|
|
203
|
-
FileTarget,
|
|
204
|
-
} from './components/file-input-view';
|
|
205
|
-
export {
|
|
206
|
-
formatFileSize,
|
|
207
|
-
selectFiles,
|
|
208
|
-
} from './components/file-input-view';
|
|
140
|
+
export { formatFileSize, selectFiles } from './components/file-input-view';
|
|
209
141
|
export type { GaugeProps } from './components/Gauge';
|
|
210
142
|
export { Gauge } from './components/Gauge';
|
|
211
143
|
export type { GridProps } from './components/Grid';
|
|
212
144
|
export { Grid } from './components/Grid';
|
|
213
|
-
export type { GaugeThreshold } from './components/gauge-view';
|
|
214
145
|
export type { HeatStripProps } from './components/HeatStrip';
|
|
215
146
|
export { HeatStrip } from './components/HeatStrip';
|
|
216
|
-
export
|
|
217
|
-
export {
|
|
218
|
-
export type { HeatCell, HeatRow, HeatShape } from './components/heat-strip-view';
|
|
147
|
+
export { headingTag } from './components/heading-level';
|
|
148
|
+
export type { HeatRow } from './components/heat-strip-view';
|
|
219
149
|
export type { IconProps } from './components/Icon';
|
|
220
150
|
// --- icons: the glyphs themselves are per-icon modules, `@ultimat3/ui/icons/<name>` ---------
|
|
221
151
|
export { Icon } from './components/Icon';
|
|
222
152
|
export type { IconButtonProps } from './components/IconButton';
|
|
223
153
|
export { IconButton } from './components/IconButton';
|
|
224
|
-
export type { ImageBaseProps,
|
|
154
|
+
export type { ImageBaseProps, ImageProps } from './components/Image';
|
|
225
155
|
export { Image } from './components/Image';
|
|
226
156
|
export type { InfiniteScrollProps } from './components/InfiniteScroll';
|
|
227
157
|
export { InfiniteScroll } from './components/InfiniteScroll';
|
|
@@ -229,18 +159,10 @@ export type { InlineBarProps } from './components/InlineBar';
|
|
|
229
159
|
export { InlineBar } from './components/InlineBar';
|
|
230
160
|
export type { InputProps, InputType } from './components/Input';
|
|
231
161
|
export { Input } from './components/Input';
|
|
232
|
-
export type {
|
|
233
|
-
export {
|
|
234
|
-
export type {
|
|
235
|
-
|
|
236
|
-
ImageBox,
|
|
237
|
-
ImageLoadingHints,
|
|
238
|
-
ImageSourceSet,
|
|
239
|
-
ImageSources,
|
|
240
|
-
ImageVariant,
|
|
241
|
-
} from './components/image-source';
|
|
242
|
-
export { boxFor, reservedRatio, sourceSetsFor, variantSrcset } from './components/image-source';
|
|
243
|
-
export type { LoadMoreInput, LoadMoreState } from './components/infinite-scroll-view';
|
|
162
|
+
export type { IconGlyph } from './components/icon-glyph';
|
|
163
|
+
export { iconElements } from './components/icon-glyph';
|
|
164
|
+
export type { ImageSourceSet } from './components/image-source';
|
|
165
|
+
export { boxFor, variantSrcset } from './components/image-source';
|
|
244
166
|
export type { JsonViewProps } from './components/JsonView';
|
|
245
167
|
export { JsonView } from './components/JsonView';
|
|
246
168
|
export type { KbdProps } from './components/Kbd';
|
|
@@ -249,16 +171,14 @@ export type { AreaChartProps, LineChartProps } from './components/LineChart';
|
|
|
249
171
|
export { AreaChart, LineChart } from './components/LineChart';
|
|
250
172
|
export type { ButtonLinkProps, LinkProps, TextLinkProps } from './components/Link';
|
|
251
173
|
export { Link } from './components/Link';
|
|
252
|
-
export type { LiveIndicatorProps
|
|
253
|
-
export {
|
|
174
|
+
export type { LiveIndicatorProps } from './components/LiveIndicator';
|
|
175
|
+
export { LiveIndicator } from './components/LiveIndicator';
|
|
254
176
|
export type { LocaleSwitcherProps } from './components/LocaleSwitcher';
|
|
255
177
|
export { LocaleSwitcher, localeLabel } from './components/LocaleSwitcher';
|
|
256
178
|
export type { LogViewerProps } from './components/LogViewer';
|
|
257
179
|
export { LogViewer } from './components/LogViewer';
|
|
258
|
-
export type {
|
|
259
|
-
export type {
|
|
260
|
-
export { LOG_VIEWER_LEVELS } from './components/log-viewer-view';
|
|
261
|
-
export type { MarkdownProps, ResolvedImage } from './components/Markdown';
|
|
180
|
+
export type { LogLine } from './components/log-viewer-view';
|
|
181
|
+
export type { MarkdownProps } from './components/Markdown';
|
|
262
182
|
export { Markdown } from './components/Markdown';
|
|
263
183
|
export type { MenuItem, MenuProps } from './components/Menu';
|
|
264
184
|
export { Menu } from './components/Menu';
|
|
@@ -266,15 +186,10 @@ export type { MeterProps } from './components/Meter';
|
|
|
266
186
|
export { Meter } from './components/Meter';
|
|
267
187
|
export type { MoneyProps } from './components/Money';
|
|
268
188
|
export { Money } from './components/Money';
|
|
269
|
-
export type {
|
|
189
|
+
export type { MoneyInput } from './components/money-view';
|
|
270
190
|
// --- formatting cores (pure, renderer-free) ----------------------------------
|
|
271
|
-
export { moneyText
|
|
272
|
-
export type {
|
|
273
|
-
NavListEntry,
|
|
274
|
-
NavListGroup,
|
|
275
|
-
NavListLink,
|
|
276
|
-
NavListProps,
|
|
277
|
-
} from './components/NavList';
|
|
191
|
+
export { moneyText } from './components/money-view';
|
|
192
|
+
export type { NavListProps } from './components/NavList';
|
|
278
193
|
export { NavList } from './components/NavList';
|
|
279
194
|
export { currentOf } from './components/nav-list-view';
|
|
280
195
|
export type { PageHeaderProps } from './components/PageHeader';
|
|
@@ -289,26 +204,15 @@ export type { Placement, PopoverProps } from './components/Popover';
|
|
|
289
204
|
export { Popover } from './components/Popover';
|
|
290
205
|
export type { PullToRefreshProps } from './components/PullToRefresh';
|
|
291
206
|
export { PullToRefresh } from './components/PullToRefresh';
|
|
292
|
-
export type { PullController, PullEvent, PullState } from './components/pull-refresh-view';
|
|
293
|
-
export {
|
|
294
|
-
PULL_IDLE,
|
|
295
|
-
PULL_MAX,
|
|
296
|
-
PULL_THRESHOLD,
|
|
297
|
-
pullController,
|
|
298
|
-
pullDistance,
|
|
299
|
-
pullStep,
|
|
300
|
-
} from './components/pull-refresh-view';
|
|
301
207
|
export type { QrCodeProps } from './components/QrCode';
|
|
302
208
|
export { QrCode } from './components/QrCode';
|
|
303
209
|
export type { QrMatrix } from './components/qr-matrix';
|
|
304
210
|
export { encodeQr } from './components/qr-matrix';
|
|
305
|
-
export type {
|
|
211
|
+
export type { RadioProps } from './components/Radio';
|
|
306
212
|
export { Radio } from './components/Radio';
|
|
307
213
|
export type { RelativeTimeProps } from './components/RelativeTime';
|
|
308
214
|
export { RelativeTime } from './components/RelativeTime';
|
|
309
|
-
export type { RankableOption, RankedOptions } from './components/rank-options';
|
|
310
215
|
export { rankOptions } from './components/rank-options';
|
|
311
|
-
export type { RelativeTimeOptions } from './components/relative-time-view';
|
|
312
216
|
export type {
|
|
313
217
|
SearchableSelectManyProps,
|
|
314
218
|
SearchableSelectOneProps,
|
|
@@ -343,42 +247,27 @@ export type { SwitchProps } from './components/Switch';
|
|
|
343
247
|
export { Switch } from './components/Switch';
|
|
344
248
|
export type { SearchableOption } from './components/searchable-select-view';
|
|
345
249
|
export type { SortDirection, SortState } from './components/sort-state';
|
|
346
|
-
export type {
|
|
347
|
-
export type { SparklinePoint, SparkPoint } from './components/sparkline-view';
|
|
250
|
+
export type { SparklinePoint } from './components/sparkline-view';
|
|
348
251
|
export { sparklinePath } from './components/sparkline-view';
|
|
349
|
-
export type {
|
|
350
|
-
DeltaOptions,
|
|
351
|
-
StatDelta,
|
|
352
|
-
StatGoodWhen,
|
|
353
|
-
StatMood,
|
|
354
|
-
StatTrend,
|
|
355
|
-
} from './components/stat-delta';
|
|
252
|
+
export type { StatDelta } from './components/stat-delta';
|
|
356
253
|
export { deltaMood, deltaOf } from './components/stat-delta';
|
|
357
|
-
export type { StepperModel, StepperStep, StepState } from './components/stepper-view';
|
|
358
|
-
export { stepperModel } from './components/stepper-view';
|
|
359
254
|
export type { TableProps } from './components/Table';
|
|
360
255
|
export { Table } from './components/Table';
|
|
361
|
-
export type {
|
|
362
|
-
TabItem,
|
|
363
|
-
TabLinkItem,
|
|
364
|
-
TabsButtonProps,
|
|
365
|
-
TabsLinkProps,
|
|
366
|
-
TabsProps,
|
|
367
|
-
} from './components/Tabs';
|
|
256
|
+
export type { TabsButtonProps, TabsLinkProps, TabsProps } from './components/Tabs';
|
|
368
257
|
export { Tabs } from './components/Tabs';
|
|
369
258
|
export type { TerminalViewProps } from './components/TerminalView';
|
|
370
259
|
export { TerminalView } from './components/TerminalView';
|
|
371
|
-
export type { TextProps
|
|
372
|
-
export {
|
|
260
|
+
export type { TextProps } from './components/Text';
|
|
261
|
+
export { Text } from './components/Text';
|
|
373
262
|
export type { TextareaProps } from './components/Textarea';
|
|
374
263
|
export { Textarea } from './components/Textarea';
|
|
375
|
-
export type {
|
|
264
|
+
export type { ThemeToggleProps } from './components/ThemeToggle';
|
|
376
265
|
export { ThemeToggle } from './components/ThemeToggle';
|
|
377
|
-
export type {
|
|
266
|
+
export type { TimelineProps } from './components/Timeline';
|
|
378
267
|
export { Timeline } from './components/Timeline';
|
|
379
268
|
export type { TimeRangePickerProps } from './components/TimeRangePicker';
|
|
380
269
|
export { TimeRangePicker } from './components/TimeRangePicker';
|
|
381
|
-
export type {
|
|
270
|
+
export type { ToastProps, ToastRegionProps } from './components/Toast';
|
|
382
271
|
export { Toast, ToastRegion } from './components/Toast';
|
|
383
272
|
export type { ToasterProps } from './components/Toaster';
|
|
384
273
|
export { Toaster } from './components/Toaster';
|
|
@@ -388,39 +277,16 @@ export type { TooltipProps } from './components/Tooltip';
|
|
|
388
277
|
export { Tooltip } from './components/Tooltip';
|
|
389
278
|
export type { TreeLinkProps, TreeProps, TreeSelectProps } from './components/Tree';
|
|
390
279
|
export { Tree } from './components/Tree';
|
|
391
|
-
export type {
|
|
392
|
-
export { timelineGroups } from './components/timeline-view';
|
|
393
|
-
export type { FlatTreeNode, TreeMove, TreeNode } from './components/tree-view';
|
|
394
|
-
export {
|
|
395
|
-
flattenTree,
|
|
396
|
-
treeAncestors,
|
|
397
|
-
treeMove,
|
|
398
|
-
treeTypeahead,
|
|
399
|
-
visibleTreeIds,
|
|
400
|
-
} from './components/tree-view';
|
|
401
|
-
export type {
|
|
402
|
-
CommandPaletteController,
|
|
403
|
-
CommandPaletteState,
|
|
404
|
-
UseCommandPaletteOptions,
|
|
405
|
-
} from './components/use-command-palette';
|
|
280
|
+
export type { TreeNode } from './components/tree-view';
|
|
406
281
|
export { useCommandPalette } from './components/use-command-palette';
|
|
407
282
|
export type { VirtualListProps } from './components/VirtualList';
|
|
408
283
|
export { VirtualList } from './components/VirtualList';
|
|
409
|
-
export type { Align,
|
|
284
|
+
export type { Align, Size, Tone } from './components/variants';
|
|
410
285
|
// --- variants ----------------------------------------------------------------
|
|
411
|
-
export {
|
|
412
|
-
export type { ScrollAnchor, VisibleRange } from './components/virtual-list-view';
|
|
413
|
-
export {
|
|
414
|
-
anchorAt,
|
|
415
|
-
anchoredScrollTop,
|
|
416
|
-
rowOffsets,
|
|
417
|
-
VIRTUAL_LIST_ESTIMATE,
|
|
418
|
-
VIRTUAL_LIST_OVERSCAN,
|
|
419
|
-
visibleRange,
|
|
420
|
-
} from './components/virtual-list-view';
|
|
286
|
+
export { TONES } from './components/variants';
|
|
421
287
|
export { headingIds, headingSlug } from './content/heading-slug';
|
|
422
|
-
export type { Language, Token
|
|
423
|
-
export { defineLanguage, highlight
|
|
288
|
+
export type { Language, Token } from './content/highlight';
|
|
289
|
+
export { defineLanguage, highlight } from './content/highlight';
|
|
424
290
|
export { allLanguages } from './content/languages/all';
|
|
425
291
|
export { diffLanguage } from './content/languages/diff';
|
|
426
292
|
export { htmlLanguage } from './content/languages/html';
|
|
@@ -430,110 +296,51 @@ export { sqlLanguage } from './content/languages/sql';
|
|
|
430
296
|
export { tsLanguage } from './content/languages/ts';
|
|
431
297
|
export { yamlLanguage } from './content/languages/yaml';
|
|
432
298
|
export { parseMarkdown } from './content/markdown-parse';
|
|
433
|
-
export type {
|
|
434
|
-
MarkdownBlock,
|
|
435
|
-
MarkdownInline,
|
|
436
|
-
MarkdownListItem,
|
|
437
|
-
TableAlign,
|
|
438
|
-
} from './content/markdown-tree';
|
|
439
299
|
export { MARKDOWN_MAX_CHARS } from './content/markdown-tree';
|
|
440
|
-
export type { ClassValue } from './cx';
|
|
441
300
|
// --- helpers -----------------------------------------------------------------
|
|
442
301
|
export { cx } from './cx';
|
|
443
302
|
export type { Debounced } from './debounce';
|
|
444
|
-
export {
|
|
445
|
-
export type {
|
|
303
|
+
export { debounce } from './debounce';
|
|
304
|
+
export type { SortMove } from './drag/sort-view';
|
|
446
305
|
export type { UiErrorCode } from './errors';
|
|
447
306
|
export {
|
|
448
|
-
conflictingFieldNameError,
|
|
449
307
|
insufficientContrastError,
|
|
450
|
-
invalidBrandTokenError,
|
|
451
|
-
invalidFieldPathError,
|
|
452
|
-
invalidGlyphError,
|
|
453
308
|
invalidIconDataError,
|
|
454
|
-
invalidThemeError,
|
|
455
309
|
invalidValueError,
|
|
456
310
|
providerNeedsRuntimeError,
|
|
457
311
|
runtimeMissingError,
|
|
458
312
|
UI_ERROR_CODES,
|
|
459
313
|
UiError,
|
|
460
|
-
unknownTokenError,
|
|
461
314
|
} from './errors';
|
|
462
315
|
// --- forms: the binding between an action's input schema and Field's error slot ---------------
|
|
463
|
-
export type { FieldPathSegment } from './form/field-path';
|
|
464
316
|
export { fieldSelector, MAX_FIELD_INDEX, parseFieldPath } from './form/field-path';
|
|
465
|
-
export type { FormBinding
|
|
317
|
+
export type { FormBinding } from './form/form-binding';
|
|
466
318
|
export { formBinding } from './form/form-binding';
|
|
467
319
|
export type { FormIssue } from './form/form-issue';
|
|
468
320
|
export { issuesFromRejection, issuesFromValidation } from './form/form-issue';
|
|
469
|
-
export
|
|
470
|
-
export {
|
|
471
|
-
errorOf,
|
|
472
|
-
firstInvalidField,
|
|
473
|
-
IDLE_FORM_STATE,
|
|
474
|
-
NO_FORM_ERRORS,
|
|
475
|
-
} from './form/form-state';
|
|
476
|
-
export type { FormTouch } from './form/form-touch';
|
|
477
|
-
export {
|
|
478
|
-
isFormDirty,
|
|
479
|
-
markDirty,
|
|
480
|
-
markTouched,
|
|
481
|
-
NO_FORM_TOUCH,
|
|
482
|
-
} from './form/form-touch';
|
|
321
|
+
export { errorOf, firstInvalidField } from './form/form-state';
|
|
483
322
|
export { valuesOfForm } from './form/form-values';
|
|
484
323
|
export { useForm } from './form/use-form';
|
|
485
|
-
export type {
|
|
486
|
-
|
|
487
|
-
HotkeyAnswer,
|
|
488
|
-
HotkeyKeyEvent,
|
|
489
|
-
HotkeyRow,
|
|
490
|
-
HotkeyState,
|
|
491
|
-
HotkeyTable,
|
|
492
|
-
} from './hotkeys-view';
|
|
493
|
-
export {
|
|
494
|
-
CHORD_WINDOW_MS,
|
|
495
|
-
compileHotkeys,
|
|
496
|
-
hotkeyAction,
|
|
497
|
-
hotkeyKeycaps,
|
|
498
|
-
IDLE_HOTKEY_STATE,
|
|
499
|
-
} from './hotkeys-view';
|
|
324
|
+
export type { HotkeyTable } from './hotkeys-view';
|
|
325
|
+
export { hotkeyAction } from './hotkeys-view';
|
|
500
326
|
export type { UiKey } from './i18n-keys';
|
|
501
327
|
export { UI_KEYS } from './i18n-keys';
|
|
502
|
-
export type {
|
|
328
|
+
export type { ListUrl } from './list-url';
|
|
503
329
|
export { listUrl } from './list-url';
|
|
504
|
-
export type { LiveWindowOptions } from './live-window';
|
|
505
330
|
export { liveWindow } from './live-window';
|
|
506
|
-
export
|
|
507
|
-
export {
|
|
508
|
-
handlesOwnArrowKeys,
|
|
509
|
-
MENU_ITEM_SELECTOR,
|
|
510
|
-
TAB_SELECTOR,
|
|
511
|
-
TREE_ITEM_SELECTOR,
|
|
512
|
-
tabStopIndex,
|
|
513
|
-
} from './roving';
|
|
331
|
+
export { TREE_ITEM_SELECTOR } from './roving';
|
|
514
332
|
export { ambientUiContext } from './theme/ambient';
|
|
515
|
-
export type { Brand
|
|
516
|
-
export { brandStyleCspSource, brandStyleTag, defineTheme
|
|
517
|
-
export type { Direction
|
|
518
|
-
export {
|
|
519
|
-
defaultUiContext,
|
|
520
|
-
fallbackTranslator,
|
|
521
|
-
UI_DEFAULT_CURRENCY,
|
|
522
|
-
UI_DEFAULT_LOCALE,
|
|
523
|
-
UI_DEFAULT_TIME_ZONE,
|
|
524
|
-
uiContext,
|
|
525
|
-
useUi,
|
|
526
|
-
} from './theme/context';
|
|
333
|
+
export type { Brand } from './theme/brand';
|
|
334
|
+
export { brandStyleCspSource, brandStyleTag, defineTheme } from './theme/brand';
|
|
335
|
+
export type { Direction } from './theme/context';
|
|
336
|
+
export { fallbackTranslator, useUi } from './theme/context';
|
|
527
337
|
export { INERT_SOLID_RUNTIME } from './theme/inert-runtime';
|
|
528
|
-
export type { ThemePreset } from './theme/preset-shape';
|
|
529
|
-
export type { ThemePresetName } from './theme/presets';
|
|
530
|
-
export { THEME_PRESET_NAMES, THEME_PRESETS } from './theme/presets';
|
|
531
338
|
export type { UiProviderProps } from './theme/provider';
|
|
532
339
|
export { UiProvider } from './theme/provider';
|
|
533
340
|
// The slot is its own module so that registering a runtime does not drag `errors.ts` — and with it
|
|
534
341
|
// @ultimat3/core's error registry — into an island chunk. `scripts/ui-barrel-bytes.test.ts` holds the ceiling.
|
|
535
|
-
export {
|
|
536
|
-
export type { Accessor,
|
|
342
|
+
export { setSolidRuntime } from './theme/runtime-slot';
|
|
343
|
+
export type { Accessor, SolidRuntime } from './theme/solid-adapter';
|
|
537
344
|
export { solid } from './theme/solid-adapter';
|
|
538
345
|
export type { ThemeEnv } from './theme/theme';
|
|
539
346
|
// --- theme -------------------------------------------------------------------
|
|
@@ -542,83 +349,28 @@ export {
|
|
|
542
349
|
clearTheme,
|
|
543
350
|
defaultTheme,
|
|
544
351
|
initTheme,
|
|
545
|
-
isTheme,
|
|
546
|
-
osTheme,
|
|
547
352
|
resolveTheme,
|
|
548
353
|
setTheme,
|
|
549
|
-
storedTheme,
|
|
550
354
|
THEME_ATTRIBUTE,
|
|
551
355
|
THEME_DEFAULT_ATTRIBUTE,
|
|
552
356
|
THEME_MEDIA_QUERY,
|
|
553
357
|
toggleTheme,
|
|
554
358
|
watchOsTheme,
|
|
555
359
|
} from './theme/theme';
|
|
556
|
-
export type {
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
TimeRangeUrl,
|
|
560
|
-
TimeRangeUrlOptions,
|
|
561
|
-
} from './time-range-url';
|
|
562
|
-
export { fromLocalDateTime, timeRangeUrl, toLocalDateTime } from './time-range-url';
|
|
563
|
-
export type {
|
|
564
|
-
ToastAction,
|
|
565
|
-
ToastDwell,
|
|
566
|
-
ToastHold,
|
|
567
|
-
ToastInput,
|
|
568
|
-
ToastItem,
|
|
569
|
-
ToastQueue,
|
|
570
|
-
} from './toast/toast-state';
|
|
360
|
+
export type { TimeRangeUrl } from './time-range-url';
|
|
361
|
+
export { timeRangeUrl } from './time-range-url';
|
|
362
|
+
export type { ToastAction, ToastDwell, ToastHold } from './toast/toast-state';
|
|
571
363
|
// --- toasts: the queue behind ToastRegion ------------------------------------
|
|
572
|
-
export {
|
|
573
|
-
TOAST_DWELL_MS,
|
|
574
|
-
TOAST_MAX_VISIBLE,
|
|
575
|
-
} from './toast/toast-state';
|
|
364
|
+
export { TOAST_DWELL_MS, TOAST_MAX_VISIBLE } from './toast/toast-state';
|
|
576
365
|
export type { ToastEnv, ToastStore } from './toast/toast-store';
|
|
577
|
-
export {
|
|
366
|
+
export { INERT_TOAST_ENV, toastStore } from './toast/toast-store';
|
|
578
367
|
export { useToasts } from './toast/use-toasts';
|
|
579
368
|
export type { ColourVision } from './tokens/colour-vision';
|
|
580
|
-
export {
|
|
581
|
-
CHART_DISTINCT_MIN,
|
|
582
|
-
COLOUR_VISIONS,
|
|
583
|
-
closestChartPair,
|
|
584
|
-
colourDistance,
|
|
585
|
-
simulateColourVision,
|
|
586
|
-
} from './tokens/colour-vision';
|
|
587
369
|
export type { Channels } from './tokens/contrast';
|
|
588
|
-
export {
|
|
589
|
-
AA_LARGE,
|
|
590
|
-
AA_TEXT,
|
|
591
|
-
contrastRatio,
|
|
592
|
-
meetsContrast,
|
|
593
|
-
relativeLuminance,
|
|
594
|
-
roleContrast,
|
|
595
|
-
} from './tokens/contrast';
|
|
596
|
-
export type { ContrastPair } from './tokens/contrast-pairs';
|
|
370
|
+
export { AA_LARGE, AA_TEXT, contrastRatio, roleContrast } from './tokens/contrast';
|
|
597
371
|
export { CONTRAST_PAIRS } from './tokens/contrast-pairs';
|
|
598
|
-
export type {
|
|
372
|
+
export type { ColorRole, RadiusName, ShadowName, Theme } from './tokens/tokens';
|
|
599
373
|
// --- tokens ------------------------------------------------------------------
|
|
600
|
-
export {
|
|
601
|
-
assertColorRole,
|
|
602
|
-
breakpointTokens,
|
|
603
|
-
CHART_ROLES,
|
|
604
|
-
COLOR_ROLES,
|
|
605
|
-
color,
|
|
606
|
-
colorRgb,
|
|
607
|
-
colorTokens,
|
|
608
|
-
colorVar,
|
|
609
|
-
durationTokens,
|
|
610
|
-
easingTokens,
|
|
611
|
-
fontSizeTokens,
|
|
612
|
-
fontWeightTokens,
|
|
613
|
-
lineHeightTokens,
|
|
614
|
-
radiusTokens,
|
|
615
|
-
SHADOW_NAMES,
|
|
616
|
-
shadowTokens,
|
|
617
|
-
spaceTokens,
|
|
618
|
-
strokeTokens,
|
|
619
|
-
touchTokens,
|
|
620
|
-
zTokens,
|
|
621
|
-
} from './tokens/tokens';
|
|
374
|
+
export { COLOR_ROLES, color, colorRgb, colorTokens, colorVar } from './tokens/tokens';
|
|
622
375
|
export { uiCatalog } from './ui-catalog';
|
|
623
|
-
export
|
|
624
|
-
export { EDITABLE_SELECTOR, registerHotkeys, useHotkeyRows, useHotkeys } from './use-hotkeys';
|
|
376
|
+
export { registerHotkeys, useHotkeys } from './use-hotkeys';
|