@atscript/ui-styles 0.1.59
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 +133 -0
- package/dist/css/all.css +1600 -0
- package/dist/css/form.css +437 -0
- package/dist/css/table.css +1597 -0
- package/dist/css/wf.css +440 -0
- package/dist/index.cjs +1380 -0
- package/dist/index.d.cts +238 -0
- package/dist/index.d.mts +238 -0
- package/dist/index.mjs +1289 -0
- package/dist/kebab-CAodBEsa.mjs +2702 -0
- package/dist/kebab-_amgjqa2.cjs +2743 -0
- package/dist/vite.cjs +37 -0
- package/dist/vite.d.cts +16 -0
- package/dist/vite.d.mts +16 -0
- package/dist/vite.mjs +36 -0
- package/package.json +87 -0
package/dist/index.d.cts
ADDED
|
@@ -0,0 +1,238 @@
|
|
|
1
|
+
import { Extractor, Preset } from "unocss";
|
|
2
|
+
import * as vunor_theme0 from "vunor/theme";
|
|
3
|
+
import { TVunorShortcut, defineShortcuts, mergeVunorShortcuts, toUnoShortcut } from "vunor/theme";
|
|
4
|
+
|
|
5
|
+
//#region src/extractor.d.ts
|
|
6
|
+
interface AsExtractorOptions {
|
|
7
|
+
/**
|
|
8
|
+
* Kebab-case component names whose classes should NEVER be added to the
|
|
9
|
+
* safelist, even when the extractor matches them. Use to drop styles for
|
|
10
|
+
* default components the consumer has replaced with their own implementation.
|
|
11
|
+
*/
|
|
12
|
+
excludeComponents?: string[];
|
|
13
|
+
}
|
|
14
|
+
declare function createAsExtractor(opts?: AsExtractorOptions): Extractor;
|
|
15
|
+
//#endregion
|
|
16
|
+
//#region src/preset.d.ts
|
|
17
|
+
interface AsBaseUnoConfigOptions {
|
|
18
|
+
/** Forwarded to vunor's `baseRadius`; drives `rounded-base` and the `r0..r4` ladder. */
|
|
19
|
+
baseRadius?: string;
|
|
20
|
+
}
|
|
21
|
+
interface AsPresetVunorOptions extends AsBaseUnoConfigOptions {
|
|
22
|
+
/**
|
|
23
|
+
* Kebab-case component names whose classes the extractor should drop from
|
|
24
|
+
* the safelist (post-match). Use when the consumer has replaced a built-in
|
|
25
|
+
* default with their own implementation and wants to shed the unused styles.
|
|
26
|
+
* See STYLES.md Decision 15.
|
|
27
|
+
*/
|
|
28
|
+
excludeComponents?: string[];
|
|
29
|
+
/**
|
|
30
|
+
* Replace any of our built-in `i-as-<name>` icons with custom SVG strings.
|
|
31
|
+
* Keys are the semantic names listed in `bakedIcons` (e.g. `search`,
|
|
32
|
+
* `close`, `loading`). Values are full `<svg>...</svg>` strings — fetch
|
|
33
|
+
* them from anywhere, paste them inline, copy from another Iconify set,
|
|
34
|
+
* etc. Unknown keys are ignored. Built-in defaults remain untouched for
|
|
35
|
+
* any name not present in this map.
|
|
36
|
+
*/
|
|
37
|
+
iconOverrides?: Record<string, string>;
|
|
38
|
+
}
|
|
39
|
+
declare function asPresetVunor(options?: AsPresetVunorOptions): Preset[];
|
|
40
|
+
/**
|
|
41
|
+
* Cycle-breaking factory used by the class-extraction script and the
|
|
42
|
+
* pre-built CSS pipeline. Returns the same presets + shortcuts that
|
|
43
|
+
* consumers receive via `asPresetVunor()`, but without the safelist
|
|
44
|
+
* extractor — so the extraction script can compute the safelist that
|
|
45
|
+
* the extractor later imports.
|
|
46
|
+
*/
|
|
47
|
+
declare function createAsBaseUnoConfig(options?: AsBaseUnoConfigOptions): {
|
|
48
|
+
presets: Preset<object>[];
|
|
49
|
+
shortcuts: Record<string, string>[];
|
|
50
|
+
};
|
|
51
|
+
//#endregion
|
|
52
|
+
//#region src/shortcuts/common/index.d.ts
|
|
53
|
+
declare const commonShortcuts: vunor_theme0.TVunorShortcut;
|
|
54
|
+
//#endregion
|
|
55
|
+
//#region src/shortcuts/form/as-action.d.ts
|
|
56
|
+
declare const asActionShortcuts: vunor_theme0.TVunorShortcut;
|
|
57
|
+
//#endregion
|
|
58
|
+
//#region src/shortcuts/form/as-array.d.ts
|
|
59
|
+
declare const asArrayShortcuts: vunor_theme0.TVunorShortcut;
|
|
60
|
+
//#endregion
|
|
61
|
+
//#region src/shortcuts/form/as-checkbox-radio.d.ts
|
|
62
|
+
declare const asCheckboxRadioShortcuts: vunor_theme0.TVunorShortcut;
|
|
63
|
+
//#endregion
|
|
64
|
+
//#region src/shortcuts/form/as-collapsible.d.ts
|
|
65
|
+
declare const asCollapsibleShortcuts: vunor_theme0.TVunorShortcut;
|
|
66
|
+
//#endregion
|
|
67
|
+
//#region src/shortcuts/form/as-decimal-number.d.ts
|
|
68
|
+
declare const asDecimalNumberShortcuts: vunor_theme0.TVunorShortcut;
|
|
69
|
+
//#endregion
|
|
70
|
+
//#region src/shortcuts/form/as-dropdown.d.ts
|
|
71
|
+
declare const asDropdownShortcuts: vunor_theme0.TVunorShortcut;
|
|
72
|
+
//#endregion
|
|
73
|
+
//#region src/shortcuts/form/as-field.d.ts
|
|
74
|
+
declare const asFieldShortcuts: vunor_theme0.TVunorShortcut;
|
|
75
|
+
//#endregion
|
|
76
|
+
//#region src/shortcuts/form/as-form.d.ts
|
|
77
|
+
declare const asFormShortcuts: vunor_theme0.TVunorShortcut;
|
|
78
|
+
//#endregion
|
|
79
|
+
//#region src/shortcuts/form/as-form-grid.d.ts
|
|
80
|
+
/**
|
|
81
|
+
* 12-col grid scaffold for form children. Every struct/array/tuple body wraps
|
|
82
|
+
* its iteration in `as-form-grid`; every field's outer wrapper composes
|
|
83
|
+
* `as-grid-item` (default `col-span-full row-span-1` footprint, identical
|
|
84
|
+
* effect to today's stacked layout). Authors override the footprint via
|
|
85
|
+
* `@ui.form.grid.colSpan` / `@ui.form.grid.rowSpan`; AsField stamps the
|
|
86
|
+
* resolved classes (`col-span-N`, `row-span-N`, plus
|
|
87
|
+
* `as-narrow:col-span-N` / `as-narrow:row-span-N` for the narrow track)
|
|
88
|
+
* onto each field's outer wrapper.
|
|
89
|
+
*
|
|
90
|
+
* `[container-type:inline-size]` + `[container-name:as-grid]` register a
|
|
91
|
+
* named CSS containment context so the narrow variant `as-narrow:` (defined
|
|
92
|
+
* in the form-grid preset) resolves against this grid's inline size — not
|
|
93
|
+
* the viewport. Nested grids re-evaluate independently, so an inner grid
|
|
94
|
+
* inside a `colSpan "6"` slot stacks automatically when the outer hits
|
|
95
|
+
* narrow.
|
|
96
|
+
*/
|
|
97
|
+
declare const asFormGridShortcuts: vunor_theme0.TVunorShortcut;
|
|
98
|
+
//#endregion
|
|
99
|
+
//#region src/shortcuts/form/as-no-data.d.ts
|
|
100
|
+
declare const asNoDataShortcuts: vunor_theme0.TVunorShortcut;
|
|
101
|
+
//#endregion
|
|
102
|
+
//#region src/shortcuts/form/as-object.d.ts
|
|
103
|
+
declare const asObjectShortcuts: vunor_theme0.TVunorShortcut;
|
|
104
|
+
//#endregion
|
|
105
|
+
//#region src/shortcuts/form/as-ref.d.ts
|
|
106
|
+
declare const asRefShortcuts: vunor_theme0.TVunorShortcut;
|
|
107
|
+
//#endregion
|
|
108
|
+
//#region src/shortcuts/form/index.d.ts
|
|
109
|
+
declare const formShortcuts: vunor_theme0.TVunorShortcut;
|
|
110
|
+
//#endregion
|
|
111
|
+
//#region src/shortcuts/table/as-action-form.d.ts
|
|
112
|
+
declare const asActionFormShortcuts: vunor_theme0.TVunorShortcut;
|
|
113
|
+
//#endregion
|
|
114
|
+
//#region src/shortcuts/table/as-cell.d.ts
|
|
115
|
+
declare const asCellShortcuts: vunor_theme0.TVunorShortcut;
|
|
116
|
+
//#endregion
|
|
117
|
+
//#region src/shortcuts/table/as-column-menu.d.ts
|
|
118
|
+
declare const asColumnMenuShortcuts: vunor_theme0.TVunorShortcut;
|
|
119
|
+
//#endregion
|
|
120
|
+
//#region src/shortcuts/table/as-config-dialog.d.ts
|
|
121
|
+
declare const asConfigDialogShortcuts: vunor_theme0.TVunorShortcut;
|
|
122
|
+
//#endregion
|
|
123
|
+
//#region src/shortcuts/table/as-config-tab.d.ts
|
|
124
|
+
declare const asConfigTabShortcuts: vunor_theme0.TVunorShortcut;
|
|
125
|
+
//#endregion
|
|
126
|
+
//#region src/shortcuts/table/as-confirm-dialog.d.ts
|
|
127
|
+
/**
|
|
128
|
+
* `<AsConfirmDialog>` Tier-2 default. Replaces `window.confirm()` for action
|
|
129
|
+
* prompts. Compact dialog (no full-screen mobile takeover — confirm prompts
|
|
130
|
+
* are short and read better as a centered card on every viewport).
|
|
131
|
+
*
|
|
132
|
+
* Confirm button intent variants mirror `as-table-actions-intent-*`: the
|
|
133
|
+
* caller passes `intent` from the action; this shortcut surface flips the
|
|
134
|
+
* scope so `negative → scope-error`, `positive → scope-good`, etc. without
|
|
135
|
+
* the consumer touching colors directly.
|
|
136
|
+
*/
|
|
137
|
+
declare const asConfirmDialogShortcuts: vunor_theme0.TVunorShortcut;
|
|
138
|
+
//#endregion
|
|
139
|
+
//#region src/shortcuts/table/as-filter-dialog.d.ts
|
|
140
|
+
declare const asFilterDialogShortcuts: vunor_theme0.TVunorShortcut;
|
|
141
|
+
//#endregion
|
|
142
|
+
//#region src/shortcuts/table/as-filter-field.d.ts
|
|
143
|
+
declare const asFilterFieldShortcuts: vunor_theme0.TVunorShortcut;
|
|
144
|
+
//#endregion
|
|
145
|
+
//#region src/shortcuts/table/as-fpill.d.ts
|
|
146
|
+
declare const asFpillShortcuts: vunor_theme0.TVunorShortcut;
|
|
147
|
+
//#endregion
|
|
148
|
+
//#region src/shortcuts/table/as-orderable-list.d.ts
|
|
149
|
+
declare const asOrderableListShortcuts: vunor_theme0.TVunorShortcut;
|
|
150
|
+
//#endregion
|
|
151
|
+
//#region src/shortcuts/table/as-page.d.ts
|
|
152
|
+
declare const asPageShortcuts: vunor_theme0.TVunorShortcut;
|
|
153
|
+
//#endregion
|
|
154
|
+
//#region src/shortcuts/table/as-preset-dialog.d.ts
|
|
155
|
+
/**
|
|
156
|
+
* `<AsPresetDialog>` Tier-2 default. Centred-card management dialog
|
|
157
|
+
* (mirroring `<AsConfirmDialog>` chrome) with a single scrollable list of
|
|
158
|
+
* preset rows. Composed exclusively through vunor primitives so consumer
|
|
159
|
+
* themes re-skin without touching this file.
|
|
160
|
+
*/
|
|
161
|
+
declare const asPresetDialogShortcuts: vunor_theme0.TVunorShortcut;
|
|
162
|
+
//#endregion
|
|
163
|
+
//#region src/shortcuts/table/as-preset-picker.d.ts
|
|
164
|
+
/**
|
|
165
|
+
* `<AsPresetPicker>` Tier-1 dropdown shortcuts. Built on `DropdownMenuRoot`
|
|
166
|
+
* so all keyboard / focus management comes from reka-ui. Composed only
|
|
167
|
+
* through vunor primitives (`scope-*`, `layer-*`, `c8-*`, `i8-*`,
|
|
168
|
+
* `fingertip-*`, spacing tokens) so consumer themes re-skin the picker
|
|
169
|
+
* without touching this file.
|
|
170
|
+
*
|
|
171
|
+
* Class families:
|
|
172
|
+
* `as-preset-picker` — outermost wrapper (inline-block)
|
|
173
|
+
* `as-preset-picker-trigger` — main button (label + ★ + `*` + chevron)
|
|
174
|
+
* `as-preset-picker-menu` — dropdown content panel
|
|
175
|
+
* `as-preset-picker-section-*` — section header / list
|
|
176
|
+
* `as-preset-picker-item` — preset row (system / favorite / mine / public)
|
|
177
|
+
* `as-preset-picker-separator` — group separator
|
|
178
|
+
* `as-preset-picker-action` — Save / Save as / Reset / Manage actions
|
|
179
|
+
* `as-preset-picker-popover-*` — inline Save-as popover
|
|
180
|
+
*/
|
|
181
|
+
declare const asPresetPickerShortcuts: vunor_theme0.TVunorShortcut;
|
|
182
|
+
//#endregion
|
|
183
|
+
//#region src/shortcuts/table/as-row-actions.d.ts
|
|
184
|
+
/**
|
|
185
|
+
* Per-row actions cell shortcuts. Renders inside a `<td>`. Always exactly
|
|
186
|
+
* one button (icon, label-text, or `…` dropdown trigger). Intent maps to
|
|
187
|
+
* vunor scope via {@link buildActionsIntentVariants} — see _shared.ts for
|
|
188
|
+
* the dual-context (filled-button + menu-item) intent rules.
|
|
189
|
+
*/
|
|
190
|
+
declare const asRowActionsShortcuts: vunor_theme0.TVunorShortcut;
|
|
191
|
+
//#endregion
|
|
192
|
+
//#region src/shortcuts/table/as-sorter.d.ts
|
|
193
|
+
declare const asSorterShortcuts: vunor_theme0.TVunorShortcut;
|
|
194
|
+
//#endregion
|
|
195
|
+
//#region src/shortcuts/table/as-table-actions.d.ts
|
|
196
|
+
/**
|
|
197
|
+
* `<AsTableActions>` Tier-1 toolbar bar shortcuts. Renders a single default
|
|
198
|
+
* button + a `…` more-menu. Intent maps to vunor scope via
|
|
199
|
+
* {@link buildActionsIntentVariants} — see _shared.ts for the dual-context
|
|
200
|
+
* (filled-button + menu-item) intent rules.
|
|
201
|
+
*/
|
|
202
|
+
declare const asTableActionsShortcuts: vunor_theme0.TVunorShortcut;
|
|
203
|
+
//#endregion
|
|
204
|
+
//#region src/shortcuts/table/as-table.d.ts
|
|
205
|
+
declare const asTableShortcuts: vunor_theme0.TVunorShortcut;
|
|
206
|
+
//#endregion
|
|
207
|
+
//#region src/shortcuts/table/as-window-scrollbar.d.ts
|
|
208
|
+
declare const asWindowScrollbarShortcuts: vunor_theme0.TVunorShortcut;
|
|
209
|
+
//#endregion
|
|
210
|
+
//#region src/shortcuts/table/as-window-skeleton.d.ts
|
|
211
|
+
declare const asWindowSkeletonShortcuts: vunor_theme0.TVunorShortcut;
|
|
212
|
+
//#endregion
|
|
213
|
+
//#region src/shortcuts/table/as-window-table.d.ts
|
|
214
|
+
declare const asWindowTableShortcuts: vunor_theme0.TVunorShortcut;
|
|
215
|
+
//#endregion
|
|
216
|
+
//#region src/shortcuts/table/index.d.ts
|
|
217
|
+
declare const tableShortcuts: vunor_theme0.TVunorShortcut;
|
|
218
|
+
//#endregion
|
|
219
|
+
//#region src/shortcuts/wf/as-wf-form.d.ts
|
|
220
|
+
declare const asWfFormShortcuts: vunor_theme0.TVunorShortcut;
|
|
221
|
+
//#endregion
|
|
222
|
+
//#region src/shortcuts/wf/index.d.ts
|
|
223
|
+
declare const wfShortcuts: vunor_theme0.TVunorShortcut;
|
|
224
|
+
//#endregion
|
|
225
|
+
//#region src/shortcuts/index.d.ts
|
|
226
|
+
declare const allShortcuts: vunor_theme0.TVunorShortcut;
|
|
227
|
+
//#endregion
|
|
228
|
+
//#region src/generated/component-classes.d.ts
|
|
229
|
+
declare const componentClasses: Record<string, readonly string[]>;
|
|
230
|
+
declare const helperAliases: Record<string, readonly string[]>;
|
|
231
|
+
declare const componentPackages: Record<string, "form" | "table" | "wf">;
|
|
232
|
+
declare function getComponentClasses(...names: string[]): string[];
|
|
233
|
+
declare function getHelperClasses(...helpers: string[]): string[];
|
|
234
|
+
//#endregion
|
|
235
|
+
//#region src/generated/baked-icons.d.ts
|
|
236
|
+
declare const bakedIcons: Record<string, string>;
|
|
237
|
+
//#endregion
|
|
238
|
+
export { type AsBaseUnoConfigOptions, type AsExtractorOptions, type AsPresetVunorOptions, type TVunorShortcut, allShortcuts, asActionFormShortcuts, asActionShortcuts, asArrayShortcuts, asCellShortcuts, asCheckboxRadioShortcuts, asCollapsibleShortcuts, asColumnMenuShortcuts, asConfigDialogShortcuts, asConfigTabShortcuts, asConfirmDialogShortcuts, asDecimalNumberShortcuts, asDropdownShortcuts, asFieldShortcuts, asFilterDialogShortcuts, asFilterFieldShortcuts, asFormGridShortcuts, asFormShortcuts, asFpillShortcuts, asNoDataShortcuts, asObjectShortcuts, asOrderableListShortcuts, asPageShortcuts, asPresetDialogShortcuts, asPresetPickerShortcuts, asPresetVunor, asRefShortcuts, asRowActionsShortcuts, asSorterShortcuts, asTableActionsShortcuts, asTableShortcuts, asWfFormShortcuts, asWindowScrollbarShortcuts, asWindowSkeletonShortcuts, asWindowTableShortcuts, bakedIcons, commonShortcuts, componentClasses, componentPackages, createAsBaseUnoConfig, createAsExtractor, defineShortcuts, formShortcuts, getComponentClasses, getHelperClasses, helperAliases, mergeVunorShortcuts, tableShortcuts, toUnoShortcut, wfShortcuts };
|
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1,238 @@
|
|
|
1
|
+
import * as vunor_theme0 from "vunor/theme";
|
|
2
|
+
import { TVunorShortcut, defineShortcuts, mergeVunorShortcuts, toUnoShortcut } from "vunor/theme";
|
|
3
|
+
import { Extractor, Preset } from "unocss";
|
|
4
|
+
|
|
5
|
+
//#region src/extractor.d.ts
|
|
6
|
+
interface AsExtractorOptions {
|
|
7
|
+
/**
|
|
8
|
+
* Kebab-case component names whose classes should NEVER be added to the
|
|
9
|
+
* safelist, even when the extractor matches them. Use to drop styles for
|
|
10
|
+
* default components the consumer has replaced with their own implementation.
|
|
11
|
+
*/
|
|
12
|
+
excludeComponents?: string[];
|
|
13
|
+
}
|
|
14
|
+
declare function createAsExtractor(opts?: AsExtractorOptions): Extractor;
|
|
15
|
+
//#endregion
|
|
16
|
+
//#region src/preset.d.ts
|
|
17
|
+
interface AsBaseUnoConfigOptions {
|
|
18
|
+
/** Forwarded to vunor's `baseRadius`; drives `rounded-base` and the `r0..r4` ladder. */
|
|
19
|
+
baseRadius?: string;
|
|
20
|
+
}
|
|
21
|
+
interface AsPresetVunorOptions extends AsBaseUnoConfigOptions {
|
|
22
|
+
/**
|
|
23
|
+
* Kebab-case component names whose classes the extractor should drop from
|
|
24
|
+
* the safelist (post-match). Use when the consumer has replaced a built-in
|
|
25
|
+
* default with their own implementation and wants to shed the unused styles.
|
|
26
|
+
* See STYLES.md Decision 15.
|
|
27
|
+
*/
|
|
28
|
+
excludeComponents?: string[];
|
|
29
|
+
/**
|
|
30
|
+
* Replace any of our built-in `i-as-<name>` icons with custom SVG strings.
|
|
31
|
+
* Keys are the semantic names listed in `bakedIcons` (e.g. `search`,
|
|
32
|
+
* `close`, `loading`). Values are full `<svg>...</svg>` strings — fetch
|
|
33
|
+
* them from anywhere, paste them inline, copy from another Iconify set,
|
|
34
|
+
* etc. Unknown keys are ignored. Built-in defaults remain untouched for
|
|
35
|
+
* any name not present in this map.
|
|
36
|
+
*/
|
|
37
|
+
iconOverrides?: Record<string, string>;
|
|
38
|
+
}
|
|
39
|
+
declare function asPresetVunor(options?: AsPresetVunorOptions): Preset[];
|
|
40
|
+
/**
|
|
41
|
+
* Cycle-breaking factory used by the class-extraction script and the
|
|
42
|
+
* pre-built CSS pipeline. Returns the same presets + shortcuts that
|
|
43
|
+
* consumers receive via `asPresetVunor()`, but without the safelist
|
|
44
|
+
* extractor — so the extraction script can compute the safelist that
|
|
45
|
+
* the extractor later imports.
|
|
46
|
+
*/
|
|
47
|
+
declare function createAsBaseUnoConfig(options?: AsBaseUnoConfigOptions): {
|
|
48
|
+
presets: Preset<object>[];
|
|
49
|
+
shortcuts: Record<string, string>[];
|
|
50
|
+
};
|
|
51
|
+
//#endregion
|
|
52
|
+
//#region src/shortcuts/common/index.d.ts
|
|
53
|
+
declare const commonShortcuts: vunor_theme0.TVunorShortcut;
|
|
54
|
+
//#endregion
|
|
55
|
+
//#region src/shortcuts/form/as-action.d.ts
|
|
56
|
+
declare const asActionShortcuts: vunor_theme0.TVunorShortcut;
|
|
57
|
+
//#endregion
|
|
58
|
+
//#region src/shortcuts/form/as-array.d.ts
|
|
59
|
+
declare const asArrayShortcuts: vunor_theme0.TVunorShortcut;
|
|
60
|
+
//#endregion
|
|
61
|
+
//#region src/shortcuts/form/as-checkbox-radio.d.ts
|
|
62
|
+
declare const asCheckboxRadioShortcuts: vunor_theme0.TVunorShortcut;
|
|
63
|
+
//#endregion
|
|
64
|
+
//#region src/shortcuts/form/as-collapsible.d.ts
|
|
65
|
+
declare const asCollapsibleShortcuts: vunor_theme0.TVunorShortcut;
|
|
66
|
+
//#endregion
|
|
67
|
+
//#region src/shortcuts/form/as-decimal-number.d.ts
|
|
68
|
+
declare const asDecimalNumberShortcuts: vunor_theme0.TVunorShortcut;
|
|
69
|
+
//#endregion
|
|
70
|
+
//#region src/shortcuts/form/as-dropdown.d.ts
|
|
71
|
+
declare const asDropdownShortcuts: vunor_theme0.TVunorShortcut;
|
|
72
|
+
//#endregion
|
|
73
|
+
//#region src/shortcuts/form/as-field.d.ts
|
|
74
|
+
declare const asFieldShortcuts: vunor_theme0.TVunorShortcut;
|
|
75
|
+
//#endregion
|
|
76
|
+
//#region src/shortcuts/form/as-form.d.ts
|
|
77
|
+
declare const asFormShortcuts: vunor_theme0.TVunorShortcut;
|
|
78
|
+
//#endregion
|
|
79
|
+
//#region src/shortcuts/form/as-form-grid.d.ts
|
|
80
|
+
/**
|
|
81
|
+
* 12-col grid scaffold for form children. Every struct/array/tuple body wraps
|
|
82
|
+
* its iteration in `as-form-grid`; every field's outer wrapper composes
|
|
83
|
+
* `as-grid-item` (default `col-span-full row-span-1` footprint, identical
|
|
84
|
+
* effect to today's stacked layout). Authors override the footprint via
|
|
85
|
+
* `@ui.form.grid.colSpan` / `@ui.form.grid.rowSpan`; AsField stamps the
|
|
86
|
+
* resolved classes (`col-span-N`, `row-span-N`, plus
|
|
87
|
+
* `as-narrow:col-span-N` / `as-narrow:row-span-N` for the narrow track)
|
|
88
|
+
* onto each field's outer wrapper.
|
|
89
|
+
*
|
|
90
|
+
* `[container-type:inline-size]` + `[container-name:as-grid]` register a
|
|
91
|
+
* named CSS containment context so the narrow variant `as-narrow:` (defined
|
|
92
|
+
* in the form-grid preset) resolves against this grid's inline size — not
|
|
93
|
+
* the viewport. Nested grids re-evaluate independently, so an inner grid
|
|
94
|
+
* inside a `colSpan "6"` slot stacks automatically when the outer hits
|
|
95
|
+
* narrow.
|
|
96
|
+
*/
|
|
97
|
+
declare const asFormGridShortcuts: vunor_theme0.TVunorShortcut;
|
|
98
|
+
//#endregion
|
|
99
|
+
//#region src/shortcuts/form/as-no-data.d.ts
|
|
100
|
+
declare const asNoDataShortcuts: vunor_theme0.TVunorShortcut;
|
|
101
|
+
//#endregion
|
|
102
|
+
//#region src/shortcuts/form/as-object.d.ts
|
|
103
|
+
declare const asObjectShortcuts: vunor_theme0.TVunorShortcut;
|
|
104
|
+
//#endregion
|
|
105
|
+
//#region src/shortcuts/form/as-ref.d.ts
|
|
106
|
+
declare const asRefShortcuts: vunor_theme0.TVunorShortcut;
|
|
107
|
+
//#endregion
|
|
108
|
+
//#region src/shortcuts/form/index.d.ts
|
|
109
|
+
declare const formShortcuts: vunor_theme0.TVunorShortcut;
|
|
110
|
+
//#endregion
|
|
111
|
+
//#region src/shortcuts/table/as-action-form.d.ts
|
|
112
|
+
declare const asActionFormShortcuts: vunor_theme0.TVunorShortcut;
|
|
113
|
+
//#endregion
|
|
114
|
+
//#region src/shortcuts/table/as-cell.d.ts
|
|
115
|
+
declare const asCellShortcuts: vunor_theme0.TVunorShortcut;
|
|
116
|
+
//#endregion
|
|
117
|
+
//#region src/shortcuts/table/as-column-menu.d.ts
|
|
118
|
+
declare const asColumnMenuShortcuts: vunor_theme0.TVunorShortcut;
|
|
119
|
+
//#endregion
|
|
120
|
+
//#region src/shortcuts/table/as-config-dialog.d.ts
|
|
121
|
+
declare const asConfigDialogShortcuts: vunor_theme0.TVunorShortcut;
|
|
122
|
+
//#endregion
|
|
123
|
+
//#region src/shortcuts/table/as-config-tab.d.ts
|
|
124
|
+
declare const asConfigTabShortcuts: vunor_theme0.TVunorShortcut;
|
|
125
|
+
//#endregion
|
|
126
|
+
//#region src/shortcuts/table/as-confirm-dialog.d.ts
|
|
127
|
+
/**
|
|
128
|
+
* `<AsConfirmDialog>` Tier-2 default. Replaces `window.confirm()` for action
|
|
129
|
+
* prompts. Compact dialog (no full-screen mobile takeover — confirm prompts
|
|
130
|
+
* are short and read better as a centered card on every viewport).
|
|
131
|
+
*
|
|
132
|
+
* Confirm button intent variants mirror `as-table-actions-intent-*`: the
|
|
133
|
+
* caller passes `intent` from the action; this shortcut surface flips the
|
|
134
|
+
* scope so `negative → scope-error`, `positive → scope-good`, etc. without
|
|
135
|
+
* the consumer touching colors directly.
|
|
136
|
+
*/
|
|
137
|
+
declare const asConfirmDialogShortcuts: vunor_theme0.TVunorShortcut;
|
|
138
|
+
//#endregion
|
|
139
|
+
//#region src/shortcuts/table/as-filter-dialog.d.ts
|
|
140
|
+
declare const asFilterDialogShortcuts: vunor_theme0.TVunorShortcut;
|
|
141
|
+
//#endregion
|
|
142
|
+
//#region src/shortcuts/table/as-filter-field.d.ts
|
|
143
|
+
declare const asFilterFieldShortcuts: vunor_theme0.TVunorShortcut;
|
|
144
|
+
//#endregion
|
|
145
|
+
//#region src/shortcuts/table/as-fpill.d.ts
|
|
146
|
+
declare const asFpillShortcuts: vunor_theme0.TVunorShortcut;
|
|
147
|
+
//#endregion
|
|
148
|
+
//#region src/shortcuts/table/as-orderable-list.d.ts
|
|
149
|
+
declare const asOrderableListShortcuts: vunor_theme0.TVunorShortcut;
|
|
150
|
+
//#endregion
|
|
151
|
+
//#region src/shortcuts/table/as-page.d.ts
|
|
152
|
+
declare const asPageShortcuts: vunor_theme0.TVunorShortcut;
|
|
153
|
+
//#endregion
|
|
154
|
+
//#region src/shortcuts/table/as-preset-dialog.d.ts
|
|
155
|
+
/**
|
|
156
|
+
* `<AsPresetDialog>` Tier-2 default. Centred-card management dialog
|
|
157
|
+
* (mirroring `<AsConfirmDialog>` chrome) with a single scrollable list of
|
|
158
|
+
* preset rows. Composed exclusively through vunor primitives so consumer
|
|
159
|
+
* themes re-skin without touching this file.
|
|
160
|
+
*/
|
|
161
|
+
declare const asPresetDialogShortcuts: vunor_theme0.TVunorShortcut;
|
|
162
|
+
//#endregion
|
|
163
|
+
//#region src/shortcuts/table/as-preset-picker.d.ts
|
|
164
|
+
/**
|
|
165
|
+
* `<AsPresetPicker>` Tier-1 dropdown shortcuts. Built on `DropdownMenuRoot`
|
|
166
|
+
* so all keyboard / focus management comes from reka-ui. Composed only
|
|
167
|
+
* through vunor primitives (`scope-*`, `layer-*`, `c8-*`, `i8-*`,
|
|
168
|
+
* `fingertip-*`, spacing tokens) so consumer themes re-skin the picker
|
|
169
|
+
* without touching this file.
|
|
170
|
+
*
|
|
171
|
+
* Class families:
|
|
172
|
+
* `as-preset-picker` — outermost wrapper (inline-block)
|
|
173
|
+
* `as-preset-picker-trigger` — main button (label + ★ + `*` + chevron)
|
|
174
|
+
* `as-preset-picker-menu` — dropdown content panel
|
|
175
|
+
* `as-preset-picker-section-*` — section header / list
|
|
176
|
+
* `as-preset-picker-item` — preset row (system / favorite / mine / public)
|
|
177
|
+
* `as-preset-picker-separator` — group separator
|
|
178
|
+
* `as-preset-picker-action` — Save / Save as / Reset / Manage actions
|
|
179
|
+
* `as-preset-picker-popover-*` — inline Save-as popover
|
|
180
|
+
*/
|
|
181
|
+
declare const asPresetPickerShortcuts: vunor_theme0.TVunorShortcut;
|
|
182
|
+
//#endregion
|
|
183
|
+
//#region src/shortcuts/table/as-row-actions.d.ts
|
|
184
|
+
/**
|
|
185
|
+
* Per-row actions cell shortcuts. Renders inside a `<td>`. Always exactly
|
|
186
|
+
* one button (icon, label-text, or `…` dropdown trigger). Intent maps to
|
|
187
|
+
* vunor scope via {@link buildActionsIntentVariants} — see _shared.ts for
|
|
188
|
+
* the dual-context (filled-button + menu-item) intent rules.
|
|
189
|
+
*/
|
|
190
|
+
declare const asRowActionsShortcuts: vunor_theme0.TVunorShortcut;
|
|
191
|
+
//#endregion
|
|
192
|
+
//#region src/shortcuts/table/as-sorter.d.ts
|
|
193
|
+
declare const asSorterShortcuts: vunor_theme0.TVunorShortcut;
|
|
194
|
+
//#endregion
|
|
195
|
+
//#region src/shortcuts/table/as-table-actions.d.ts
|
|
196
|
+
/**
|
|
197
|
+
* `<AsTableActions>` Tier-1 toolbar bar shortcuts. Renders a single default
|
|
198
|
+
* button + a `…` more-menu. Intent maps to vunor scope via
|
|
199
|
+
* {@link buildActionsIntentVariants} — see _shared.ts for the dual-context
|
|
200
|
+
* (filled-button + menu-item) intent rules.
|
|
201
|
+
*/
|
|
202
|
+
declare const asTableActionsShortcuts: vunor_theme0.TVunorShortcut;
|
|
203
|
+
//#endregion
|
|
204
|
+
//#region src/shortcuts/table/as-table.d.ts
|
|
205
|
+
declare const asTableShortcuts: vunor_theme0.TVunorShortcut;
|
|
206
|
+
//#endregion
|
|
207
|
+
//#region src/shortcuts/table/as-window-scrollbar.d.ts
|
|
208
|
+
declare const asWindowScrollbarShortcuts: vunor_theme0.TVunorShortcut;
|
|
209
|
+
//#endregion
|
|
210
|
+
//#region src/shortcuts/table/as-window-skeleton.d.ts
|
|
211
|
+
declare const asWindowSkeletonShortcuts: vunor_theme0.TVunorShortcut;
|
|
212
|
+
//#endregion
|
|
213
|
+
//#region src/shortcuts/table/as-window-table.d.ts
|
|
214
|
+
declare const asWindowTableShortcuts: vunor_theme0.TVunorShortcut;
|
|
215
|
+
//#endregion
|
|
216
|
+
//#region src/shortcuts/table/index.d.ts
|
|
217
|
+
declare const tableShortcuts: vunor_theme0.TVunorShortcut;
|
|
218
|
+
//#endregion
|
|
219
|
+
//#region src/shortcuts/wf/as-wf-form.d.ts
|
|
220
|
+
declare const asWfFormShortcuts: vunor_theme0.TVunorShortcut;
|
|
221
|
+
//#endregion
|
|
222
|
+
//#region src/shortcuts/wf/index.d.ts
|
|
223
|
+
declare const wfShortcuts: vunor_theme0.TVunorShortcut;
|
|
224
|
+
//#endregion
|
|
225
|
+
//#region src/shortcuts/index.d.ts
|
|
226
|
+
declare const allShortcuts: vunor_theme0.TVunorShortcut;
|
|
227
|
+
//#endregion
|
|
228
|
+
//#region src/generated/component-classes.d.ts
|
|
229
|
+
declare const componentClasses: Record<string, readonly string[]>;
|
|
230
|
+
declare const helperAliases: Record<string, readonly string[]>;
|
|
231
|
+
declare const componentPackages: Record<string, "form" | "table" | "wf">;
|
|
232
|
+
declare function getComponentClasses(...names: string[]): string[];
|
|
233
|
+
declare function getHelperClasses(...helpers: string[]): string[];
|
|
234
|
+
//#endregion
|
|
235
|
+
//#region src/generated/baked-icons.d.ts
|
|
236
|
+
declare const bakedIcons: Record<string, string>;
|
|
237
|
+
//#endregion
|
|
238
|
+
export { type AsBaseUnoConfigOptions, type AsExtractorOptions, type AsPresetVunorOptions, type TVunorShortcut, allShortcuts, asActionFormShortcuts, asActionShortcuts, asArrayShortcuts, asCellShortcuts, asCheckboxRadioShortcuts, asCollapsibleShortcuts, asColumnMenuShortcuts, asConfigDialogShortcuts, asConfigTabShortcuts, asConfirmDialogShortcuts, asDecimalNumberShortcuts, asDropdownShortcuts, asFieldShortcuts, asFilterDialogShortcuts, asFilterFieldShortcuts, asFormGridShortcuts, asFormShortcuts, asFpillShortcuts, asNoDataShortcuts, asObjectShortcuts, asOrderableListShortcuts, asPageShortcuts, asPresetDialogShortcuts, asPresetPickerShortcuts, asPresetVunor, asRefShortcuts, asRowActionsShortcuts, asSorterShortcuts, asTableActionsShortcuts, asTableShortcuts, asWfFormShortcuts, asWindowScrollbarShortcuts, asWindowSkeletonShortcuts, asWindowTableShortcuts, bakedIcons, commonShortcuts, componentClasses, componentPackages, createAsBaseUnoConfig, createAsExtractor, defineShortcuts, formShortcuts, getComponentClasses, getHelperClasses, helperAliases, mergeVunorShortcuts, tableShortcuts, toUnoShortcut, wfShortcuts };
|