@antcde/component-library 0.1.31-rc.2 → 0.1.31-rc.4
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/build/uno.safelist.d.ts +1 -1
- package/dist/build/uno.safelist.js +52 -50
- package/dist/index.js +7835 -7852
- package/dist/test/vitest.js +2 -0
- package/dist/types/components/BaseAppCard/_BaseAppCardHint.vue.d.ts +1 -0
- package/dist/types/components/BaseAppCard/index.vue.d.ts +1 -0
- package/dist/types/components/ScriptTrigger/composables/useTableSelection.d.ts +6 -0
- package/dist/types/components/TasksFlow/composables/useEdgeConditionTables.d.ts +6 -0
- package/dist/types/components/Usage/_PurgeConfirmDialog.vue.d.ts +1 -0
- package/dist/types/components/Usage/useResourceUsage.d.ts +1 -1
- package/lib/build/uno.safelist.ts +52 -50
- package/lib/test/vitest.ts +2 -0
- package/package.json +3 -3
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Every utility class this library's own components use, so a consuming app emits
|
|
5
5
|
* them even though UnoCSS never scans `dist/index.js`. See the generator for why.
|
|
6
6
|
*
|
|
7
|
-
*
|
|
7
|
+
* 353 classes, from 1674 candidates, filtered by asking Uno
|
|
8
8
|
* which ones actually resolve.
|
|
9
9
|
*/
|
|
10
10
|
export declare const libraryClassSafelist: string[];
|
|
@@ -4,65 +4,67 @@
|
|
|
4
4
|
* Every utility class this library's own components use, so a consuming app emits
|
|
5
5
|
* them even though UnoCSS never scans `dist/index.js`. See the generator for why.
|
|
6
6
|
*
|
|
7
|
-
*
|
|
7
|
+
* 353 classes, from 1674 candidates, filtered by asking Uno
|
|
8
8
|
* which ones actually resolve.
|
|
9
9
|
*/
|
|
10
10
|
export const libraryClassSafelist = [
|
|
11
11
|
'absolute', 'align-middle', 'align-start', 'ant-cat-chip', 'ant-check', 'ant-check--on',
|
|
12
|
-
'ant-cta', 'ant-cta--
|
|
13
|
-
'ant-
|
|
14
|
-
'ant-
|
|
15
|
-
'ant-
|
|
16
|
-
'ant-
|
|
17
|
-
'
|
|
18
|
-
'bg-
|
|
12
|
+
'ant-cta', 'ant-cta--danger', 'ant-cta--ghost', 'ant-cta--tonal', 'ant-empty-icon', 'ant-field-label',
|
|
13
|
+
'ant-fine', 'ant-hint-banner', 'ant-hover-transition', 'ant-icon-button', 'ant-info-box', 'ant-install-another-btn',
|
|
14
|
+
'ant-option-row', 'ant-option-row--on', 'ant-pill', 'ant-pill--sm', 'ant-pill-input', 'ant-pill-input--button',
|
|
15
|
+
'ant-pill-menu', 'ant-pill-menu__item', 'ant-pill-menu__item--active', 'ant-radio', 'ant-radio--on', 'ant-radio__dot',
|
|
16
|
+
'ant-save-bar', 'ant-section', 'ant-section__header', 'ant-section__row', 'ant-warning-box', 'b',
|
|
17
|
+
'basis-full', 'bg-ant-inset', 'bg-ant-panel', 'bg-ant-surface', 'bg-error', 'bg-error/10',
|
|
18
|
+
'bg-error/6', 'bg-info', 'bg-primary', 'bg-primary/10', 'bg-primary/4', 'bg-primary/5',
|
|
19
|
+
'bg-primary/6', 'bg-success', 'bg-success/10', 'bg-transparent', 'bg-warning', 'bg-warning/10',
|
|
19
20
|
'bg-warning/8', 'bg-white', 'bg-white/12', 'block', 'blur', 'border',
|
|
20
21
|
'border-0', 'border-2', 'border-ant', 'border-b', 'border-dashed', 'border-error',
|
|
21
|
-
'border-none', 'border-opacity-50', 'border-primary', 'border-t', 'border-transparent',
|
|
22
|
-
'border-white/20', 'bottom-0', 'capitalize', 'collapse', 'cursor-help',
|
|
23
|
-
'cursor-pointer', 'disabled:cursor-not-allowed', 'disabled:hover:bg-transparent', 'disabled:opacity-
|
|
24
|
-
'
|
|
25
|
-
'
|
|
26
|
-
'
|
|
27
|
-
'focus:border-primary', 'focus:
|
|
28
|
-
'
|
|
29
|
-
'gap-
|
|
30
|
-
'gap-
|
|
31
|
-
'
|
|
32
|
-
'
|
|
33
|
-
'h-
|
|
22
|
+
'border-error/20', 'border-none', 'border-opacity-50', 'border-primary', 'border-t', 'border-transparent',
|
|
23
|
+
'border-warning/40', 'border-white/20', 'bottom-0', 'capitalize', 'collapse', 'cursor-help',
|
|
24
|
+
'cursor-not-allowed', 'cursor-pointer', 'disabled:cursor-default', 'disabled:cursor-not-allowed', 'disabled:hover:bg-transparent', 'disabled:opacity-40',
|
|
25
|
+
'disabled:opacity-50', 'duration-150', 'duration-200', 'ease', 'ease-in', 'ease-out',
|
|
26
|
+
'fixed', 'flex', 'flex-1', 'flex-col', 'flex-grow-1', 'flex-shrink-0',
|
|
27
|
+
'flex-wrap', 'focus-visible:border-primary', 'focus-visible:opacity-100', 'focus-visible:outline-2', 'focus-visible:outline-offset-2', 'focus-visible:outline-primary',
|
|
28
|
+
'focus-within:border-primary', 'focus-within:ring-3', 'focus:border-error', 'focus:border-primary', 'focus:outline-none', 'focus:ring-error/10',
|
|
29
|
+
'focus:ring-primary/10', 'font-[inherit]', 'font-medium', 'font-mono', 'font-normal', 'font-semibold',
|
|
30
|
+
'gap-0.5', 'gap-1', 'gap-1.5', 'gap-2', 'gap-2.5', 'gap-3',
|
|
31
|
+
'gap-3.5', 'gap-4', 'gap-5', 'gap-8', 'gap-[5px]', 'gap-[6px]',
|
|
32
|
+
'gap-x-2', 'gap-x-3', 'gap-y-1', 'grayscale', 'grid', 'grid-cols-1',
|
|
33
|
+
'grid-cols-2', 'grid-cols-3', 'grid-cols-4', 'group-hover:bg-primary/4', 'group-hover:border-primary/60', 'h-11',
|
|
34
|
+
'h-2', 'h-4', 'h-7', 'h-8', 'h-9', 'h-9.5',
|
|
35
|
+
'h-[18px]', 'h-[22px]', 'h-[30px]', 'h-full', 'hidden', 'hover:!text-error',
|
|
34
36
|
'hover:bg-ant-hover', 'hover:bg-primary/6', 'hover:bg-primary/8', 'hover:bg-warning/10', 'hover:bg-white/10', 'hover:opacity-100',
|
|
35
37
|
'inline', 'inline-block', 'inline-flex', 'inset-0', 'italic', 'items-baseline',
|
|
36
38
|
'items-center', 'items-start', 'items-stretch', 'justify-between', 'justify-center', 'justify-end',
|
|
37
39
|
'justify-start', 'last:border-b-0', 'leading-none', 'leading-relaxed', 'leading-snug', 'leading-tight',
|
|
38
|
-
'left-0.5', 'lg:flex-initial', 'lg:min-w-[180px]', 'lg:min-w-[220px]', '
|
|
39
|
-
'
|
|
40
|
-
'max-w-[
|
|
41
|
-
'mb-4', 'md:basis-auto', 'md:flex-1', 'md:max-w-[420px]', 'md:min-w-[260px]',
|
|
42
|
-
'min-h-0', 'min-h-11', 'min-
|
|
43
|
-
'min-w-[180px]', 'min-w-[200px]', 'min-w-[240px]', 'ml-1', 'ml-2',
|
|
44
|
-
'mr-2', 'mr-2.5', 'ms', 'ms-auto', 'mt-0',
|
|
45
|
-
'mt-1', 'mt-1.5', 'mt-2', 'mt-3', 'mt-px',
|
|
46
|
-
'my-1.5', 'object-cover', 'opacity-0', 'opacity-20', 'opacity-30',
|
|
47
|
-
'opacity-45', 'opacity-50', 'opacity-55', 'opacity-60', 'opacity-70',
|
|
48
|
-
'overflow-hidden', 'overflow-y-auto', 'p-0', 'p-3.5',
|
|
49
|
-
'
|
|
50
|
-
'pb-
|
|
51
|
-
'position-relative', 'pr-1', 'pr-1.5', 'pt-
|
|
52
|
-
'pt-
|
|
53
|
-
'px-
|
|
54
|
-
'px-5
|
|
55
|
-
'py-
|
|
56
|
-
'py-
|
|
40
|
+
'left-0.5', 'lg:flex-initial', 'lg:min-w-[180px]', 'lg:min-w-[220px]', 'line-clamp-2', 'line-clamp-3',
|
|
41
|
+
'list-none', 'm-0', 'max-h-[88vh]', 'max-w-[180px]', 'max-w-[240px]', 'max-w-[280px]',
|
|
42
|
+
'max-w-[320px]', 'max-w-[340px]', 'max-w-[380px]', 'mb-1', 'mb-2', 'mb-2.5',
|
|
43
|
+
'mb-3', 'mb-4', 'md:basis-auto', 'md:flex-1', 'md:max-w-[420px]', 'md:min-w-[260px]',
|
|
44
|
+
'min-h-0', 'min-h-11', 'min-h-[34px]', 'min-w-0', 'min-w-[140px]', 'min-w-[160px]',
|
|
45
|
+
'min-w-[168px]', 'min-w-[180px]', 'min-w-[200px]', 'min-w-[240px]', 'ml-1', 'ml-2',
|
|
46
|
+
'mr-1', 'mr-2', 'mr-2.5', 'ms', 'ms-auto', 'mt-0',
|
|
47
|
+
'mt-0.5', 'mt-1', 'mt-1.5', 'mt-2', 'mt-3', 'mt-px',
|
|
48
|
+
'my-1', 'my-1.5', 'object-cover', 'opacity-0', 'opacity-20', 'opacity-30',
|
|
49
|
+
'opacity-40', 'opacity-45', 'opacity-50', 'opacity-55', 'opacity-60', 'opacity-70',
|
|
50
|
+
'opacity-80', 'outline-none', 'overflow-hidden', 'overflow-y-auto', 'p-0', 'p-3.5',
|
|
51
|
+
'p-5', 'pa-2', 'pa-3', 'pa-4', 'pb-0', 'pb-1',
|
|
52
|
+
'pb-10', 'pb-2', 'pb-5', 'pb-6', 'pl-1', 'pointer-events-none',
|
|
53
|
+
'position-relative', 'pr-1', 'pr-1.5', 'pt-1', 'pt-1.5', 'pt-2',
|
|
54
|
+
'pt-3', 'pt-5', 'px', 'px-0', 'px-1.5', 'px-15',
|
|
55
|
+
'px-2', 'px-2.5', 'px-3', 'px-3.5', 'px-4', 'px-5',
|
|
56
|
+
'px-5.5', 'px-6', 'py-0', 'py-0.5', 'py-1', 'py-1.5',
|
|
57
|
+
'py-2', 'py-2.5', 'py-3', 'py-4', 'py-5', 'py-6',
|
|
58
|
+
'py-7', 'py-8', 'relative', 'resize', 'resize-y', 'right-0',
|
|
57
59
|
'rounded', 'rounded-2xl', 'rounded-[10px]', 'rounded-[12px]', 'rounded-[20px]', 'rounded-full',
|
|
58
|
-
'rounded-xl', 'select-none', 'shadow', 'shadow-sm', 'shrink-0',
|
|
59
|
-
'sm:grid-cols-[auto_minmax(0,1fr)_minmax(0,1fr)_auto]', 'table', 'tabular-nums', 'text-[10px]', 'text-[11.5px]',
|
|
60
|
-
'text-[
|
|
61
|
-
'text-
|
|
62
|
-
'text-
|
|
63
|
-
'text-
|
|
64
|
-
'
|
|
65
|
-
'translate-x-0', 'translate-x-4', 'translate-y-4', 'truncate',
|
|
66
|
-
'
|
|
67
|
-
'whitespace-nowrap',
|
|
60
|
+
'rounded-lg', 'rounded-xl', 'select-none', 'shadow', 'shadow-sm', 'shrink-0',
|
|
61
|
+
'sm:grid-cols-2', 'sm:grid-cols-[auto_minmax(0,1fr)_minmax(0,1fr)_auto]', 'table', 'tabular-nums', 'text-[10px]', 'text-[11.5px]',
|
|
62
|
+
'text-[11px]', 'text-[12.5px]', 'text-[12px]', 'text-[13.5px]', 'text-[13px]', 'text-black',
|
|
63
|
+
'text-body', 'text-center', 'text-error', 'text-heading', 'text-info', 'text-left',
|
|
64
|
+
'text-lg', 'text-muted', 'text-primary', 'text-sm', 'text-success', 'text-truncate',
|
|
65
|
+
'text-warning', 'text-warning-emphasis', 'text-white', 'text-white/45', 'text-wrap', 'text-xs',
|
|
66
|
+
'top-0.5', 'tracking-[0.16em]', 'transform', 'transition-[border-color]', 'transition-all', 'transition-colors',
|
|
67
|
+
'transition-opacity', 'transition-transform', 'translate-x-0', 'translate-x-4', 'translate-y-4', 'truncate',
|
|
68
|
+
'uppercase', 'w-2', 'w-4', 'w-8', 'w-9', 'w-[18px]',
|
|
69
|
+
'w-[34%]', 'w-[38px]', 'w-full', 'whitespace-normal', 'whitespace-nowrap',
|
|
68
70
|
];
|