@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.
@@ -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
- * 337 classes, from 1657 candidates, filtered by asking Uno
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
- * 337 classes, from 1657 candidates, filtered by asking Uno
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--tonal', 'ant-empty-icon', 'ant-field-label', 'ant-hint-banner', 'ant-icon-button',
13
- 'ant-info-box', 'ant-install-another-btn', 'ant-option-row', 'ant-option-row--on', 'ant-pill', 'ant-pill--sm',
14
- 'ant-pill-input', 'ant-pill-input--button', 'ant-pill-menu', 'ant-pill-menu__item', 'ant-pill-menu__item--active', 'ant-radio',
15
- 'ant-radio--on', 'ant-radio__dot', 'ant-save-bar', 'ant-section', 'ant-section__header', 'ant-section__row',
16
- 'ant-warning-box', 'b', 'basis-full', 'bg-ant-inset', 'bg-ant-panel', 'bg-ant-surface',
17
- 'bg-error', 'bg-error/10', 'bg-info', 'bg-primary', 'bg-primary/10', 'bg-primary/4',
18
- 'bg-primary/5', 'bg-success', 'bg-success/10', 'bg-transparent', 'bg-warning', 'bg-warning/10',
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', 'border-warning/40',
22
- 'border-white/20', 'bottom-0', 'capitalize', 'collapse', 'cursor-help', 'cursor-not-allowed',
23
- 'cursor-pointer', 'disabled:cursor-not-allowed', 'disabled:hover:bg-transparent', 'disabled:opacity-50', 'duration-150', 'duration-200',
24
- 'ease', 'ease-in', 'ease-out', 'fixed', 'flex', 'flex-1',
25
- 'flex-col', 'flex-grow-1', 'flex-shrink-0', 'flex-wrap', 'focus-visible:border-primary', 'focus-visible:opacity-100',
26
- 'focus-visible:outline-2', 'focus-visible:outline-offset-2', 'focus-visible:outline-primary', 'focus-within:border-primary', 'focus-within:ring-3', 'focus:border-error',
27
- 'focus:border-primary', 'focus:outline-none', 'focus:ring-error/10', 'focus:ring-primary/10', 'font-[inherit]', 'font-medium',
28
- 'font-mono', 'font-normal', 'font-semibold', 'gap-0.5', 'gap-1', 'gap-1.5',
29
- 'gap-2', 'gap-3', 'gap-3.5', 'gap-4', 'gap-5', 'gap-8',
30
- 'gap-[5px]', 'gap-[6px]', 'gap-x-2', 'gap-x-3', 'gap-y-1', 'grayscale',
31
- 'grid', 'grid-cols-1', 'grid-cols-2', 'grid-cols-3', 'grid-cols-4', 'group-hover:bg-primary/4',
32
- 'group-hover:border-primary/60', 'h-11', 'h-2', 'h-4', 'h-7', 'h-8',
33
- 'h-9', 'h-9.5', 'h-[18px]', 'h-[22px]', 'h-full', 'hidden',
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]', 'list-none', 'm-0',
39
- 'max-h-[88vh]', 'max-w-[180px]', 'max-w-[240px]', 'max-w-[280px]', 'max-w-[320px]', 'max-w-[340px]',
40
- 'max-w-[380px]', 'mb-0', 'mb-1', 'mb-2', 'mb-2.5', 'mb-3',
41
- 'mb-4', 'md:basis-auto', 'md:flex-1', 'md:max-w-[420px]', 'md:min-w-[260px]', 'me-2',
42
- 'min-h-0', 'min-h-11', 'min-w-0', 'min-w-[140px]', 'min-w-[160px]', 'min-w-[168px]',
43
- 'min-w-[180px]', 'min-w-[200px]', 'min-w-[240px]', 'ml-1', 'ml-2', 'mr-1',
44
- 'mr-2', 'mr-2.5', 'ms', 'ms-auto', 'mt-0', 'mt-0.5',
45
- 'mt-1', 'mt-1.5', 'mt-2', 'mt-3', 'mt-px', 'my-1',
46
- 'my-1.5', 'object-cover', 'opacity-0', 'opacity-20', 'opacity-30', 'opacity-40',
47
- 'opacity-45', 'opacity-50', 'opacity-55', 'opacity-60', 'opacity-70', 'outline-none',
48
- 'overflow-hidden', 'overflow-y-auto', 'p-0', 'p-3.5', 'p-5', 'pa-2',
49
- 'pa-3', 'pa-4', 'pa-6', 'pb-0', 'pb-1', 'pb-10',
50
- 'pb-2', 'pb-3', 'pb-5', 'pb-6', 'pl-1', 'pointer-events-none',
51
- 'position-relative', 'pr-1', 'pr-1.5', 'pt-0', 'pt-1', 'pt-1.5',
52
- 'pt-2', 'pt-3', 'pt-5', 'pt-8', 'px', 'px-0',
53
- 'px-1.5', 'px-15', 'px-2', 'px-3', 'px-3.5', 'px-4',
54
- 'px-5', 'px-5.5', 'px-6', 'py-0', 'py-0.5', 'py-1',
55
- 'py-1.5', 'py-2', 'py-2.5', 'py-3', 'py-4', 'py-5',
56
- 'py-6', 'py-7', 'relative', 'resize', 'resize-y', 'right-0',
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', 'sm:grid-cols-2',
59
- 'sm:grid-cols-[auto_minmax(0,1fr)_minmax(0,1fr)_auto]', 'table', 'tabular-nums', 'text-[10px]', 'text-[11.5px]', 'text-[11px]',
60
- 'text-[12.5px]', 'text-[13.5px]', 'text-[13px]', 'text-black', 'text-body', 'text-center',
61
- 'text-disabled', 'text-error', 'text-heading', 'text-left', 'text-lg', 'text-muted',
62
- 'text-primary', 'text-sm', 'text-success', 'text-truncate', 'text-warning', 'text-warning-emphasis',
63
- 'text-white', 'text-white/45', 'text-wrap', 'text-xs', 'top-0.5', 'tracking-[0.16em]',
64
- 'transform', 'transition-[border-color]', 'transition-all', 'transition-colors', 'transition-opacity', 'transition-transform',
65
- 'translate-x-0', 'translate-x-4', 'translate-y-4', 'truncate', 'uppercase', 'w-2',
66
- 'w-4', 'w-[18px]', 'w-[34%]', 'w-[38px]', 'w-full', 'whitespace-normal',
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
  ];