@atscript/ui-styles 0.1.74 → 0.1.76
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/dist/css/all.css +20 -2
- package/dist/css/aooth.css +536 -0
- package/dist/index.cjs +45 -4
- package/dist/index.d.cts +11 -2
- package/dist/index.d.mts +11 -2
- package/dist/index.mjs +43 -5
- package/dist/{kebab-BPHnHEi8.cjs → kebab-BOuhgNxo.cjs} +269 -0
- package/dist/{kebab-CZWRZ3O6.mjs → kebab-DDXVyWuJ.mjs} +269 -0
- package/dist/vite.cjs +3 -2
- package/dist/vite.mjs +3 -2
- package/package.json +11 -9
package/dist/index.cjs
CHANGED
|
@@ -21,7 +21,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
21
21
|
enumerable: true
|
|
22
22
|
}) : target, mod));
|
|
23
23
|
//#endregion
|
|
24
|
-
const require_kebab = require("./kebab-
|
|
24
|
+
const require_kebab = require("./kebab-BOuhgNxo.cjs");
|
|
25
25
|
let _unocss_preset_icons = require("@unocss/preset-icons");
|
|
26
26
|
_unocss_preset_icons = __toESM(_unocss_preset_icons);
|
|
27
27
|
let vunor_theme = require("vunor/theme");
|
|
@@ -43,8 +43,8 @@ function createAsExtractor(opts = {}) {
|
|
|
43
43
|
if (!list) return;
|
|
44
44
|
for (const cls of list) matched.add(cls);
|
|
45
45
|
};
|
|
46
|
-
for (const [, name] of code.matchAll(/['"]@atscript\/(?:vue-form|vue-table|vue-wf)\/(as-[\w-]+)['"]/g)) addClassesFor(name);
|
|
47
|
-
for (const [, names] of code.matchAll(/import\s*(?:type\s*)?\{([^}]+)\}\s*from\s*['"]@atscript\/(?:vue-form|vue-table|vue-wf)['"]/g)) for (const ident of names.split(",")) {
|
|
46
|
+
for (const [, name] of code.matchAll(/['"]@atscript\/(?:vue-form|vue-table|vue-wf|vue-aooth)\/(as-[\w-]+)['"]/g)) addClassesFor(name);
|
|
47
|
+
for (const [, names] of code.matchAll(/import\s*(?:type\s*)?\{([^}]+)\}\s*from\s*['"]@atscript\/(?:vue-form|vue-table|vue-wf|vue-aooth)['"]/g)) for (const ident of names.split(",")) {
|
|
48
48
|
const name = ident.trim().split(/\s+as\s+/)[0];
|
|
49
49
|
if (/^As[A-Z]/.test(name)) addClassesFor(require_kebab.kebabize(name));
|
|
50
50
|
}
|
|
@@ -99,6 +99,43 @@ const bakedIcons = {
|
|
|
99
99
|
warning: "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"1em\" height=\"1em\" viewBox=\"0 0 256 256\"><path fill=\"currentColor\" d=\"M128 24a104 104 0 1 0 104 104A104.11 104.11 0 0 0 128 24m0 192a88 88 0 1 1 88-88a88.1 88.1 0 0 1-88 88m-8-80V80a8 8 0 0 1 16 0v56a8 8 0 0 1-16 0m20 36a12 12 0 1 1-12-12a12 12 0 0 1 12 12\"/></svg>"
|
|
100
100
|
};
|
|
101
101
|
//#endregion
|
|
102
|
+
//#region src/shortcuts/aooth/as-consent-array.ts
|
|
103
|
+
const asConsentArrayShortcuts = (0, vunor_theme.defineShortcuts)({
|
|
104
|
+
"as-consent-array-group": "flex flex-col gap-$s w-full",
|
|
105
|
+
"as-consent-array-item": "flex flex-col gap-$xxs",
|
|
106
|
+
"as-consent-array-row": {
|
|
107
|
+
"": "flex items-center gap-$s text-current cursor-pointer font-normal w-full min-w-0",
|
|
108
|
+
"[&_input[type=checkbox]]:": "scope-primary size-[1em] m-0 p-0 border-0 shadow-none bg-transparent [accent-color:rgb(var(--current-hl))] cursor-pointer",
|
|
109
|
+
"[&_.as-consent-array-text]:": "flex-1 min-w-0"
|
|
110
|
+
},
|
|
111
|
+
"as-consent-array-text": { "[&.required]:after:": "content-[\"_*\"] scope-error text-current-hl font-700 ml-[0.1em]" },
|
|
112
|
+
"as-consent-array-link": {
|
|
113
|
+
"": "scope-primary text-current-hl underline underline-offset-2",
|
|
114
|
+
"hover:": "text-current-hl/80",
|
|
115
|
+
"focus-visible:": "outline i8-apply-outline"
|
|
116
|
+
}
|
|
117
|
+
});
|
|
118
|
+
//#endregion
|
|
119
|
+
//#region src/shortcuts/aooth/as-password-rules.ts
|
|
120
|
+
const asPasswordRulesShortcuts = (0, vunor_theme.defineShortcuts)({
|
|
121
|
+
"as-password-rules": "p-$s rounded-base text-callout",
|
|
122
|
+
"as-password-rules-list": "flex flex-col gap-$xs w-full",
|
|
123
|
+
"as-password-rules-row": {
|
|
124
|
+
"": "flex items-center gap-$s text-current/60 transition-colors duration-140",
|
|
125
|
+
"[&[data-passed='true']]:": "scope-good text-current-hl"
|
|
126
|
+
},
|
|
127
|
+
"as-password-rules-icon": {
|
|
128
|
+
"": "inline-flex items-center justify-center size-[1em] flex-shrink-0",
|
|
129
|
+
"[[data-passed='false']>&]:": "border-1 rounded-full",
|
|
130
|
+
"[[data-passed='true']>&]:": "i-as-check"
|
|
131
|
+
},
|
|
132
|
+
"as-password-rules-text": "flex-1 min-w-0",
|
|
133
|
+
"as-password-rules-empty": "flex items-center justify-center gap-$s h-fingertip-m px-$m w-full border-1 border-dashed rounded-base bg-transparent text-current/60 text-callout"
|
|
134
|
+
});
|
|
135
|
+
//#endregion
|
|
136
|
+
//#region src/shortcuts/aooth/index.ts
|
|
137
|
+
const aoothShortcuts = (0, vunor_theme.mergeVunorShortcuts)([asConsentArrayShortcuts, asPasswordRulesShortcuts]);
|
|
138
|
+
//#endregion
|
|
102
139
|
//#region src/shortcuts/common/c8-progress.ts
|
|
103
140
|
const c8ProgressShortcuts = (0, vunor_theme.defineShortcuts)({
|
|
104
141
|
"c8-progress": "relative overflow-hidden",
|
|
@@ -1280,7 +1317,8 @@ const allShortcuts = (0, vunor_theme.mergeVunorShortcuts)([
|
|
|
1280
1317
|
commonShortcuts,
|
|
1281
1318
|
formShortcuts,
|
|
1282
1319
|
tableShortcuts,
|
|
1283
|
-
wfShortcuts
|
|
1320
|
+
wfShortcuts,
|
|
1321
|
+
aoothShortcuts
|
|
1284
1322
|
]);
|
|
1285
1323
|
//#endregion
|
|
1286
1324
|
//#region src/preset.ts
|
|
@@ -1470,6 +1508,7 @@ function createAsBaseUnoConfig(options = {}) {
|
|
|
1470
1508
|
}
|
|
1471
1509
|
//#endregion
|
|
1472
1510
|
exports.allShortcuts = allShortcuts;
|
|
1511
|
+
exports.aoothShortcuts = aoothShortcuts;
|
|
1473
1512
|
exports.asActionFormShortcuts = asActionFormShortcuts;
|
|
1474
1513
|
exports.asActionShortcuts = asActionShortcuts;
|
|
1475
1514
|
exports.asArrayShortcuts = asArrayShortcuts;
|
|
@@ -1480,6 +1519,7 @@ exports.asColumnMenuShortcuts = asColumnMenuShortcuts;
|
|
|
1480
1519
|
exports.asConfigDialogShortcuts = asConfigDialogShortcuts;
|
|
1481
1520
|
exports.asConfigTabShortcuts = asConfigTabShortcuts;
|
|
1482
1521
|
exports.asConfirmDialogShortcuts = asConfirmDialogShortcuts;
|
|
1522
|
+
exports.asConsentArrayShortcuts = asConsentArrayShortcuts;
|
|
1483
1523
|
exports.asDecimalNumberShortcuts = asDecimalNumberShortcuts;
|
|
1484
1524
|
exports.asDropdownShortcuts = asDropdownShortcuts;
|
|
1485
1525
|
exports.asFieldShortcuts = asFieldShortcuts;
|
|
@@ -1493,6 +1533,7 @@ exports.asNoDataShortcuts = asNoDataShortcuts;
|
|
|
1493
1533
|
exports.asObjectShortcuts = asObjectShortcuts;
|
|
1494
1534
|
exports.asOrderableListShortcuts = asOrderableListShortcuts;
|
|
1495
1535
|
exports.asPageShortcuts = asPageShortcuts;
|
|
1536
|
+
exports.asPasswordRulesShortcuts = asPasswordRulesShortcuts;
|
|
1496
1537
|
exports.asPresetDialogShortcuts = asPresetDialogShortcuts;
|
|
1497
1538
|
exports.asPresetPickerShortcuts = asPresetPickerShortcuts;
|
|
1498
1539
|
exports.asPresetVunor = asPresetVunor;
|
package/dist/index.d.cts
CHANGED
|
@@ -60,6 +60,15 @@ declare function createAsBaseUnoConfig(options?: AsBaseUnoConfigOptions): {
|
|
|
60
60
|
shortcuts: Record<string, string>[];
|
|
61
61
|
};
|
|
62
62
|
//#endregion
|
|
63
|
+
//#region src/shortcuts/aooth/as-consent-array.d.ts
|
|
64
|
+
declare const asConsentArrayShortcuts: vunor_theme0.TVunorShortcut;
|
|
65
|
+
//#endregion
|
|
66
|
+
//#region src/shortcuts/aooth/as-password-rules.d.ts
|
|
67
|
+
declare const asPasswordRulesShortcuts: vunor_theme0.TVunorShortcut;
|
|
68
|
+
//#endregion
|
|
69
|
+
//#region src/shortcuts/aooth/index.d.ts
|
|
70
|
+
declare const aoothShortcuts: vunor_theme0.TVunorShortcut;
|
|
71
|
+
//#endregion
|
|
63
72
|
//#region src/shortcuts/common/index.d.ts
|
|
64
73
|
declare const commonShortcuts: vunor_theme0.TVunorShortcut;
|
|
65
74
|
//#endregion
|
|
@@ -266,11 +275,11 @@ declare const allShortcuts: vunor_theme0.TVunorShortcut;
|
|
|
266
275
|
//#region src/generated/component-classes.d.ts
|
|
267
276
|
declare const componentClasses: Record<string, readonly string[]>;
|
|
268
277
|
declare const helperAliases: Record<string, readonly string[]>;
|
|
269
|
-
declare const componentPackages: Record<string, "form" | "table" | "wf">;
|
|
278
|
+
declare const componentPackages: Record<string, "form" | "table" | "wf" | "aooth">;
|
|
270
279
|
declare function getComponentClasses(...names: string[]): string[];
|
|
271
280
|
declare function getHelperClasses(...helpers: string[]): string[];
|
|
272
281
|
//#endregion
|
|
273
282
|
//#region src/generated/baked-icons.d.ts
|
|
274
283
|
declare const bakedIcons: Record<string, string>;
|
|
275
284
|
//#endregion
|
|
276
|
-
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, asMultiSelectShortcuts, asNoDataShortcuts, asObjectShortcuts, asOrderableListShortcuts, asPageShortcuts, asPresetDialogShortcuts, asPresetPickerShortcuts, asPresetVunor, asRefShortcuts, asRowActionsShortcuts, asSorterShortcuts, asTableActionsShortcuts, asTableShortcuts, asWfFinishActionsShortcuts, asWfFinishCountdownShortcuts, asWfFinishMessageShortcuts, asWfFinishOptionShortcuts, asWfFinishPrimaryShortcuts, asWfFinishShortcuts, asWfFinishSkipShortcuts, asWfFormLoadingShortcuts, asWfFormShortcuts, asWindowScrollbarShortcuts, asWindowSkeletonShortcuts, asWindowTableShortcuts, bakedIcons, commonShortcuts, componentClasses, componentPackages, createAsBaseUnoConfig, createAsExtractor, defineShortcuts, formShortcuts, getComponentClasses, getHelperClasses, helperAliases, mergeVunorShortcuts, tableShortcuts, toUnoShortcut, wfShortcuts };
|
|
285
|
+
export { type AsBaseUnoConfigOptions, type AsExtractorOptions, type AsPresetVunorOptions, type TVunorShortcut, allShortcuts, aoothShortcuts, asActionFormShortcuts, asActionShortcuts, asArrayShortcuts, asCellShortcuts, asCheckboxRadioShortcuts, asCollapsibleShortcuts, asColumnMenuShortcuts, asConfigDialogShortcuts, asConfigTabShortcuts, asConfirmDialogShortcuts, asConsentArrayShortcuts, asDecimalNumberShortcuts, asDropdownShortcuts, asFieldShortcuts, asFilterDialogShortcuts, asFilterFieldShortcuts, asFormGridShortcuts, asFormShortcuts, asFpillShortcuts, asMultiSelectShortcuts, asNoDataShortcuts, asObjectShortcuts, asOrderableListShortcuts, asPageShortcuts, asPasswordRulesShortcuts, asPresetDialogShortcuts, asPresetPickerShortcuts, asPresetVunor, asRefShortcuts, asRowActionsShortcuts, asSorterShortcuts, asTableActionsShortcuts, asTableShortcuts, asWfFinishActionsShortcuts, asWfFinishCountdownShortcuts, asWfFinishMessageShortcuts, asWfFinishOptionShortcuts, asWfFinishPrimaryShortcuts, asWfFinishShortcuts, asWfFinishSkipShortcuts, asWfFormLoadingShortcuts, asWfFormShortcuts, asWindowScrollbarShortcuts, asWindowSkeletonShortcuts, asWindowTableShortcuts, bakedIcons, commonShortcuts, componentClasses, componentPackages, createAsBaseUnoConfig, createAsExtractor, defineShortcuts, formShortcuts, getComponentClasses, getHelperClasses, helperAliases, mergeVunorShortcuts, tableShortcuts, toUnoShortcut, wfShortcuts };
|
package/dist/index.d.mts
CHANGED
|
@@ -60,6 +60,15 @@ declare function createAsBaseUnoConfig(options?: AsBaseUnoConfigOptions): {
|
|
|
60
60
|
shortcuts: Record<string, string>[];
|
|
61
61
|
};
|
|
62
62
|
//#endregion
|
|
63
|
+
//#region src/shortcuts/aooth/as-consent-array.d.ts
|
|
64
|
+
declare const asConsentArrayShortcuts: vunor_theme0.TVunorShortcut;
|
|
65
|
+
//#endregion
|
|
66
|
+
//#region src/shortcuts/aooth/as-password-rules.d.ts
|
|
67
|
+
declare const asPasswordRulesShortcuts: vunor_theme0.TVunorShortcut;
|
|
68
|
+
//#endregion
|
|
69
|
+
//#region src/shortcuts/aooth/index.d.ts
|
|
70
|
+
declare const aoothShortcuts: vunor_theme0.TVunorShortcut;
|
|
71
|
+
//#endregion
|
|
63
72
|
//#region src/shortcuts/common/index.d.ts
|
|
64
73
|
declare const commonShortcuts: vunor_theme0.TVunorShortcut;
|
|
65
74
|
//#endregion
|
|
@@ -266,11 +275,11 @@ declare const allShortcuts: vunor_theme0.TVunorShortcut;
|
|
|
266
275
|
//#region src/generated/component-classes.d.ts
|
|
267
276
|
declare const componentClasses: Record<string, readonly string[]>;
|
|
268
277
|
declare const helperAliases: Record<string, readonly string[]>;
|
|
269
|
-
declare const componentPackages: Record<string, "form" | "table" | "wf">;
|
|
278
|
+
declare const componentPackages: Record<string, "form" | "table" | "wf" | "aooth">;
|
|
270
279
|
declare function getComponentClasses(...names: string[]): string[];
|
|
271
280
|
declare function getHelperClasses(...helpers: string[]): string[];
|
|
272
281
|
//#endregion
|
|
273
282
|
//#region src/generated/baked-icons.d.ts
|
|
274
283
|
declare const bakedIcons: Record<string, string>;
|
|
275
284
|
//#endregion
|
|
276
|
-
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, asMultiSelectShortcuts, asNoDataShortcuts, asObjectShortcuts, asOrderableListShortcuts, asPageShortcuts, asPresetDialogShortcuts, asPresetPickerShortcuts, asPresetVunor, asRefShortcuts, asRowActionsShortcuts, asSorterShortcuts, asTableActionsShortcuts, asTableShortcuts, asWfFinishActionsShortcuts, asWfFinishCountdownShortcuts, asWfFinishMessageShortcuts, asWfFinishOptionShortcuts, asWfFinishPrimaryShortcuts, asWfFinishShortcuts, asWfFinishSkipShortcuts, asWfFormLoadingShortcuts, asWfFormShortcuts, asWindowScrollbarShortcuts, asWindowSkeletonShortcuts, asWindowTableShortcuts, bakedIcons, commonShortcuts, componentClasses, componentPackages, createAsBaseUnoConfig, createAsExtractor, defineShortcuts, formShortcuts, getComponentClasses, getHelperClasses, helperAliases, mergeVunorShortcuts, tableShortcuts, toUnoShortcut, wfShortcuts };
|
|
285
|
+
export { type AsBaseUnoConfigOptions, type AsExtractorOptions, type AsPresetVunorOptions, type TVunorShortcut, allShortcuts, aoothShortcuts, asActionFormShortcuts, asActionShortcuts, asArrayShortcuts, asCellShortcuts, asCheckboxRadioShortcuts, asCollapsibleShortcuts, asColumnMenuShortcuts, asConfigDialogShortcuts, asConfigTabShortcuts, asConfirmDialogShortcuts, asConsentArrayShortcuts, asDecimalNumberShortcuts, asDropdownShortcuts, asFieldShortcuts, asFilterDialogShortcuts, asFilterFieldShortcuts, asFormGridShortcuts, asFormShortcuts, asFpillShortcuts, asMultiSelectShortcuts, asNoDataShortcuts, asObjectShortcuts, asOrderableListShortcuts, asPageShortcuts, asPasswordRulesShortcuts, asPresetDialogShortcuts, asPresetPickerShortcuts, asPresetVunor, asRefShortcuts, asRowActionsShortcuts, asSorterShortcuts, asTableActionsShortcuts, asTableShortcuts, asWfFinishActionsShortcuts, asWfFinishCountdownShortcuts, asWfFinishMessageShortcuts, asWfFinishOptionShortcuts, asWfFinishPrimaryShortcuts, asWfFinishShortcuts, asWfFinishSkipShortcuts, asWfFormLoadingShortcuts, asWfFormShortcuts, asWindowScrollbarShortcuts, asWindowSkeletonShortcuts, asWindowTableShortcuts, bakedIcons, commonShortcuts, componentClasses, componentPackages, createAsBaseUnoConfig, createAsExtractor, defineShortcuts, formShortcuts, getComponentClasses, getHelperClasses, helperAliases, mergeVunorShortcuts, tableShortcuts, toUnoShortcut, wfShortcuts };
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as getHelperClasses, i as getComponentClasses, n as componentClasses, o as helperAliases, r as componentPackages, t as kebabize } from "./kebab-
|
|
1
|
+
import { a as getHelperClasses, i as getComponentClasses, n as componentClasses, o as helperAliases, r as componentPackages, t as kebabize } from "./kebab-DDXVyWuJ.mjs";
|
|
2
2
|
import presetIcons from "@unocss/preset-icons";
|
|
3
3
|
import { defineShortcuts, defineShortcuts as defineShortcuts$1, mergeVunorShortcuts, mergeVunorShortcuts as mergeVunorShortcuts$1, presetVunor, toUnoShortcut, vunorShortcuts } from "vunor/theme";
|
|
4
4
|
//#region src/extractor.ts
|
|
@@ -19,8 +19,8 @@ function createAsExtractor(opts = {}) {
|
|
|
19
19
|
if (!list) return;
|
|
20
20
|
for (const cls of list) matched.add(cls);
|
|
21
21
|
};
|
|
22
|
-
for (const [, name] of code.matchAll(/['"]@atscript\/(?:vue-form|vue-table|vue-wf)\/(as-[\w-]+)['"]/g)) addClassesFor(name);
|
|
23
|
-
for (const [, names] of code.matchAll(/import\s*(?:type\s*)?\{([^}]+)\}\s*from\s*['"]@atscript\/(?:vue-form|vue-table|vue-wf)['"]/g)) for (const ident of names.split(",")) {
|
|
22
|
+
for (const [, name] of code.matchAll(/['"]@atscript\/(?:vue-form|vue-table|vue-wf|vue-aooth)\/(as-[\w-]+)['"]/g)) addClassesFor(name);
|
|
23
|
+
for (const [, names] of code.matchAll(/import\s*(?:type\s*)?\{([^}]+)\}\s*from\s*['"]@atscript\/(?:vue-form|vue-table|vue-wf|vue-aooth)['"]/g)) for (const ident of names.split(",")) {
|
|
24
24
|
const name = ident.trim().split(/\s+as\s+/)[0];
|
|
25
25
|
if (/^As[A-Z]/.test(name)) addClassesFor(kebabize(name));
|
|
26
26
|
}
|
|
@@ -75,6 +75,43 @@ const bakedIcons = {
|
|
|
75
75
|
warning: "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"1em\" height=\"1em\" viewBox=\"0 0 256 256\"><path fill=\"currentColor\" d=\"M128 24a104 104 0 1 0 104 104A104.11 104.11 0 0 0 128 24m0 192a88 88 0 1 1 88-88a88.1 88.1 0 0 1-88 88m-8-80V80a8 8 0 0 1 16 0v56a8 8 0 0 1-16 0m20 36a12 12 0 1 1-12-12a12 12 0 0 1 12 12\"/></svg>"
|
|
76
76
|
};
|
|
77
77
|
//#endregion
|
|
78
|
+
//#region src/shortcuts/aooth/as-consent-array.ts
|
|
79
|
+
const asConsentArrayShortcuts = defineShortcuts$1({
|
|
80
|
+
"as-consent-array-group": "flex flex-col gap-$s w-full",
|
|
81
|
+
"as-consent-array-item": "flex flex-col gap-$xxs",
|
|
82
|
+
"as-consent-array-row": {
|
|
83
|
+
"": "flex items-center gap-$s text-current cursor-pointer font-normal w-full min-w-0",
|
|
84
|
+
"[&_input[type=checkbox]]:": "scope-primary size-[1em] m-0 p-0 border-0 shadow-none bg-transparent [accent-color:rgb(var(--current-hl))] cursor-pointer",
|
|
85
|
+
"[&_.as-consent-array-text]:": "flex-1 min-w-0"
|
|
86
|
+
},
|
|
87
|
+
"as-consent-array-text": { "[&.required]:after:": "content-[\"_*\"] scope-error text-current-hl font-700 ml-[0.1em]" },
|
|
88
|
+
"as-consent-array-link": {
|
|
89
|
+
"": "scope-primary text-current-hl underline underline-offset-2",
|
|
90
|
+
"hover:": "text-current-hl/80",
|
|
91
|
+
"focus-visible:": "outline i8-apply-outline"
|
|
92
|
+
}
|
|
93
|
+
});
|
|
94
|
+
//#endregion
|
|
95
|
+
//#region src/shortcuts/aooth/as-password-rules.ts
|
|
96
|
+
const asPasswordRulesShortcuts = defineShortcuts$1({
|
|
97
|
+
"as-password-rules": "p-$s rounded-base text-callout",
|
|
98
|
+
"as-password-rules-list": "flex flex-col gap-$xs w-full",
|
|
99
|
+
"as-password-rules-row": {
|
|
100
|
+
"": "flex items-center gap-$s text-current/60 transition-colors duration-140",
|
|
101
|
+
"[&[data-passed='true']]:": "scope-good text-current-hl"
|
|
102
|
+
},
|
|
103
|
+
"as-password-rules-icon": {
|
|
104
|
+
"": "inline-flex items-center justify-center size-[1em] flex-shrink-0",
|
|
105
|
+
"[[data-passed='false']>&]:": "border-1 rounded-full",
|
|
106
|
+
"[[data-passed='true']>&]:": "i-as-check"
|
|
107
|
+
},
|
|
108
|
+
"as-password-rules-text": "flex-1 min-w-0",
|
|
109
|
+
"as-password-rules-empty": "flex items-center justify-center gap-$s h-fingertip-m px-$m w-full border-1 border-dashed rounded-base bg-transparent text-current/60 text-callout"
|
|
110
|
+
});
|
|
111
|
+
//#endregion
|
|
112
|
+
//#region src/shortcuts/aooth/index.ts
|
|
113
|
+
const aoothShortcuts = mergeVunorShortcuts$1([asConsentArrayShortcuts, asPasswordRulesShortcuts]);
|
|
114
|
+
//#endregion
|
|
78
115
|
//#region src/shortcuts/common/c8-progress.ts
|
|
79
116
|
const c8ProgressShortcuts = defineShortcuts$1({
|
|
80
117
|
"c8-progress": "relative overflow-hidden",
|
|
@@ -1253,7 +1290,8 @@ const allShortcuts = mergeVunorShortcuts$1([
|
|
|
1253
1290
|
commonShortcuts,
|
|
1254
1291
|
formShortcuts,
|
|
1255
1292
|
tableShortcuts,
|
|
1256
|
-
wfShortcuts
|
|
1293
|
+
wfShortcuts,
|
|
1294
|
+
aoothShortcuts
|
|
1257
1295
|
]);
|
|
1258
1296
|
//#endregion
|
|
1259
1297
|
//#region src/preset.ts
|
|
@@ -1442,4 +1480,4 @@ function createAsBaseUnoConfig(options = {}) {
|
|
|
1442
1480
|
};
|
|
1443
1481
|
}
|
|
1444
1482
|
//#endregion
|
|
1445
|
-
export { allShortcuts, asActionFormShortcuts, asActionShortcuts, asArrayShortcuts, asCellShortcuts, asCheckboxRadioShortcuts, asCollapsibleShortcuts, asColumnMenuShortcuts, asConfigDialogShortcuts, asConfigTabShortcuts, asConfirmDialogShortcuts, asDecimalNumberShortcuts, asDropdownShortcuts, asFieldShortcuts, asFilterDialogShortcuts, asFilterFieldShortcuts, asFormGridShortcuts, asFormShortcuts, asFpillShortcuts, asMultiSelectShortcuts, asNoDataShortcuts, asObjectShortcuts, asOrderableListShortcuts, asPageShortcuts, asPresetDialogShortcuts, asPresetPickerShortcuts, asPresetVunor, asRefShortcuts, asRowActionsShortcuts, asSorterShortcuts, asTableActionsShortcuts, asTableShortcuts, asWfFinishActionsShortcuts, asWfFinishCountdownShortcuts, asWfFinishMessageShortcuts, asWfFinishOptionShortcuts, asWfFinishPrimaryShortcuts, asWfFinishShortcuts, asWfFinishSkipShortcuts, asWfFormLoadingShortcuts, asWfFormShortcuts, asWindowScrollbarShortcuts, asWindowSkeletonShortcuts, asWindowTableShortcuts, bakedIcons, commonShortcuts, componentClasses, componentPackages, createAsBaseUnoConfig, createAsExtractor, defineShortcuts, formShortcuts, getComponentClasses, getHelperClasses, helperAliases, mergeVunorShortcuts, tableShortcuts, toUnoShortcut, wfShortcuts };
|
|
1483
|
+
export { allShortcuts, aoothShortcuts, asActionFormShortcuts, asActionShortcuts, asArrayShortcuts, asCellShortcuts, asCheckboxRadioShortcuts, asCollapsibleShortcuts, asColumnMenuShortcuts, asConfigDialogShortcuts, asConfigTabShortcuts, asConfirmDialogShortcuts, asConsentArrayShortcuts, asDecimalNumberShortcuts, asDropdownShortcuts, asFieldShortcuts, asFilterDialogShortcuts, asFilterFieldShortcuts, asFormGridShortcuts, asFormShortcuts, asFpillShortcuts, asMultiSelectShortcuts, asNoDataShortcuts, asObjectShortcuts, asOrderableListShortcuts, asPageShortcuts, asPasswordRulesShortcuts, asPresetDialogShortcuts, asPresetPickerShortcuts, asPresetVunor, asRefShortcuts, asRowActionsShortcuts, asSorterShortcuts, asTableActionsShortcuts, asTableShortcuts, asWfFinishActionsShortcuts, asWfFinishCountdownShortcuts, asWfFinishMessageShortcuts, asWfFinishOptionShortcuts, asWfFinishPrimaryShortcuts, asWfFinishShortcuts, asWfFinishSkipShortcuts, asWfFormLoadingShortcuts, asWfFormShortcuts, asWindowScrollbarShortcuts, asWindowSkeletonShortcuts, asWindowTableShortcuts, bakedIcons, commonShortcuts, componentClasses, componentPackages, createAsBaseUnoConfig, createAsExtractor, defineShortcuts, formShortcuts, getComponentClasses, getHelperClasses, helperAliases, mergeVunorShortcuts, tableShortcuts, toUnoShortcut, wfShortcuts };
|
|
@@ -539,6 +539,138 @@ const componentClasses = {
|
|
|
539
539
|
"as-narrow:row-span-6",
|
|
540
540
|
"i-as-trash"
|
|
541
541
|
],
|
|
542
|
+
"as-consent-array": [
|
|
543
|
+
"as-action-field",
|
|
544
|
+
"as-array-add-btn",
|
|
545
|
+
"as-array-add-row",
|
|
546
|
+
"as-array-items-chip",
|
|
547
|
+
"as-checkbox-field",
|
|
548
|
+
"as-checkbox-indeterminate",
|
|
549
|
+
"as-checkbox-row",
|
|
550
|
+
"as-collapsible-body",
|
|
551
|
+
"as-collapsible-chevron",
|
|
552
|
+
"as-collapsible-chevron-collapsed",
|
|
553
|
+
"as-collapsible-description",
|
|
554
|
+
"as-collapsible-error",
|
|
555
|
+
"as-collapsible-error-badge",
|
|
556
|
+
"as-collapsible-header",
|
|
557
|
+
"as-collapsible-island",
|
|
558
|
+
"as-collapsible-island-even",
|
|
559
|
+
"as-collapsible-island-odd",
|
|
560
|
+
"as-collapsible-section",
|
|
561
|
+
"as-collapsible-summary",
|
|
562
|
+
"as-collapsible-title",
|
|
563
|
+
"as-collapsible-title-index",
|
|
564
|
+
"as-collapsible-title-nested",
|
|
565
|
+
"as-collapsible-title-row",
|
|
566
|
+
"as-consent-array-group",
|
|
567
|
+
"as-consent-array-item",
|
|
568
|
+
"as-consent-array-link",
|
|
569
|
+
"as-consent-array-row",
|
|
570
|
+
"as-consent-array-text",
|
|
571
|
+
"as-decimal",
|
|
572
|
+
"as-decimal-decimal",
|
|
573
|
+
"as-decimal-integer",
|
|
574
|
+
"as-decimal-sep",
|
|
575
|
+
"as-default-field",
|
|
576
|
+
"as-dropdown",
|
|
577
|
+
"as-dropdown-item",
|
|
578
|
+
"as-dropdown-item--active",
|
|
579
|
+
"as-dropdown-menu",
|
|
580
|
+
"as-error-slot",
|
|
581
|
+
"as-field-action-link",
|
|
582
|
+
"as-field-description",
|
|
583
|
+
"as-field-footer-row",
|
|
584
|
+
"as-field-header-actions",
|
|
585
|
+
"as-field-header-content",
|
|
586
|
+
"as-field-header-row",
|
|
587
|
+
"as-field-input-row",
|
|
588
|
+
"as-field-label",
|
|
589
|
+
"as-field-label-index",
|
|
590
|
+
"as-field-remove-btn",
|
|
591
|
+
"as-field-remove-btn-icon",
|
|
592
|
+
"as-form",
|
|
593
|
+
"as-form-description",
|
|
594
|
+
"as-form-error",
|
|
595
|
+
"as-form-error-dismiss",
|
|
596
|
+
"as-form-error-message",
|
|
597
|
+
"as-form-grid",
|
|
598
|
+
"as-form-overlay",
|
|
599
|
+
"as-form-overlay-icon",
|
|
600
|
+
"as-form-title",
|
|
601
|
+
"as-grid-item",
|
|
602
|
+
"as-input-shell",
|
|
603
|
+
"as-multi-select-anchor",
|
|
604
|
+
"as-multi-select-caret",
|
|
605
|
+
"as-multi-select-chip",
|
|
606
|
+
"as-multi-select-chip-label",
|
|
607
|
+
"as-multi-select-chip-remove",
|
|
608
|
+
"as-multi-select-clear",
|
|
609
|
+
"as-multi-select-content",
|
|
610
|
+
"as-multi-select-empty",
|
|
611
|
+
"as-multi-select-footer",
|
|
612
|
+
"as-multi-select-footer-action",
|
|
613
|
+
"as-multi-select-input",
|
|
614
|
+
"as-multi-select-item",
|
|
615
|
+
"as-multi-select-item-label",
|
|
616
|
+
"as-multi-select-root",
|
|
617
|
+
"as-multi-select-viewport",
|
|
618
|
+
"as-narrow:col-span-1",
|
|
619
|
+
"as-narrow:col-span-10",
|
|
620
|
+
"as-narrow:col-span-11",
|
|
621
|
+
"as-narrow:col-span-12",
|
|
622
|
+
"as-narrow:col-span-2",
|
|
623
|
+
"as-narrow:col-span-3",
|
|
624
|
+
"as-narrow:col-span-4",
|
|
625
|
+
"as-narrow:col-span-5",
|
|
626
|
+
"as-narrow:col-span-6",
|
|
627
|
+
"as-narrow:col-span-7",
|
|
628
|
+
"as-narrow:col-span-8",
|
|
629
|
+
"as-narrow:col-span-9",
|
|
630
|
+
"as-narrow:row-span-1",
|
|
631
|
+
"as-narrow:row-span-2",
|
|
632
|
+
"as-narrow:row-span-3",
|
|
633
|
+
"as-narrow:row-span-4",
|
|
634
|
+
"as-narrow:row-span-5",
|
|
635
|
+
"as-narrow:row-span-6",
|
|
636
|
+
"as-no-data",
|
|
637
|
+
"as-no-data-icon",
|
|
638
|
+
"as-no-data-text",
|
|
639
|
+
"as-no-data-textarea",
|
|
640
|
+
"as-number",
|
|
641
|
+
"as-number-input",
|
|
642
|
+
"as-object-empty",
|
|
643
|
+
"as-object-empty-add",
|
|
644
|
+
"as-object-empty-add-icon",
|
|
645
|
+
"as-optional-clear",
|
|
646
|
+
"as-paragraph-field",
|
|
647
|
+
"as-prefix",
|
|
648
|
+
"as-prefix-icon",
|
|
649
|
+
"as-radio-group",
|
|
650
|
+
"as-ref-anchor",
|
|
651
|
+
"as-ref-clear",
|
|
652
|
+
"as-ref-content",
|
|
653
|
+
"as-ref-input",
|
|
654
|
+
"as-ref-item",
|
|
655
|
+
"as-ref-item-description",
|
|
656
|
+
"as-ref-item-id",
|
|
657
|
+
"as-ref-item-label",
|
|
658
|
+
"as-ref-loading",
|
|
659
|
+
"as-ref-root",
|
|
660
|
+
"as-ref-spinner",
|
|
661
|
+
"as-ref-status",
|
|
662
|
+
"as-ref-viewport",
|
|
663
|
+
"as-select-caret",
|
|
664
|
+
"as-select-wrap",
|
|
665
|
+
"as-submit-btn",
|
|
666
|
+
"as-suffix",
|
|
667
|
+
"as-suffix-icon",
|
|
668
|
+
"as-variant-trigger",
|
|
669
|
+
"i-as-chevron-down",
|
|
670
|
+
"i-as-close",
|
|
671
|
+
"i-as-field-empty",
|
|
672
|
+
"i-as-field-fill"
|
|
673
|
+
],
|
|
542
674
|
"as-date": [
|
|
543
675
|
"as-decimal",
|
|
544
676
|
"as-default-field",
|
|
@@ -1464,6 +1596,139 @@ const componentClasses = {
|
|
|
1464
1596
|
"as-narrow:row-span-6",
|
|
1465
1597
|
"as-paragraph-field"
|
|
1466
1598
|
],
|
|
1599
|
+
"as-password-rules": [
|
|
1600
|
+
"as-action-field",
|
|
1601
|
+
"as-array-add-btn",
|
|
1602
|
+
"as-array-add-row",
|
|
1603
|
+
"as-array-items-chip",
|
|
1604
|
+
"as-checkbox-field",
|
|
1605
|
+
"as-checkbox-indeterminate",
|
|
1606
|
+
"as-checkbox-row",
|
|
1607
|
+
"as-collapsible-body",
|
|
1608
|
+
"as-collapsible-chevron",
|
|
1609
|
+
"as-collapsible-chevron-collapsed",
|
|
1610
|
+
"as-collapsible-description",
|
|
1611
|
+
"as-collapsible-error",
|
|
1612
|
+
"as-collapsible-error-badge",
|
|
1613
|
+
"as-collapsible-header",
|
|
1614
|
+
"as-collapsible-island",
|
|
1615
|
+
"as-collapsible-island-even",
|
|
1616
|
+
"as-collapsible-island-odd",
|
|
1617
|
+
"as-collapsible-section",
|
|
1618
|
+
"as-collapsible-summary",
|
|
1619
|
+
"as-collapsible-title",
|
|
1620
|
+
"as-collapsible-title-index",
|
|
1621
|
+
"as-collapsible-title-nested",
|
|
1622
|
+
"as-collapsible-title-row",
|
|
1623
|
+
"as-decimal",
|
|
1624
|
+
"as-decimal-decimal",
|
|
1625
|
+
"as-decimal-integer",
|
|
1626
|
+
"as-decimal-sep",
|
|
1627
|
+
"as-default-field",
|
|
1628
|
+
"as-dropdown",
|
|
1629
|
+
"as-dropdown-item",
|
|
1630
|
+
"as-dropdown-item--active",
|
|
1631
|
+
"as-dropdown-menu",
|
|
1632
|
+
"as-error-slot",
|
|
1633
|
+
"as-field-action-link",
|
|
1634
|
+
"as-field-description",
|
|
1635
|
+
"as-field-footer-row",
|
|
1636
|
+
"as-field-header-actions",
|
|
1637
|
+
"as-field-header-content",
|
|
1638
|
+
"as-field-header-row",
|
|
1639
|
+
"as-field-input-row",
|
|
1640
|
+
"as-field-label",
|
|
1641
|
+
"as-field-label-index",
|
|
1642
|
+
"as-field-remove-btn",
|
|
1643
|
+
"as-field-remove-btn-icon",
|
|
1644
|
+
"as-form",
|
|
1645
|
+
"as-form-description",
|
|
1646
|
+
"as-form-error",
|
|
1647
|
+
"as-form-error-dismiss",
|
|
1648
|
+
"as-form-error-message",
|
|
1649
|
+
"as-form-grid",
|
|
1650
|
+
"as-form-overlay",
|
|
1651
|
+
"as-form-overlay-icon",
|
|
1652
|
+
"as-form-title",
|
|
1653
|
+
"as-grid-item",
|
|
1654
|
+
"as-input-shell",
|
|
1655
|
+
"as-multi-select-anchor",
|
|
1656
|
+
"as-multi-select-caret",
|
|
1657
|
+
"as-multi-select-chip",
|
|
1658
|
+
"as-multi-select-chip-label",
|
|
1659
|
+
"as-multi-select-chip-remove",
|
|
1660
|
+
"as-multi-select-clear",
|
|
1661
|
+
"as-multi-select-content",
|
|
1662
|
+
"as-multi-select-empty",
|
|
1663
|
+
"as-multi-select-footer",
|
|
1664
|
+
"as-multi-select-footer-action",
|
|
1665
|
+
"as-multi-select-input",
|
|
1666
|
+
"as-multi-select-item",
|
|
1667
|
+
"as-multi-select-item-label",
|
|
1668
|
+
"as-multi-select-root",
|
|
1669
|
+
"as-multi-select-viewport",
|
|
1670
|
+
"as-narrow:col-span-1",
|
|
1671
|
+
"as-narrow:col-span-10",
|
|
1672
|
+
"as-narrow:col-span-11",
|
|
1673
|
+
"as-narrow:col-span-12",
|
|
1674
|
+
"as-narrow:col-span-2",
|
|
1675
|
+
"as-narrow:col-span-3",
|
|
1676
|
+
"as-narrow:col-span-4",
|
|
1677
|
+
"as-narrow:col-span-5",
|
|
1678
|
+
"as-narrow:col-span-6",
|
|
1679
|
+
"as-narrow:col-span-7",
|
|
1680
|
+
"as-narrow:col-span-8",
|
|
1681
|
+
"as-narrow:col-span-9",
|
|
1682
|
+
"as-narrow:row-span-1",
|
|
1683
|
+
"as-narrow:row-span-2",
|
|
1684
|
+
"as-narrow:row-span-3",
|
|
1685
|
+
"as-narrow:row-span-4",
|
|
1686
|
+
"as-narrow:row-span-5",
|
|
1687
|
+
"as-narrow:row-span-6",
|
|
1688
|
+
"as-no-data",
|
|
1689
|
+
"as-no-data-icon",
|
|
1690
|
+
"as-no-data-text",
|
|
1691
|
+
"as-no-data-textarea",
|
|
1692
|
+
"as-number",
|
|
1693
|
+
"as-number-input",
|
|
1694
|
+
"as-object-empty",
|
|
1695
|
+
"as-object-empty-add",
|
|
1696
|
+
"as-object-empty-add-icon",
|
|
1697
|
+
"as-optional-clear",
|
|
1698
|
+
"as-paragraph-field",
|
|
1699
|
+
"as-password-rules",
|
|
1700
|
+
"as-password-rules-empty",
|
|
1701
|
+
"as-password-rules-icon",
|
|
1702
|
+
"as-password-rules-list",
|
|
1703
|
+
"as-password-rules-row",
|
|
1704
|
+
"as-password-rules-text",
|
|
1705
|
+
"as-prefix",
|
|
1706
|
+
"as-prefix-icon",
|
|
1707
|
+
"as-radio-group",
|
|
1708
|
+
"as-ref-anchor",
|
|
1709
|
+
"as-ref-clear",
|
|
1710
|
+
"as-ref-content",
|
|
1711
|
+
"as-ref-input",
|
|
1712
|
+
"as-ref-item",
|
|
1713
|
+
"as-ref-item-description",
|
|
1714
|
+
"as-ref-item-id",
|
|
1715
|
+
"as-ref-item-label",
|
|
1716
|
+
"as-ref-loading",
|
|
1717
|
+
"as-ref-root",
|
|
1718
|
+
"as-ref-spinner",
|
|
1719
|
+
"as-ref-status",
|
|
1720
|
+
"as-ref-viewport",
|
|
1721
|
+
"as-select-caret",
|
|
1722
|
+
"as-select-wrap",
|
|
1723
|
+
"as-submit-btn",
|
|
1724
|
+
"as-suffix",
|
|
1725
|
+
"as-suffix-icon",
|
|
1726
|
+
"as-variant-trigger",
|
|
1727
|
+
"i-as-chevron-down",
|
|
1728
|
+
"i-as-close",
|
|
1729
|
+
"i-as-field-empty",
|
|
1730
|
+
"i-as-field-fill"
|
|
1731
|
+
],
|
|
1467
1732
|
"as-preset-dialog": [
|
|
1468
1733
|
"as-narrow:col-span-1",
|
|
1469
1734
|
"as-narrow:col-span-10",
|
|
@@ -2821,6 +3086,7 @@ const componentPackages = {
|
|
|
2821
3086
|
"as-column-menu": "table",
|
|
2822
3087
|
"as-config-dialog": "table",
|
|
2823
3088
|
"as-confirm-dialog": "table",
|
|
3089
|
+
"as-consent-array": "aooth",
|
|
2824
3090
|
"as-date": "form",
|
|
2825
3091
|
"as-datetime": "form",
|
|
2826
3092
|
"as-decimal": "form",
|
|
@@ -2837,6 +3103,7 @@ const componentPackages = {
|
|
|
2837
3103
|
"as-number": "form",
|
|
2838
3104
|
"as-object": "form",
|
|
2839
3105
|
"as-paragraph": "form",
|
|
3106
|
+
"as-password-rules": "aooth",
|
|
2840
3107
|
"as-preset-dialog": "table",
|
|
2841
3108
|
"as-preset-picker": "table",
|
|
2842
3109
|
"as-radio": "form",
|
|
@@ -2856,10 +3123,12 @@ const componentPackages = {
|
|
|
2856
3123
|
"as-window-table": "table"
|
|
2857
3124
|
};
|
|
2858
3125
|
const primaryComponents = new Set([
|
|
3126
|
+
"as-consent-array",
|
|
2859
3127
|
"as-field",
|
|
2860
3128
|
"as-filters",
|
|
2861
3129
|
"as-form",
|
|
2862
3130
|
"as-iterator",
|
|
3131
|
+
"as-password-rules",
|
|
2863
3132
|
"as-preset-picker",
|
|
2864
3133
|
"as-table",
|
|
2865
3134
|
"as-table-actions",
|