oziko-ui-kit 0.0.78 → 0.0.80

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.
@@ -1,7 +1,6 @@
1
1
  import { Ref, RefObject } from "react";
2
2
  import { TypeFluidContainer } from "../../fluid-container/FluidContainer";
3
3
  import { TypeLabeledValue } from "../../select-option/SelectOption";
4
- import { TypeFlexElement } from "../../flex-element/FlexElement";
5
4
  export type TypeRelationSelectRef = {
6
5
  toggleDropdown: (toggleValue?: boolean) => void;
7
6
  clear: () => void;
@@ -27,9 +26,9 @@ export type TypeRelationSelect = {
27
26
  portalClassName?: string;
28
27
  };
29
28
  declare const _default: import("react").NamedExoticComponent<TypeRelationSelect & {
30
- prefix?: TypeFlexElement;
31
- root?: TypeFlexElement;
32
- suffix?: TypeFlexElement;
29
+ prefix?: import("../../../../index.export").TypeFlexElement;
30
+ root?: import("../../../../index.export").TypeFlexElement;
31
+ suffix?: import("../../../../index.export").TypeFlexElement;
33
32
  mode?: "hug" | "fill" | "middle";
34
33
  } & {
35
34
  ref?: RefObject<HTMLDivElement | null>;
@@ -36,6 +36,7 @@ export type TypeProperties = {
36
36
  relationType?: RelationType;
37
37
  icon?: IconName;
38
38
  placeholder?: string;
39
+ popupClassName?: string;
39
40
  };
40
41
  };
41
42
  export type TypeValueType = string | number | boolean | string[] | number[] | boolean[] | TypeRepresenterValue | TypeRepresenterValue[];
@@ -97,6 +98,7 @@ type TypeRelationInputProps<T> = {
97
98
  searchOptions: (value: string) => Promise<TypeLabeledValue[]>;
98
99
  totalOptionsLength: number;
99
100
  relationType?: RelationType;
101
+ popupClassName?: string;
100
102
  } & TypeInputProps<T>;
101
103
  type TypeChipInputProps<T> = {
102
104
  valueType?: TypeChipInput["valueType"];
package/dist/index.css CHANGED
@@ -3374,11 +3374,14 @@ button.font-increment {
3374
3374
 
3375
3375
  .RelationInput-module_baseInput__9cDeK {
3376
3376
  padding: 0 var(--oziko-padding-lg) !important;
3377
+ justify-content: start;
3377
3378
  }
3378
3379
  .RelationSelect-module_container__nwkcp {
3379
3380
  background: var(--oziko-color-zebra);
3380
3381
  padding: var(--oziko-padding-md) var(--oziko-padding-lg);
3381
3382
  border-radius: var(--oziko-border-radius-md);
3383
+ justify-content: space-between;
3384
+ overflow: hidden;
3382
3385
  cursor: pointer;
3383
3386
  }
3384
3387
  .RelationSelect-module_container__nwkcp.RelationSelect-module_disabled__37hiQ {
@@ -3392,13 +3395,22 @@ button.font-increment {
3392
3395
  text-overflow: ellipsis;
3393
3396
  width: unset;
3394
3397
  -webkit-line-clamp: 1;
3398
+ -ms-overflow-style: none; /* IE and Edge */
3399
+ scrollbar-width: none; /* Firefox */
3395
3400
  width: 100%;
3396
3401
  max-height: 100px;
3397
- overflow-y: auto;
3402
+ overflow-x: auto;
3398
3403
  display: flex;
3399
3404
  flex-wrap: wrap;
3400
3405
  gap: var(--oziko-gap-sm);
3401
3406
  }
3407
+ .RelationSelect-module_container__nwkcp .RelationSelect-module_displayer__-ispL::-webkit-scrollbar {
3408
+ display: none; /* Chrome, Safari, Opera*/
3409
+ }
3410
+ .RelationSelect-module_container__nwkcp .RelationSelect-module_displayerContainer__kCaoy {
3411
+ min-width: 0;
3412
+ overflow-x: hidden;
3413
+ }
3402
3414
 
3403
3415
  .RelationSelect-module_selectDropdown__HAwgv {
3404
3416
  position: fixed;
@@ -3409,6 +3421,10 @@ button.font-increment {
3409
3421
  overflow-y: auto;
3410
3422
  box-shadow: var(--oziko-box-shadow);
3411
3423
  background: var(--oziko-color-menu-background);
3424
+ width: 100%;
3425
+ }
3426
+ .RelationSelect-module_selectDropdown__HAwgv > div {
3427
+ width: 100%;
3412
3428
  }
3413
3429
 
3414
3430
  .RelationSelect-module_searchInputWrapper__2XT5T {
@@ -3433,6 +3449,10 @@ button.font-increment {
3433
3449
  .RelationSelect-module_infiniteScroll__UQClb {
3434
3450
  overflow: hidden !important;
3435
3451
  }
3452
+
3453
+ .RelationSelect-module_deleteButton__9KhWk {
3454
+ flex-shrink: 0;
3455
+ }
3436
3456
  .ColorMinimized-module_colorMinimized__CnRpu {
3437
3457
  background-color: var(--oziko-color-input-background);
3438
3458
  border-radius: var(--oziko-border-radius-md);