@helloimkostya/konsolpro-custom-ui-mini 0.0.406 → 0.0.409

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.
Files changed (42) hide show
  1. package/chunks/accept-icon-X_bMUe5T.js +17 -0
  2. package/chunks/alfa-icon-Cx0WqCux.js +17 -0
  3. package/chunks/baltiyskiy-icon-CXAJY9LH.js +17 -0
  4. package/chunks/error-icon-BJWk5B-s.js +17 -0
  5. package/chunks/europa-icon-DbElF2Uc.js +17 -0
  6. package/chunks/failed-icon-YP2jq4UN.js +17 -0
  7. package/chunks/gazprom-icon-CRfKLTvP.js +17 -0
  8. package/chunks/home-icon-Dc6LzbVw.js +17 -0
  9. package/chunks/mkb-icon-CEkVt-7P.js +17 -0
  10. package/chunks/mts-icon-Bq4YDYEy.js +17 -0
  11. package/chunks/normal-icon-CYvIFN5j.js +17 -0
  12. package/chunks/otkritie-icon-yGwVocEY.js +17 -0
  13. package/chunks/otp-icon-BQQXMe3b.js +17 -0
  14. package/chunks/passport-main-DNL65kJJ.js +17 -0
  15. package/chunks/passport-registration-BGywpRar.js +17 -0
  16. package/chunks/passport-selfie-Dsqd0uOf.js +17 -0
  17. package/chunks/psb-icon-CxKzLVG5.js +17 -0
  18. package/chunks/qiwi-icon-B795Q_fW.js +17 -0
  19. package/chunks/raiffeisen-icon-CgcBX8eY.js +17 -0
  20. package/chunks/russian-standart-icon-CI8j1Do6.js +17 -0
  21. package/chunks/saint-petersburg-icon-DbffjI2W.js +17 -0
  22. package/chunks/sber-icon-b7d9_o7J.js +17 -0
  23. package/chunks/signed-icon-DTQlKmWU.js +17 -0
  24. package/chunks/skb-icon-BgDQolTL.js +17 -0
  25. package/chunks/tbank-icon-ByKW0pBb.js +17 -0
  26. package/chunks/tochka-icon-CoQ_r9Lz.js +17 -0
  27. package/chunks/trust-icon-DcfUVGZ_.js +17 -0
  28. package/chunks/uni-icon-gK006vr0.js +17 -0
  29. package/chunks/uralsib-icon-C-ZbdvlL.js +17 -0
  30. package/chunks/uralskiy-icon-Djqv-ZYN.js +17 -0
  31. package/chunks/vozrozhdenie-icon-CCMRNn95.js +17 -0
  32. package/chunks/vtb-icon-BtfO1_Gx.js +17 -0
  33. package/chunks/waiting-icon-lpQJA4wB.js +17 -0
  34. package/chunks/warning-icon-BmlgMY27.js +17 -0
  35. package/chunks/yandex-icon-CepqpI49.js +17 -0
  36. package/lib/index-mini.js +10384 -3702
  37. package/package.json +1 -1
  38. package/styles/konsolpro-custom-ui.css +1 -1
  39. package/styles/variables.css +37 -29
  40. package/types/index-mini.d.ts +47 -13
  41. package/types/ui/combobox-primitive/constants.d.ts +1 -1
  42. package/types/ui/command.d.ts +7 -7
@@ -144,35 +144,43 @@
144
144
  --hover-input-primary: rgba(104, 204, 104, 1);
145
145
  }
146
146
 
147
- @layer utilities {
148
- .no-scrollbar::-webkit-scrollbar {
149
- display: none;
150
- }
151
- .no-scrollbar {
152
- -ms-overflow-style: none;
153
- scrollbar-width: none;
154
- }
155
- }
147
+ /*
148
+ * Выпадающие панели (Radix). Отдельный класс вместо только bg-popover: в хостах (Lovable/shadcn)
149
+ * часто переопределяют .bg-popover как hsl(var(--popover)), а токены DS — hex (#fff).
150
+ * Тогда hsl(#ffffff) невалиден и фон становится прозрачным. Здесь явный var() + fallback.
151
+ */
152
+ .kp-floating-panel {
153
+ background-color: var(--popover, #ffffff);
154
+ color: var(--popover-foreground, #252525);
155
+ }
156
+
157
+ /* Без @layer utilities: иначе при импорте этого файла через Tailwind/PostCSS в хосте без
158
+ @tailwind utilities в том же entry сборка падает (normalizeTailwindDirectives). */
159
+ .no-scrollbar::-webkit-scrollbar {
160
+ display: none;
161
+ }
162
+
163
+ .no-scrollbar {
164
+ -ms-overflow-style: none;
165
+ scrollbar-width: none;
166
+ }
167
+
168
+ .pb-collector-bar {
169
+ padding-bottom: calc(
170
+ var(--collector-bar-h, 0px) + env(safe-area-inset-bottom, 0px)
171
+ );
172
+ }
156
173
 
157
- @layer utilities {
158
- .pb-collector-bar {
159
- padding-bottom: calc(
160
- var(--collector-bar-h, 0px) + env(safe-area-inset-bottom, 0px)
161
- );
162
- }
174
+ @supports (-webkit-touch-callout: none) {
175
+ button,
176
+ [role='button'],
177
+ a {
178
+ color: inherit !important;
179
+ -webkit-tap-highlight-color: transparent;
163
180
  }
164
-
165
- @supports (-webkit-touch-callout: none) {
166
- button,
167
- [role='button'],
168
- a {
169
- color: inherit !important;
170
- -webkit-tap-highlight-color: transparent;
171
- }
172
-
173
- [data-ui-icon] svg,
174
- [data-ui-icon] path {
175
- fill: currentColor !important;
176
- }
181
+
182
+ [data-ui-icon] svg,
183
+ [data-ui-icon] path {
184
+ fill: currentColor !important;
177
185
  }
178
-
186
+ }
@@ -1,20 +1,54 @@
1
- export * from './ui/button';
1
+ export * from './icon';
2
+ export * from './icon-banks';
3
+ export * from './icon-documents';
2
4
  export * from './ui/accordion';
3
- export * from './ui/input';
4
- export * from './ui/date-picker';
5
- export * from './ui/textarea';
6
- export * from './ui/checkbox';
5
+ export * from './ui/actions-menu';
6
+ export * from './ui/alert';
7
+ export * from './ui/autocomplete';
8
+ export * from './ui/avatar';
9
+ export * from './ui/banner';
10
+ export * from './ui/button';
7
11
  export * from './ui/card';
12
+ export * from './ui/carousel';
13
+ export * from './ui/checkbox';
14
+ export * from './ui/combobox';
15
+ export * from './ui/combobox-base';
16
+ export * from './ui/combobox-multiselect';
17
+ export * from './ui/combobox-primitive';
18
+ export * from './ui/command';
19
+ export * from './ui/customizable-carousel';
20
+ export * from './ui/date-picker';
21
+ export * from './ui/date-range-picker';
22
+ export * from './ui/dialog/dialog-base';
23
+ export * from './ui/dialog/dialog-primitive';
24
+ export * from './ui/divider';
25
+ export * from './ui/dropdown';
26
+ export * from './ui/input';
27
+ export * from './ui/input-number';
28
+ export * from './ui/link';
29
+ export * from './ui/masked-input';
30
+ export * from './ui/modal';
31
+ export * from './ui/otp-input';
32
+ export * from './ui/pagination';
33
+ export * from './ui/phone-input/phone-input';
34
+ export * from './ui/pointline';
35
+ export * from './ui/popover';
36
+ export * from './ui/progress';
8
37
  export * from './ui/radio';
9
- export * from './ui/switch';
38
+ export * from './ui/schedule-calendar';
39
+ export * from './ui/segments';
10
40
  export * from './ui/select';
11
- export * from './ui/table';
12
- export * from './ui/modal';
13
- export * from './ui/tooltip';
14
- export * from './ui/typography';
15
41
  export * from './ui/spinner';
42
+ export * from './ui/stepper';
43
+ export * from './ui/switch';
44
+ export * from './ui/table';
45
+ export * from './ui/tabs';
16
46
  export * from './ui/tag';
17
- export * from './ui/link';
18
- export * from './ui/divider';
19
- export type { Column } from './ui/table/table-types';
47
+ export * from './ui/textarea';
48
+ export * from './ui/time-picker';
49
+ export * from './ui/time-range-picker';
50
+ export * from './ui/timeline';
20
51
  export { toast, Toaster } from './ui/toaster';
52
+ export * from './ui/tooltip';
53
+ export * from './ui/typography';
54
+ export * from './ui/uploader';
@@ -44,4 +44,4 @@ export declare const CONTAINER_NORMAL_STYLES: readonly ["bg-background", "border
44
44
  export declare const CONTAINER_ERROR_STYLES: readonly ["bg-background", "border-destructive", "hover:border-destructive", "focus-within:border-destructive", "focus-within:shadow-error", "data-[state=open]:border-destructive", "data-[state=open]:shadow-error"];
45
45
  export declare const CONTAINER_DISABLED_STYLES: readonly ["bg-input-disabled-background", "cursor-not-allowed"];
46
46
  export declare const CONTAINER_TRANSPARENT_STYLES: readonly ["border-0", "bg-transparent", "hover:bg-transparent", "focus-within:border-0", "focus-within:shadow-none"];
47
- export declare const FLOATING_MENU_STYLES: readonly ["bg-popover", "text-popover-foreground", "border-border", "z-[9999]", "max-h-80", "overflow-hidden", "rounded-lg", "border", "shadow-[0_2px_10px_rgba(0,0,0,0.1)]"];
47
+ export declare const FLOATING_MENU_STYLES: readonly ["kp-floating-panel", "border-border", "z-[9999]", "max-h-80", "overflow-hidden", "rounded-lg", "border", "shadow-[0_2px_10px_rgba(0,0,0,0.1)]"];
@@ -5,7 +5,7 @@ declare const Command: React.ForwardRefExoticComponent<Omit<{
5
5
  ref?: React.Ref<HTMLDivElement>;
6
6
  } & {
7
7
  asChild?: boolean;
8
- }, "key" | "asChild" | keyof React.HTMLAttributes<HTMLDivElement>> & {
8
+ }, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild"> & {
9
9
  label?: string;
10
10
  shouldFilter?: boolean;
11
11
  filter?: (value: string, search: string, keywords?: string[]) => number;
@@ -20,7 +20,7 @@ declare const CommandInput: React.ForwardRefExoticComponent<Omit<Omit<Pick<Pick<
20
20
  ref?: React.Ref<HTMLInputElement>;
21
21
  } & {
22
22
  asChild?: boolean;
23
- }, "key" | "asChild" | keyof React.InputHTMLAttributes<HTMLInputElement>>, "type" | "onChange" | "value"> & {
23
+ }, "key" | keyof React.InputHTMLAttributes<HTMLInputElement> | "asChild">, "type" | "onChange" | "value"> & {
24
24
  value?: string;
25
25
  onValueChange?: (search: string) => void;
26
26
  } & React.RefAttributes<HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>>;
@@ -30,7 +30,7 @@ declare const CommandList: React.ForwardRefExoticComponent<Omit<{
30
30
  ref?: React.Ref<HTMLDivElement>;
31
31
  } & {
32
32
  asChild?: boolean;
33
- }, "key" | "asChild" | keyof React.HTMLAttributes<HTMLDivElement>> & {
33
+ }, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild"> & {
34
34
  label?: string;
35
35
  } & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
36
36
  declare const CommandEmpty: React.ForwardRefExoticComponent<Omit<{
@@ -39,14 +39,14 @@ declare const CommandEmpty: React.ForwardRefExoticComponent<Omit<{
39
39
  ref?: React.Ref<HTMLDivElement>;
40
40
  } & {
41
41
  asChild?: boolean;
42
- }, "key" | "asChild" | keyof React.HTMLAttributes<HTMLDivElement>> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
42
+ }, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
43
43
  declare const CommandGroup: React.ForwardRefExoticComponent<Omit<{
44
44
  children?: React.ReactNode;
45
45
  } & Omit<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
46
46
  ref?: React.Ref<HTMLDivElement>;
47
47
  } & {
48
48
  asChild?: boolean;
49
- }, "key" | "asChild" | keyof React.HTMLAttributes<HTMLDivElement>>, "heading" | "value"> & {
49
+ }, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild">, "heading" | "value"> & {
50
50
  heading?: React.ReactNode;
51
51
  value?: string;
52
52
  forceMount?: boolean;
@@ -55,7 +55,7 @@ declare const CommandSeparator: React.ForwardRefExoticComponent<Omit<Pick<Pick<R
55
55
  ref?: React.Ref<HTMLDivElement>;
56
56
  } & {
57
57
  asChild?: boolean;
58
- }, "key" | "asChild" | keyof React.HTMLAttributes<HTMLDivElement>> & {
58
+ }, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild"> & {
59
59
  alwaysRender?: boolean;
60
60
  } & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
61
61
  declare const CommandItem: React.ForwardRefExoticComponent<Omit<{
@@ -64,7 +64,7 @@ declare const CommandItem: React.ForwardRefExoticComponent<Omit<{
64
64
  ref?: React.Ref<HTMLDivElement>;
65
65
  } & {
66
66
  asChild?: boolean;
67
- }, "key" | "asChild" | keyof React.HTMLAttributes<HTMLDivElement>>, "onSelect" | "disabled" | "value"> & {
67
+ }, "key" | keyof React.HTMLAttributes<HTMLDivElement> | "asChild">, "onSelect" | "disabled" | "value"> & {
68
68
  disabled?: boolean;
69
69
  onSelect?: (value: string) => void;
70
70
  value?: string;