@paolojulian.dev/design-system 4.4.0 → 4.5.1
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/chevron-right-icon-CDCRryr1.js +60 -0
- package/dist/chevron-right-icon-CDCRryr1.js.map +1 -0
- package/dist/chevron-right-icon-CctWeN0d.cjs +2 -0
- package/dist/chevron-right-icon-CctWeN0d.cjs.map +1 -0
- package/dist/icons.cjs.js +1 -1
- package/dist/icons.cjs.js.map +1 -1
- package/dist/icons.d.ts +17 -5
- package/dist/icons.es.js +15 -11
- package/dist/icons.es.js.map +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +92 -0
- package/dist/index.es.js +1318 -773
- package/dist/index.es.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/theme.css +1 -1
- package/dist/vite-config/vite.config.ts +41 -39
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -109,6 +109,98 @@ export declare type PCardProps = PCardArticleProps | PCardAnchorProps;
|
|
|
109
109
|
|
|
110
110
|
export declare type PCardRef = HTMLElement;
|
|
111
111
|
|
|
112
|
+
export declare const PCombobox: ForwardRefExoticComponent< {
|
|
113
|
+
label: string;
|
|
114
|
+
options: PComboboxOption[];
|
|
115
|
+
value?: string;
|
|
116
|
+
defaultValue?: string;
|
|
117
|
+
selectedOption?: PComboboxOption | null;
|
|
118
|
+
onValueChange?: (value: string, option: PComboboxOption | null) => void;
|
|
119
|
+
query?: string;
|
|
120
|
+
defaultQuery?: string;
|
|
121
|
+
onQueryChange?: (query: string, details: {
|
|
122
|
+
source: PComboboxQueryChangeSource;
|
|
123
|
+
}) => void;
|
|
124
|
+
filterMode?: PComboboxFilterMode;
|
|
125
|
+
isLoading?: boolean;
|
|
126
|
+
isLoadingMore?: boolean;
|
|
127
|
+
hasMore?: boolean;
|
|
128
|
+
onLoadMore?: (details: {
|
|
129
|
+
query: string;
|
|
130
|
+
optionCount: number;
|
|
131
|
+
}) => void;
|
|
132
|
+
placeholder?: string;
|
|
133
|
+
searchPlaceholder?: string;
|
|
134
|
+
emptyText?: string;
|
|
135
|
+
loadingText?: string;
|
|
136
|
+
loadingMoreText?: string;
|
|
137
|
+
loadMoreText?: string;
|
|
138
|
+
helperText?: string;
|
|
139
|
+
isError?: boolean;
|
|
140
|
+
errorMessage?: string;
|
|
141
|
+
name?: string;
|
|
142
|
+
disabled?: boolean;
|
|
143
|
+
readOnly?: boolean;
|
|
144
|
+
required?: boolean;
|
|
145
|
+
clearable?: boolean;
|
|
146
|
+
className?: string;
|
|
147
|
+
inputClassName?: string;
|
|
148
|
+
} & Omit<HTMLAttributes<HTMLDivElement>, "className" | "defaultValue" | "onChange"> & RefAttributes<HTMLDivElement>>;
|
|
149
|
+
|
|
150
|
+
export declare type PComboboxFilterMode = 'local' | 'none';
|
|
151
|
+
|
|
152
|
+
export declare type PComboboxOption = {
|
|
153
|
+
value: string;
|
|
154
|
+
label: string;
|
|
155
|
+
description?: string;
|
|
156
|
+
group?: string;
|
|
157
|
+
meta?: ReactNode;
|
|
158
|
+
keywords?: string[];
|
|
159
|
+
disabled?: boolean;
|
|
160
|
+
};
|
|
161
|
+
|
|
162
|
+
export declare type PComboboxProps = {
|
|
163
|
+
label: string;
|
|
164
|
+
options: PComboboxOption[];
|
|
165
|
+
value?: string;
|
|
166
|
+
defaultValue?: string;
|
|
167
|
+
selectedOption?: PComboboxOption | null;
|
|
168
|
+
onValueChange?: (value: string, option: PComboboxOption | null) => void;
|
|
169
|
+
query?: string;
|
|
170
|
+
defaultQuery?: string;
|
|
171
|
+
onQueryChange?: (query: string, details: {
|
|
172
|
+
source: PComboboxQueryChangeSource;
|
|
173
|
+
}) => void;
|
|
174
|
+
filterMode?: PComboboxFilterMode;
|
|
175
|
+
isLoading?: boolean;
|
|
176
|
+
isLoadingMore?: boolean;
|
|
177
|
+
hasMore?: boolean;
|
|
178
|
+
onLoadMore?: (details: {
|
|
179
|
+
query: string;
|
|
180
|
+
optionCount: number;
|
|
181
|
+
}) => void;
|
|
182
|
+
placeholder?: string;
|
|
183
|
+
searchPlaceholder?: string;
|
|
184
|
+
emptyText?: string;
|
|
185
|
+
loadingText?: string;
|
|
186
|
+
loadingMoreText?: string;
|
|
187
|
+
loadMoreText?: string;
|
|
188
|
+
helperText?: string;
|
|
189
|
+
isError?: boolean;
|
|
190
|
+
errorMessage?: string;
|
|
191
|
+
name?: string;
|
|
192
|
+
disabled?: boolean;
|
|
193
|
+
readOnly?: boolean;
|
|
194
|
+
required?: boolean;
|
|
195
|
+
clearable?: boolean;
|
|
196
|
+
className?: string;
|
|
197
|
+
inputClassName?: string;
|
|
198
|
+
} & Omit<HTMLAttributes<HTMLDivElement>, 'className' | 'defaultValue' | 'onChange'>;
|
|
199
|
+
|
|
200
|
+
export declare type PComboboxQueryChangeSource = 'input' | 'open' | 'clear' | 'selection' | 'reset';
|
|
201
|
+
|
|
202
|
+
export declare type PComboboxRef = HTMLDivElement;
|
|
203
|
+
|
|
112
204
|
export declare const PDatePicker: ForwardRefExoticComponent< {
|
|
113
205
|
label: string;
|
|
114
206
|
value?: string;
|