@pismo/marola 2.1.39 → 2.1.41
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/assets/DoubleAutocomplete.css +1 -1
- package/dist/components/DoubleAutocomplete/DoubleAutocomplete.js +37 -37
- package/dist/components/DoubleAutocomplete/DoubleAutocomplete.stories.d.ts +1 -0
- package/dist/components/Icon/types.d.ts +1 -1
- package/dist/utils/iconsList.js +132 -114
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
._double-autocomplete-
|
|
1
|
+
._double-autocomplete-container_18dr3_2{position:relative;display:flex;align-items:flex-end;width:100%}._double-autocomplete-container_18dr3_2:focus-within:not(:has([class*=_input--error]),:has(:disabled)) *{border-color:var(--accent)}._double-autocomplete-container_18dr3_2:hover:not(:has([class*=_input__messages-wrapper]:hover),:has([class*=_input--error]),:focus-within,:has(:disabled)) *,._double-autocomplete-container_18dr3_2:focus *{border-color:var(--gray-75)}._double-autocomplete-container_18dr3_2:has([class*=_input--error]) ._double-autocomplete-container__separator_18dr3_17{border-color:var(--alert)}._double-autocomplete-container_18dr3_2:has(input:disabled) ._double-autocomplete-container__separator_18dr3_17{background-color:#0000000a}._double-autocomplete-container_18dr3_2 ._double-autocomplete_18dr3_2{margin-bottom:0}._double-autocomplete-container_18dr3_2 ._double-autocomplete__input-wrapper_18dr3_26:not(:empty){padding-bottom:0}._double-autocomplete-container_18dr3_2 ._double-autocomplete__label-inside_18dr3_29{color:var(--gray-95);opacity:.45}._double-autocomplete-container_18dr3_2 ._double-autocomplete_18dr3_2 input{padding-bottom:.15rem;font-size:.875rem}._double-autocomplete-container__left-autocomplete_18dr3_37 [class*=input-el-wrapper]{border-right:0;border-top-right-radius:0;border-bottom-right-radius:0}._double-autocomplete-container__right-autocomplete_18dr3_42 [class*=input-el-wrapper]{border-left:0;border-top-left-radius:0;border-bottom-left-radius:0}._double-autocomplete-container__separator_18dr3_17{display:flex;align-items:center;justify-content:center;min-width:1rem;height:2.5rem;border-top:solid .0625rem var(--gray-25);border-bottom:solid .0625rem var(--gray-25);transition:all .3s}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { jsxs as b, jsx as
|
|
1
|
+
import { jsxs as b, jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import { c as l } from "../../clsx-OuTLNxxd.js";
|
|
3
3
|
import "../../utils/iconsList.js";
|
|
4
|
-
import { Text as
|
|
5
|
-
import { Autocomplete as
|
|
4
|
+
import { Text as c } from "../Typography/Typography.js";
|
|
5
|
+
import { Autocomplete as i } from "../Autocomplete/Autocomplete.js";
|
|
6
6
|
import "../Avatar/Avatar.js";
|
|
7
7
|
import "react";
|
|
8
8
|
import "../Button/Button.js";
|
|
@@ -21,45 +21,45 @@ import "../Tabs/Tabs.js";
|
|
|
21
21
|
import "../../Group-DJz1rK2n.js";
|
|
22
22
|
import "../../contexts/SnackbarProvider/SnackbarProvider.js";
|
|
23
23
|
import '../../assets/DoubleAutocomplete.css';const e = {
|
|
24
|
-
"double-autocomplete-container": "_double-autocomplete-
|
|
25
|
-
"double-autocomplete-container__separator": "_double-autocomplete-
|
|
26
|
-
"double-autocomplete": "_double-
|
|
27
|
-
"double-autocomplete__input-wrapper": "_double-autocomplete__input-
|
|
28
|
-
"double-autocomplete__label-inside": "_double-autocomplete__label-
|
|
29
|
-
"double-autocomplete-container__left-autocomplete": "_double-autocomplete-container__left-
|
|
30
|
-
"double-autocomplete-container__right-autocomplete": "_double-autocomplete-container__right-
|
|
24
|
+
"double-autocomplete-container": "_double-autocomplete-container_18dr3_2",
|
|
25
|
+
"double-autocomplete-container__separator": "_double-autocomplete-container__separator_18dr3_17",
|
|
26
|
+
"double-autocomplete": "_double-autocomplete_18dr3_2",
|
|
27
|
+
"double-autocomplete__input-wrapper": "_double-autocomplete__input-wrapper_18dr3_26",
|
|
28
|
+
"double-autocomplete__label-inside": "_double-autocomplete__label-inside_18dr3_29",
|
|
29
|
+
"double-autocomplete-container__left-autocomplete": "_double-autocomplete-container__left-autocomplete_18dr3_37",
|
|
30
|
+
"double-autocomplete-container__right-autocomplete": "_double-autocomplete-container__right-autocomplete_18dr3_42"
|
|
31
31
|
}, J = ({
|
|
32
32
|
separator: u,
|
|
33
|
-
useLabelInside:
|
|
34
|
-
leftAutocompleteProps:
|
|
35
|
-
rightAutocompleteProps:
|
|
36
|
-
leftWidth:
|
|
37
|
-
rightWidth:
|
|
33
|
+
useLabelInside: r = !1,
|
|
34
|
+
leftAutocompleteProps: t,
|
|
35
|
+
rightAutocompleteProps: a,
|
|
36
|
+
leftWidth: p = "auto",
|
|
37
|
+
rightWidth: m = "auto",
|
|
38
38
|
separatorStyles: _,
|
|
39
|
-
className:
|
|
40
|
-
"data-testid":
|
|
41
|
-
}) => /* @__PURE__ */ b("div", { className: l(e["double-autocomplete-container"],
|
|
42
|
-
/* @__PURE__ */
|
|
39
|
+
className: d,
|
|
40
|
+
"data-testid": n
|
|
41
|
+
}) => /* @__PURE__ */ b("div", { className: l(e["double-autocomplete-container"], d), "data-testid": n, children: [
|
|
42
|
+
/* @__PURE__ */ o(
|
|
43
43
|
"div",
|
|
44
44
|
{
|
|
45
|
-
style: { minWidth:
|
|
45
|
+
style: { minWidth: p, maxWidth: p },
|
|
46
46
|
className: e["double-autocomplete-container__left-autocomplete"],
|
|
47
|
-
children: /* @__PURE__ */
|
|
48
|
-
|
|
47
|
+
children: /* @__PURE__ */ o(
|
|
48
|
+
i,
|
|
49
49
|
{
|
|
50
|
-
...
|
|
51
|
-
label:
|
|
52
|
-
leftIcon:
|
|
53
|
-
classNameWrapper: l(
|
|
50
|
+
...t,
|
|
51
|
+
label: r ? void 0 : t.label,
|
|
52
|
+
leftIcon: r ? /* @__PURE__ */ o(c, { className: e["double-autocomplete__label-inside"], element: "label", children: t.label }) : t.leftIcon,
|
|
53
|
+
classNameWrapper: l(t.classNameWrapper, e["double-autocomplete"]),
|
|
54
54
|
classNameInputWrapper: l(
|
|
55
|
-
|
|
55
|
+
t.classNameInputWrapper,
|
|
56
56
|
e["double-autocomplete__input-wrapper"]
|
|
57
57
|
)
|
|
58
58
|
}
|
|
59
59
|
)
|
|
60
60
|
}
|
|
61
61
|
),
|
|
62
|
-
/* @__PURE__ */
|
|
62
|
+
/* @__PURE__ */ o(
|
|
63
63
|
"div",
|
|
64
64
|
{
|
|
65
65
|
className: e["double-autocomplete-container__separator"],
|
|
@@ -68,20 +68,20 @@ import '../../assets/DoubleAutocomplete.css';const e = {
|
|
|
68
68
|
children: u
|
|
69
69
|
}
|
|
70
70
|
),
|
|
71
|
-
/* @__PURE__ */
|
|
71
|
+
/* @__PURE__ */ o(
|
|
72
72
|
"div",
|
|
73
73
|
{
|
|
74
|
-
style: { minWidth:
|
|
74
|
+
style: { minWidth: m, maxWidth: m },
|
|
75
75
|
className: e["double-autocomplete-container__right-autocomplete"],
|
|
76
|
-
children: /* @__PURE__ */
|
|
77
|
-
|
|
76
|
+
children: /* @__PURE__ */ o(
|
|
77
|
+
i,
|
|
78
78
|
{
|
|
79
|
-
...
|
|
80
|
-
label:
|
|
81
|
-
leftIcon:
|
|
82
|
-
classNameWrapper: l(
|
|
79
|
+
...a,
|
|
80
|
+
label: r ? void 0 : a.label,
|
|
81
|
+
leftIcon: r ? /* @__PURE__ */ o(c, { className: e["double-autocomplete__label-inside"], element: "label", children: a.label }) : a.leftIcon,
|
|
82
|
+
classNameWrapper: l(a.classNameWrapper, e["double-autocomplete"]),
|
|
83
83
|
classNameInputWrapper: l(
|
|
84
|
-
|
|
84
|
+
a.classNameInputWrapper,
|
|
85
85
|
e["double-autocomplete__input-wrapper"]
|
|
86
86
|
)
|
|
87
87
|
}
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* This file is automatically generated. Any changes will be lost.
|
|
3
3
|
* run "yarn generate-icon-types" or "yarn build" to regenerate it.
|
|
4
4
|
*/
|
|
5
|
-
export type IconName = 'alien-8bit' | 'arrow-down-arrow-up' | 'arrow-down-z-a' | 'arrow-left' | 'arrow-right' | 'arrow-right-to-arc' | 'arrow-up-right-from-square' | 'arrows-rotate' | 'badge-check' | 'bell' | 'building-columns' | 'calendar-days' | 'check-double' | 'chevron-down' | 'chevron-right' | 'chevron-up' | 'chevrons-right' | 'circle' | 'circle-arrow-right' | 'circle-check' | 'circle-check-outline' | 'circle-exclamation' | 'circle-exclamation-outline' | 'circle-info' | 'circle-minus' | 'circle-plus' | 'circle-x' | 'circle-xmark' | 'circle-xmark-outline' | 'clock' | 'clock-rotate-left' | 'coin' | 'coins' | 'computer-classic' | 'copy' | 'credit-card' | 'credit-card-blank' | 'credit-card-front' | 'download' | 'ellipsis-vertical' | 'empty-img' | 'empty-set' | 'eye' | 'eye-slash' | 'filter-list' | 'fingerprint' | 'folder-magnifying-glass' | 'folder-open' | 'gift-card' | 'grid-2' | 'grid-horizontal' | 'grip-dots-vertical' | 'headphones-simple' | 'house-blank' | 'id-badge' | 'inbox-full' | 'light/star' | 'list' | 'loader' | 'lock-keyhole' | 'lock-keyhole-open' | 'logo' | 'magnifying-glass' | 'map-location-dot' | 'map-pin' | 'mobile-screen-button' | 'money-bill-transfer' | 'money-bill-trend-up' | 'money-bills' | 'notes-medical' | 'paste' | 'pen' | 'pen-to-square' | 'percent' | 'piggy-bank' | 'rectangle-history' | 'rectangle-history-circle-user' | 'rectangle-terminal' | 'rotate' | 'scale-balanced' | 'server' | 'sheet-plastic' | 'sidebar' | 'sitemap' | 'solid/star' | 'squirrel' | 'stethoscope' | 'store' | 'timer' | 'trash' | 'trash-can' | 'upload' | 'user' | 'user-gear' | 'user-group' | 'user-tie' | 'user-tie-hair' | 'user-vneck' | 'users' | 'wallet' | 'warehouse-full' | 'xmark';
|
|
5
|
+
export type IconName = 'alien-8bit' | 'arrow-down-arrow-up' | 'arrow-down-z-a' | 'arrow-left' | 'arrow-right' | 'arrow-right-to-arc' | 'arrow-up-right-from-square' | 'arrows-rotate' | 'badge-check' | 'bell' | 'building-columns' | 'calendar-days' | 'check-double' | 'chevron-down' | 'chevron-right' | 'chevron-up' | 'chevrons-right' | 'circle' | 'circle-arrow-right' | 'circle-check' | 'circle-check-outline' | 'circle-exclamation' | 'circle-exclamation-outline' | 'circle-info' | 'circle-minus' | 'circle-plus' | 'circle-x' | 'circle-xmark' | 'circle-xmark-outline' | 'clock' | 'clock-rotate-left' | 'coin' | 'coins' | 'computer-classic' | 'copy' | 'credit-card' | 'credit-card-blank' | 'credit-card-front' | 'download' | 'ellipsis-vertical' | 'empty-img' | 'empty-set' | 'eye' | 'eye-slash' | 'filter-list' | 'fingerprint' | 'folder-magnifying-glass' | 'folder-open' | 'gift-card' | 'grid-2' | 'grid-horizontal' | 'grip-dots-vertical' | 'headphones-simple' | 'house-blank' | 'id-badge' | 'inbox-full' | 'laptop' | 'light/star' | 'list' | 'loader' | 'lock-keyhole' | 'lock-keyhole-open' | 'logo' | 'magnifying-glass' | 'map-location-dot' | 'map-pin' | 'mobile-screen-button' | 'money-bill-transfer' | 'money-bill-trend-up' | 'money-bills' | 'notes-medical' | 'paste' | 'pen' | 'pen-to-square' | 'percent' | 'piggy-bank' | 'rectangle-history' | 'rectangle-history-circle-user' | 'rectangle-terminal' | 'rotate' | 'scale-balanced' | 'sd-card' | 'sd-cards' | 'server' | 'sheet-plastic' | 'sidebar' | 'sitemap' | 'solid/star' | 'squirrel' | 'stethoscope' | 'store' | 'timer' | 'trash' | 'trash-can' | 'upload' | 'user' | 'user-gear' | 'user-group' | 'user-tie' | 'user-tie-hair' | 'user-vneck' | 'users' | 'wallet' | 'warehouse-full' | 'xmark';
|