@pismo/marola 2.1.66 → 2.1.68
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/components/Avatar/Avatar.stories.d.ts +1 -1
- package/dist/components/Dialog/Dialog.stories.d.ts +63 -63
- package/dist/components/Draggable/useDraggable.js +1 -1
- package/dist/components/EllipsisTooltip/EllipsisTooltip.stories.d.ts +5 -5
- package/dist/components/Icon/Icon.d.ts +3 -2
- package/dist/components/Icon/Icon.js +7 -7
- package/dist/components/Icon/Icon.stories.d.ts +1 -1
- package/dist/components/Icon/types.d.ts +1 -1
- package/dist/components/InputSearch/InputSearch.d.ts +1 -1
- package/dist/components/InputSearch/InputSearch.stories.d.ts +1 -1
- package/dist/components/Popover/Popover.d.ts +3 -2
- package/dist/components/Popover/Popover.js +13 -12
- package/dist/components/Popover/Popover.stories.d.ts +1 -1
- package/dist/components/Snackbar/Snackbar.stories.d.ts +15 -15
- package/dist/contexts/DraggableProvider/DraggableProvider.js +1 -1
- package/dist/{react-BTbo_5A3.js → react-Bl3sGIkV.js} +82 -82
- package/dist/utils/iconsList.js +120 -108
- package/package.json +13 -13
|
@@ -2,7 +2,7 @@ import { StoryObj } from '@storybook/react';
|
|
|
2
2
|
declare const meta: {
|
|
3
3
|
title: string;
|
|
4
4
|
component: import('react').ForwardRefExoticComponent<{
|
|
5
|
-
type: "icon" | "
|
|
5
|
+
type: "icon" | "text" | "image";
|
|
6
6
|
size?: number | "default" | "small" | "large";
|
|
7
7
|
shape?: "circle" | "square";
|
|
8
8
|
children: import('react').ReactNode;
|
|
@@ -15,67 +15,19 @@ declare const meta: {
|
|
|
15
15
|
tags: string[];
|
|
16
16
|
decorators: ((Story: import('@storybook/core/csf').PartialStoryFn<import('@storybook/react').ReactRenderer, {
|
|
17
17
|
color?: string | undefined | undefined;
|
|
18
|
-
children: import('react').ReactElement<any, string | import('react').JSXElementConstructor<any>> & import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<unknown>>;
|
|
19
|
-
title?: string | undefined | undefined;
|
|
20
|
-
style?: import('react').CSSProperties | undefined;
|
|
21
|
-
className?: string | undefined | undefined;
|
|
22
|
-
slot?: string | undefined | undefined;
|
|
23
18
|
suppressHydrationWarning?: boolean | undefined | undefined;
|
|
24
|
-
|
|
25
|
-
defaultValue?: string | number | readonly string[] | undefined;
|
|
26
|
-
suppressContentEditableWarning?: boolean | undefined | undefined;
|
|
27
|
-
open: boolean;
|
|
28
|
-
content?: string | undefined | undefined;
|
|
29
|
-
dir?: string | undefined | undefined;
|
|
30
|
-
hidden?: boolean | undefined | undefined;
|
|
31
|
-
container?: Element | (() => Element | null) | null | undefined;
|
|
32
|
-
onClick?: import('react').MouseEventHandler<HTMLDivElement> | undefined;
|
|
33
|
-
onChange?: import('react').FormEventHandler<HTMLDivElement> | undefined;
|
|
34
|
-
accessKey?: string | undefined | undefined;
|
|
35
|
-
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {}) | undefined;
|
|
36
|
-
autoFocus?: boolean | undefined | undefined;
|
|
37
|
-
contentEditable?: "inherit" | (boolean | "true" | "false") | "plaintext-only" | undefined;
|
|
38
|
-
contextMenu?: string | undefined | undefined;
|
|
39
|
-
draggable?: (boolean | "true" | "false") | undefined;
|
|
40
|
-
enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined | undefined;
|
|
19
|
+
className?: string | undefined | undefined;
|
|
41
20
|
id?: string | undefined | undefined;
|
|
42
21
|
lang?: string | undefined | undefined;
|
|
43
|
-
|
|
44
|
-
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
45
|
-
tabIndex?: number | undefined | undefined;
|
|
46
|
-
translate?: "yes" | "no" | undefined | undefined;
|
|
47
|
-
radioGroup?: string | undefined | undefined;
|
|
22
|
+
style?: import('react').CSSProperties | undefined;
|
|
48
23
|
role?: import('react').AriaRole | undefined;
|
|
49
|
-
|
|
50
|
-
datatype?: string | undefined | undefined;
|
|
51
|
-
inlist?: any;
|
|
52
|
-
prefix?: string | undefined | undefined;
|
|
53
|
-
property?: string | undefined | undefined;
|
|
54
|
-
rel?: string | undefined | undefined;
|
|
55
|
-
resource?: string | undefined | undefined;
|
|
56
|
-
rev?: string | undefined | undefined;
|
|
57
|
-
typeof?: string | undefined | undefined;
|
|
58
|
-
vocab?: string | undefined | undefined;
|
|
59
|
-
autoCorrect?: string | undefined | undefined;
|
|
60
|
-
autoSave?: string | undefined | undefined;
|
|
61
|
-
itemProp?: string | undefined | undefined;
|
|
62
|
-
itemScope?: boolean | undefined | undefined;
|
|
63
|
-
itemType?: string | undefined | undefined;
|
|
64
|
-
itemID?: string | undefined | undefined;
|
|
65
|
-
itemRef?: string | undefined | undefined;
|
|
66
|
-
results?: number | undefined | undefined;
|
|
67
|
-
security?: string | undefined | undefined;
|
|
68
|
-
unselectable?: "on" | "off" | undefined | undefined;
|
|
69
|
-
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined | undefined;
|
|
70
|
-
is?: string | undefined | undefined;
|
|
71
|
-
exportparts?: string | undefined | undefined;
|
|
72
|
-
part?: string | undefined | undefined;
|
|
24
|
+
tabIndex?: number | undefined | undefined;
|
|
73
25
|
"aria-activedescendant"?: string | undefined | undefined;
|
|
74
|
-
"aria-atomic"?: (boolean | "
|
|
26
|
+
"aria-atomic"?: (boolean | "false" | "true") | undefined;
|
|
75
27
|
"aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined | undefined;
|
|
76
28
|
"aria-braillelabel"?: string | undefined | undefined;
|
|
77
29
|
"aria-brailleroledescription"?: string | undefined | undefined;
|
|
78
|
-
"aria-busy"?: (boolean | "
|
|
30
|
+
"aria-busy"?: (boolean | "false" | "true") | undefined;
|
|
79
31
|
"aria-checked"?: boolean | "false" | "mixed" | "true" | undefined | undefined;
|
|
80
32
|
"aria-colcount"?: number | undefined | undefined;
|
|
81
33
|
"aria-colindex"?: number | undefined | undefined;
|
|
@@ -86,43 +38,44 @@ declare const meta: {
|
|
|
86
38
|
"aria-describedby"?: string | undefined | undefined;
|
|
87
39
|
"aria-description"?: string | undefined | undefined;
|
|
88
40
|
"aria-details"?: string | undefined | undefined;
|
|
89
|
-
"aria-disabled"?: (boolean | "
|
|
41
|
+
"aria-disabled"?: (boolean | "false" | "true") | undefined;
|
|
90
42
|
"aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined | undefined;
|
|
91
43
|
"aria-errormessage"?: string | undefined | undefined;
|
|
92
|
-
"aria-expanded"?: (boolean | "
|
|
44
|
+
"aria-expanded"?: (boolean | "false" | "true") | undefined;
|
|
93
45
|
"aria-flowto"?: string | undefined | undefined;
|
|
94
|
-
"aria-grabbed"?: (boolean | "
|
|
46
|
+
"aria-grabbed"?: (boolean | "false" | "true") | undefined;
|
|
95
47
|
"aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined | undefined;
|
|
96
|
-
"aria-hidden"?: (boolean | "
|
|
48
|
+
"aria-hidden"?: (boolean | "false" | "true") | undefined;
|
|
97
49
|
"aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined | undefined;
|
|
98
50
|
"aria-keyshortcuts"?: string | undefined | undefined;
|
|
99
51
|
"aria-label"?: string | undefined | undefined;
|
|
100
52
|
"aria-labelledby"?: string | undefined | undefined;
|
|
101
53
|
"aria-level"?: number | undefined | undefined;
|
|
102
54
|
"aria-live"?: "off" | "assertive" | "polite" | undefined | undefined;
|
|
103
|
-
"aria-modal"?: (boolean | "
|
|
104
|
-
"aria-multiline"?: (boolean | "
|
|
105
|
-
"aria-multiselectable"?: (boolean | "
|
|
55
|
+
"aria-modal"?: (boolean | "false" | "true") | undefined;
|
|
56
|
+
"aria-multiline"?: (boolean | "false" | "true") | undefined;
|
|
57
|
+
"aria-multiselectable"?: (boolean | "false" | "true") | undefined;
|
|
106
58
|
"aria-orientation"?: "horizontal" | "vertical" | undefined | undefined;
|
|
107
59
|
"aria-owns"?: string | undefined | undefined;
|
|
108
60
|
"aria-placeholder"?: string | undefined | undefined;
|
|
109
61
|
"aria-posinset"?: number | undefined | undefined;
|
|
110
62
|
"aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined | undefined;
|
|
111
|
-
"aria-readonly"?: (boolean | "
|
|
63
|
+
"aria-readonly"?: (boolean | "false" | "true") | undefined;
|
|
112
64
|
"aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined | undefined;
|
|
113
|
-
"aria-required"?: (boolean | "
|
|
65
|
+
"aria-required"?: (boolean | "false" | "true") | undefined;
|
|
114
66
|
"aria-roledescription"?: string | undefined | undefined;
|
|
115
67
|
"aria-rowcount"?: number | undefined | undefined;
|
|
116
68
|
"aria-rowindex"?: number | undefined | undefined;
|
|
117
69
|
"aria-rowindextext"?: string | undefined | undefined;
|
|
118
70
|
"aria-rowspan"?: number | undefined | undefined;
|
|
119
|
-
"aria-selected"?: (boolean | "
|
|
71
|
+
"aria-selected"?: (boolean | "false" | "true") | undefined;
|
|
120
72
|
"aria-setsize"?: number | undefined | undefined;
|
|
121
73
|
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined | undefined;
|
|
122
74
|
"aria-valuemax"?: number | undefined | undefined;
|
|
123
75
|
"aria-valuemin"?: number | undefined | undefined;
|
|
124
76
|
"aria-valuenow"?: number | undefined | undefined;
|
|
125
77
|
"aria-valuetext"?: string | undefined | undefined;
|
|
78
|
+
children: import('react').ReactElement<any, string | import('react').JSXElementConstructor<any>> & import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<unknown>>;
|
|
126
79
|
dangerouslySetInnerHTML?: {
|
|
127
80
|
__html: string | TrustedHTML;
|
|
128
81
|
} | undefined | undefined;
|
|
@@ -142,6 +95,7 @@ declare const meta: {
|
|
|
142
95
|
onFocusCapture?: import('react').FocusEventHandler<HTMLDivElement> | undefined;
|
|
143
96
|
onBlur?: import('react').FocusEventHandler<HTMLDivElement> | undefined;
|
|
144
97
|
onBlurCapture?: import('react').FocusEventHandler<HTMLDivElement> | undefined;
|
|
98
|
+
onChange?: import('react').FormEventHandler<HTMLDivElement> | undefined;
|
|
145
99
|
onChangeCapture?: import('react').FormEventHandler<HTMLDivElement> | undefined;
|
|
146
100
|
onBeforeInput?: import('react').InputEventHandler<HTMLDivElement> | undefined;
|
|
147
101
|
onBeforeInputCapture?: import('react').FormEventHandler<HTMLDivElement> | undefined;
|
|
@@ -209,6 +163,7 @@ declare const meta: {
|
|
|
209
163
|
onWaitingCapture?: import('react').ReactEventHandler<HTMLDivElement> | undefined;
|
|
210
164
|
onAuxClick?: import('react').MouseEventHandler<HTMLDivElement> | undefined;
|
|
211
165
|
onAuxClickCapture?: import('react').MouseEventHandler<HTMLDivElement> | undefined;
|
|
166
|
+
onClick?: import('react').MouseEventHandler<HTMLDivElement> | undefined;
|
|
212
167
|
onClickCapture?: import('react').MouseEventHandler<HTMLDivElement> | undefined;
|
|
213
168
|
onContextMenu?: import('react').MouseEventHandler<HTMLDivElement> | undefined;
|
|
214
169
|
onContextMenuCapture?: import('react').MouseEventHandler<HTMLDivElement> | undefined;
|
|
@@ -282,6 +237,51 @@ declare const meta: {
|
|
|
282
237
|
onAnimationIterationCapture?: import('react').AnimationEventHandler<HTMLDivElement> | undefined;
|
|
283
238
|
onTransitionEnd?: import('react').TransitionEventHandler<HTMLDivElement> | undefined;
|
|
284
239
|
onTransitionEndCapture?: import('react').TransitionEventHandler<HTMLDivElement> | undefined;
|
|
240
|
+
title?: string | undefined | undefined;
|
|
241
|
+
hidden?: boolean | undefined | undefined;
|
|
242
|
+
content?: string | undefined | undefined;
|
|
243
|
+
open: boolean;
|
|
244
|
+
slot?: string | undefined | undefined;
|
|
245
|
+
defaultChecked?: boolean | undefined | undefined;
|
|
246
|
+
defaultValue?: string | number | readonly string[] | undefined;
|
|
247
|
+
suppressContentEditableWarning?: boolean | undefined | undefined;
|
|
248
|
+
dir?: string | undefined | undefined;
|
|
249
|
+
container?: Element | (() => Element | null) | null | undefined;
|
|
250
|
+
accessKey?: string | undefined | undefined;
|
|
251
|
+
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {}) | undefined;
|
|
252
|
+
autoFocus?: boolean | undefined | undefined;
|
|
253
|
+
contentEditable?: "inherit" | (boolean | "false" | "true") | "plaintext-only" | undefined;
|
|
254
|
+
contextMenu?: string | undefined | undefined;
|
|
255
|
+
draggable?: (boolean | "false" | "true") | undefined;
|
|
256
|
+
enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined | undefined;
|
|
257
|
+
nonce?: string | undefined | undefined;
|
|
258
|
+
spellCheck?: (boolean | "false" | "true") | undefined;
|
|
259
|
+
translate?: "yes" | "no" | undefined | undefined;
|
|
260
|
+
radioGroup?: string | undefined | undefined;
|
|
261
|
+
about?: string | undefined | undefined;
|
|
262
|
+
datatype?: string | undefined | undefined;
|
|
263
|
+
inlist?: any;
|
|
264
|
+
prefix?: string | undefined | undefined;
|
|
265
|
+
property?: string | undefined | undefined;
|
|
266
|
+
rel?: string | undefined | undefined;
|
|
267
|
+
resource?: string | undefined | undefined;
|
|
268
|
+
rev?: string | undefined | undefined;
|
|
269
|
+
typeof?: string | undefined | undefined;
|
|
270
|
+
vocab?: string | undefined | undefined;
|
|
271
|
+
autoCorrect?: string | undefined | undefined;
|
|
272
|
+
autoSave?: string | undefined | undefined;
|
|
273
|
+
itemProp?: string | undefined | undefined;
|
|
274
|
+
itemScope?: boolean | undefined | undefined;
|
|
275
|
+
itemType?: string | undefined | undefined;
|
|
276
|
+
itemID?: string | undefined | undefined;
|
|
277
|
+
itemRef?: string | undefined | undefined;
|
|
278
|
+
results?: number | undefined | undefined;
|
|
279
|
+
security?: string | undefined | undefined;
|
|
280
|
+
unselectable?: "on" | "off" | undefined | undefined;
|
|
281
|
+
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined | undefined;
|
|
282
|
+
is?: string | undefined | undefined;
|
|
283
|
+
exportparts?: string | undefined | undefined;
|
|
284
|
+
part?: string | undefined | undefined;
|
|
285
285
|
slotProps?: {
|
|
286
286
|
root?: import('@mui/base').SlotComponentProps<"div", import('@mui/base').ModalRootSlotPropsOverrides, import('@mui/base').ModalOwnerState>;
|
|
287
287
|
backdrop?: import('@mui/base').SlotComponentProps<"div", import('@mui/base').ModalBackdropSlotPropsOverrides, import('@mui/base').ModalOwnerState>;
|
|
@@ -8,10 +8,13 @@ declare const meta: {
|
|
|
8
8
|
layout: string;
|
|
9
9
|
};
|
|
10
10
|
decorators: ((Story: import('@storybook/core/csf').PartialStoryFn<import('@storybook/react').ReactRenderer, {
|
|
11
|
+
className?: string | undefined;
|
|
12
|
+
style?: import('react').CSSProperties | undefined;
|
|
11
13
|
children: import('react').ReactNode;
|
|
12
14
|
title?: import('react').ReactNode;
|
|
13
|
-
|
|
14
|
-
|
|
15
|
+
content: import('react').ReactNode;
|
|
16
|
+
position?: import('@floating-ui/utils').Placement | undefined;
|
|
17
|
+
open?: boolean | undefined;
|
|
15
18
|
'data-testid'?: string | undefined;
|
|
16
19
|
footer?: {
|
|
17
20
|
type: "button" | "link";
|
|
@@ -19,10 +22,7 @@ declare const meta: {
|
|
|
19
22
|
onClick?: () => void;
|
|
20
23
|
href?: string;
|
|
21
24
|
} | undefined;
|
|
22
|
-
open?: boolean | undefined;
|
|
23
25
|
onClose?: (() => void) | undefined;
|
|
24
|
-
content: import('react').ReactNode;
|
|
25
|
-
position?: import('@floating-ui/utils').Placement | undefined;
|
|
26
26
|
disablePortal?: boolean | undefined;
|
|
27
27
|
arialRole?: import('react').AriaRole | undefined;
|
|
28
28
|
disableHoverListener?: boolean | undefined;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { IconName } from './types';
|
|
2
|
+
import { SVGAttributes } from 'react';
|
|
2
3
|
export type IconFile = React.FunctionComponent<React.SVGProps<SVGSVGElement> & {
|
|
3
4
|
title?: string | undefined;
|
|
4
5
|
}>;
|
|
@@ -9,5 +10,5 @@ export type IconProps = {
|
|
|
9
10
|
size?: number | string;
|
|
10
11
|
/** Icon color */
|
|
11
12
|
color?: string;
|
|
12
|
-
}
|
|
13
|
-
export declare const Icon: (
|
|
13
|
+
} & SVGAttributes<SVGElement>;
|
|
14
|
+
export declare const Icon: (props: IconProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { iconsList as
|
|
3
|
-
const
|
|
4
|
-
const c =
|
|
1
|
+
import { jsxs as e, jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import { iconsList as l } from "../../utils/iconsList.js";
|
|
3
|
+
const m = (n) => {
|
|
4
|
+
const { icon: o, size: t, color: s, ...r } = n, c = l[o] ?? /* @__PURE__ */ e("span", { title: o, children: [
|
|
5
5
|
"ERROR ICON ",
|
|
6
|
-
/* @__PURE__ */ i(
|
|
6
|
+
/* @__PURE__ */ i(m, { icon: "circle-exclamation" })
|
|
7
7
|
] });
|
|
8
|
-
return c && /* @__PURE__ */ i(c, { style: { color:
|
|
8
|
+
return c && /* @__PURE__ */ i(c, { style: { color: s, height: t, width: t }, ...r });
|
|
9
9
|
};
|
|
10
10
|
export {
|
|
11
|
-
|
|
11
|
+
m as Icon
|
|
12
12
|
};
|
|
@@ -2,7 +2,7 @@ import { StoryObj } from '@storybook/react';
|
|
|
2
2
|
import { IconProps } from './Icon';
|
|
3
3
|
declare const meta: {
|
|
4
4
|
title: string;
|
|
5
|
-
component: (
|
|
5
|
+
component: (props: IconProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
tags: string[];
|
|
7
7
|
parameters: {
|
|
8
8
|
layout: string;
|
|
@@ -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-rotate-left' | 'arrow-up-right-from-square' | 'arrows-rotate' | 'badge-check' | 'bell' | 'building-columns' | 'calendar-days' | 'check' | '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' | 'graduation-cap' | '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' | 'messages-question' | 'mobile-screen-button' | 'money-bill-transfer' | 'money-bill-trend-up' | 'money-bills' | 'notes-medical' | 'paste' | 'pen' | 'pen-to-square' | 'percent' | 'piggy-bank' | 'plus' | '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-group-crown' | '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-rotate-left' | 'arrow-up-right-from-square' | 'arrows-rotate' | 'badge-check' | 'bell' | 'building-columns' | 'calendar-days' | 'check' | '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' | 'graduation-cap' | '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' | 'messages-question' | 'mobile-screen-button' | 'money-bill-transfer' | 'money-bill-trend-up' | 'money-bills' | 'notes-medical' | 'paste' | 'pen' | 'pen-to-square' | 'people-arrows-left-right' | 'percent' | 'piggy-bank' | 'plus' | 'rectangle-history' | 'rectangle-history-circle-user' | 'rectangle-terminal' | 'rotate' | 'scale-balanced' | 'sd-card' | 'sd-cards' | 'server' | 'sheet-plastic' | 'shield-xmark' | 'sidebar' | 'sitemap' | 'solid/star' | 'squirrel' | 'stethoscope' | 'store' | 'timer' | 'trash' | 'trash-can' | 'upload' | 'user' | 'user-gear' | 'user-group' | 'user-group-crown' | 'user-tie' | 'user-tie-hair' | 'user-vneck' | 'users' | 'wallet' | 'warehouse-full' | 'xmark';
|
|
@@ -10,7 +10,7 @@ export declare const InputSearch: import('react').ForwardRefExoticComponent<(Omi
|
|
|
10
10
|
multiline?: false;
|
|
11
11
|
leftIcon?: import('react').ReactNode;
|
|
12
12
|
rightIcon?: import('react').ReactNode;
|
|
13
|
-
type?: ("number" | "url" | "file" | "color" | "search" | (string & {}) | "button" | "
|
|
13
|
+
type?: ("number" | "url" | "file" | "color" | "search" | (string & {}) | "button" | "hidden" | "text" | "reset" | "range" | "time" | "image" | "tel" | "email" | "date" | "datetime-local" | "month" | "password" | "week") | "number-as-text";
|
|
14
14
|
triggerDelay?: number;
|
|
15
15
|
allowLeadingZeros?: boolean;
|
|
16
16
|
isInteger?: boolean;
|
|
@@ -12,7 +12,7 @@ declare const meta: {
|
|
|
12
12
|
multiline?: false;
|
|
13
13
|
leftIcon?: import('react').ReactNode;
|
|
14
14
|
rightIcon?: import('react').ReactNode;
|
|
15
|
-
type?: ("number" | "url" | "file" | "color" | "search" | (string & {}) | "button" | "
|
|
15
|
+
type?: ("number" | "url" | "file" | "color" | "search" | (string & {}) | "button" | "hidden" | "text" | "reset" | "range" | "time" | "image" | "tel" | "email" | "date" | "datetime-local" | "month" | "password" | "week") | "number-as-text";
|
|
16
16
|
triggerDelay?: number;
|
|
17
17
|
allowLeadingZeros?: boolean;
|
|
18
18
|
isInteger?: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PopupOffsetOptions, PopupPlacement } from '@mui/base/Unstable_Popup';
|
|
1
|
+
import { PopupOwnProps as MUIPopupBaseProps, PopupOffsetOptions, PopupPlacement } from '@mui/base/Unstable_Popup';
|
|
2
2
|
export type PopoverProps = {
|
|
3
3
|
/** An HTML element or a function that returns either. */
|
|
4
4
|
anchorRef?: Element;
|
|
@@ -16,9 +16,10 @@ export type PopoverProps = {
|
|
|
16
16
|
'data-testid'?: string;
|
|
17
17
|
/** Callback fired when a "click away" event is detected. */
|
|
18
18
|
onClickAway?: (event: MouseEvent | TouchEvent) => void;
|
|
19
|
+
muiPopupBaseProps?: MUIPopupBaseProps;
|
|
19
20
|
};
|
|
20
21
|
export declare const Popover: {
|
|
21
|
-
({ anchorRef, open, children, placement, className, offset, "data-testid": dataTestId, onClickAway, }: PopoverProps): import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
({ anchorRef, open, children, placement, className, offset, "data-testid": dataTestId, onClickAway, muiPopupBaseProps, }: PopoverProps): import("react/jsx-runtime").JSX.Element;
|
|
22
23
|
Header: ({ children }: {
|
|
23
24
|
children: React.ReactNode;
|
|
24
25
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import { c as
|
|
3
|
-
import { s as
|
|
4
|
-
import { PopoverBody as
|
|
5
|
-
import { PopoverFooter as
|
|
6
|
-
import { PopoverHeader as
|
|
7
|
-
import { P as
|
|
8
|
-
import { C as
|
|
2
|
+
import { c as v } from "../../clsx-OuTLNxxd.js";
|
|
3
|
+
import { s as l } from "../../Popover.module-B4boCutS.js";
|
|
4
|
+
import { PopoverBody as n } from "./PopoverBody.js";
|
|
5
|
+
import { PopoverFooter as P } from "./PopoverFooter.js";
|
|
6
|
+
import { PopoverHeader as y } from "./PopoverHeader.js";
|
|
7
|
+
import { P as h } from "../../Popup-D267EI4e.js";
|
|
8
|
+
import { C as x } from "../../ClickAwayListener-BnYMO5Ki.js";
|
|
9
9
|
const r = ({
|
|
10
10
|
anchorRef: t,
|
|
11
11
|
open: m,
|
|
@@ -14,11 +14,12 @@ const r = ({
|
|
|
14
14
|
className: s,
|
|
15
15
|
offset: a,
|
|
16
16
|
"data-testid": d,
|
|
17
|
-
onClickAway: e
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
r.
|
|
21
|
-
r.
|
|
17
|
+
onClickAway: e,
|
|
18
|
+
muiPopupBaseProps: c
|
|
19
|
+
}) => /* @__PURE__ */ o(x, { onClickAway: (f) => e ? e(f) : void 0, children: /* @__PURE__ */ o(h, { ...c, offset: a, placement: i, open: m, anchor: t, children: /* @__PURE__ */ o("div", { "data-testid": d, className: v(l.popover, s), children: p }) }) });
|
|
20
|
+
r.Header = y;
|
|
21
|
+
r.Footer = P;
|
|
22
|
+
r.Body = n;
|
|
22
23
|
export {
|
|
23
24
|
r as Popover
|
|
24
25
|
};
|
|
@@ -3,7 +3,7 @@ import { PopoverProps } from './Popover';
|
|
|
3
3
|
declare const meta: {
|
|
4
4
|
title: string;
|
|
5
5
|
component: {
|
|
6
|
-
({ anchorRef, open, children, placement, className, offset, "data-testid": dataTestId, onClickAway, }: PopoverProps): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
({ anchorRef, open, children, placement, className, offset, "data-testid": dataTestId, onClickAway, muiPopupBaseProps, }: PopoverProps): import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
Header: ({ children }: {
|
|
8
8
|
children: React.ReactNode;
|
|
9
9
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -44,17 +44,17 @@ declare const meta: {
|
|
|
44
44
|
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {}) | undefined;
|
|
45
45
|
autoFocus?: boolean | undefined | undefined;
|
|
46
46
|
className?: string | undefined | undefined;
|
|
47
|
-
contentEditable?: "inherit" | (boolean | "
|
|
47
|
+
contentEditable?: "inherit" | (boolean | "false" | "true") | "plaintext-only" | undefined;
|
|
48
48
|
contextMenu?: string | undefined | undefined;
|
|
49
49
|
dir?: string | undefined | undefined;
|
|
50
|
-
draggable?: (boolean | "
|
|
50
|
+
draggable?: (boolean | "false" | "true") | undefined;
|
|
51
51
|
enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined | undefined;
|
|
52
52
|
hidden?: boolean | undefined | undefined;
|
|
53
53
|
id?: string | undefined | undefined;
|
|
54
54
|
lang?: string | undefined | undefined;
|
|
55
55
|
nonce?: string | undefined | undefined;
|
|
56
56
|
slot?: string | undefined | undefined;
|
|
57
|
-
spellCheck?: (boolean | "
|
|
57
|
+
spellCheck?: (boolean | "false" | "true") | undefined;
|
|
58
58
|
style?: import('react').CSSProperties | undefined;
|
|
59
59
|
tabIndex?: number | undefined | undefined;
|
|
60
60
|
title?: string | undefined | undefined;
|
|
@@ -88,11 +88,11 @@ declare const meta: {
|
|
|
88
88
|
exportparts?: string | undefined | undefined;
|
|
89
89
|
part?: string | undefined | undefined;
|
|
90
90
|
"aria-activedescendant"?: string | undefined | undefined;
|
|
91
|
-
"aria-atomic"?: (boolean | "
|
|
91
|
+
"aria-atomic"?: (boolean | "false" | "true") | undefined;
|
|
92
92
|
"aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined | undefined;
|
|
93
93
|
"aria-braillelabel"?: string | undefined | undefined;
|
|
94
94
|
"aria-brailleroledescription"?: string | undefined | undefined;
|
|
95
|
-
"aria-busy"?: (boolean | "
|
|
95
|
+
"aria-busy"?: (boolean | "false" | "true") | undefined;
|
|
96
96
|
"aria-checked"?: boolean | "false" | "mixed" | "true" | undefined | undefined;
|
|
97
97
|
"aria-colcount"?: number | undefined | undefined;
|
|
98
98
|
"aria-colindex"?: number | undefined | undefined;
|
|
@@ -103,37 +103,37 @@ declare const meta: {
|
|
|
103
103
|
"aria-describedby"?: string | undefined | undefined;
|
|
104
104
|
"aria-description"?: string | undefined | undefined;
|
|
105
105
|
"aria-details"?: string | undefined | undefined;
|
|
106
|
-
"aria-disabled"?: (boolean | "
|
|
106
|
+
"aria-disabled"?: (boolean | "false" | "true") | undefined;
|
|
107
107
|
"aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined | undefined;
|
|
108
108
|
"aria-errormessage"?: string | undefined | undefined;
|
|
109
|
-
"aria-expanded"?: (boolean | "
|
|
109
|
+
"aria-expanded"?: (boolean | "false" | "true") | undefined;
|
|
110
110
|
"aria-flowto"?: string | undefined | undefined;
|
|
111
|
-
"aria-grabbed"?: (boolean | "
|
|
111
|
+
"aria-grabbed"?: (boolean | "false" | "true") | undefined;
|
|
112
112
|
"aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined | undefined;
|
|
113
|
-
"aria-hidden"?: (boolean | "
|
|
113
|
+
"aria-hidden"?: (boolean | "false" | "true") | undefined;
|
|
114
114
|
"aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined | undefined;
|
|
115
115
|
"aria-keyshortcuts"?: string | undefined | undefined;
|
|
116
116
|
"aria-label"?: string | undefined | undefined;
|
|
117
117
|
"aria-labelledby"?: string | undefined | undefined;
|
|
118
118
|
"aria-level"?: number | undefined | undefined;
|
|
119
119
|
"aria-live"?: "off" | "assertive" | "polite" | undefined | undefined;
|
|
120
|
-
"aria-modal"?: (boolean | "
|
|
121
|
-
"aria-multiline"?: (boolean | "
|
|
122
|
-
"aria-multiselectable"?: (boolean | "
|
|
120
|
+
"aria-modal"?: (boolean | "false" | "true") | undefined;
|
|
121
|
+
"aria-multiline"?: (boolean | "false" | "true") | undefined;
|
|
122
|
+
"aria-multiselectable"?: (boolean | "false" | "true") | undefined;
|
|
123
123
|
"aria-orientation"?: "horizontal" | "vertical" | undefined | undefined;
|
|
124
124
|
"aria-owns"?: string | undefined | undefined;
|
|
125
125
|
"aria-placeholder"?: string | undefined | undefined;
|
|
126
126
|
"aria-posinset"?: number | undefined | undefined;
|
|
127
127
|
"aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined | undefined;
|
|
128
|
-
"aria-readonly"?: (boolean | "
|
|
128
|
+
"aria-readonly"?: (boolean | "false" | "true") | undefined;
|
|
129
129
|
"aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined | undefined;
|
|
130
|
-
"aria-required"?: (boolean | "
|
|
130
|
+
"aria-required"?: (boolean | "false" | "true") | undefined;
|
|
131
131
|
"aria-roledescription"?: string | undefined | undefined;
|
|
132
132
|
"aria-rowcount"?: number | undefined | undefined;
|
|
133
133
|
"aria-rowindex"?: number | undefined | undefined;
|
|
134
134
|
"aria-rowindextext"?: string | undefined | undefined;
|
|
135
135
|
"aria-rowspan"?: number | undefined | undefined;
|
|
136
|
-
"aria-selected"?: (boolean | "
|
|
136
|
+
"aria-selected"?: (boolean | "false" | "true") | undefined;
|
|
137
137
|
"aria-setsize"?: number | undefined | undefined;
|
|
138
138
|
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined | undefined;
|
|
139
139
|
"aria-valuemax"?: number | undefined | undefined;
|