sakana-element 2.1.4 → 2.2.0
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/README.md +9 -6
- package/dist/es/Avatar-CxsRW-wl.js +9 -0
- package/dist/es/Badge-CoFWwBwv.js +14 -0
- package/dist/es/Breadcrumb-BtrwTVKW.js +15 -0
- package/dist/es/{Button-fW_ZOLmT.js → Button-S_31-UWJ.js} +3 -3
- package/dist/es/Card-DcW6nHYD.js +16 -0
- package/dist/es/Collapse-DsS7M-m3.js +53 -0
- package/dist/es/ConfigProvider-BgIewHXP.js +44 -0
- package/dist/es/{Dropdown-49nf6F8P.js → Dropdown-GcomGMAI.js} +10 -10
- package/dist/es/FileInput-BQ59woas.js +33 -0
- package/dist/es/Form-j90EzLXU.js +122 -0
- package/dist/es/{Input-DBPpvf0Y.js → Input-CiE4bPJN.js} +4 -4
- package/dist/es/Link-B9B2APZq.js +11 -0
- package/dist/es/Loading-BW99pE5N.js +92 -0
- package/dist/es/Message-DCNnTUje.js +123 -0
- package/dist/es/{Notification-D4RYHV9o.js → Notification-CBzY5904.js} +14 -14
- package/dist/es/Popconfirm-DF6d2ORS.js +23 -0
- package/dist/es/Select-Dwqv8isB.js +133 -0
- package/dist/es/Switch-B1Gnv1tB.js +34 -0
- package/dist/es/{Tooltip-HWx_i2FA.js → Tooltip-k6gKnMyt.js} +3 -3
- package/dist/es/hooks-BaG7l8K5.js +116 -0
- package/dist/es/index.js +73 -63
- package/dist/index.css +1 -1
- package/dist/theme/Alert.css +1 -1
- package/dist/theme/Avatar.css +116 -0
- package/dist/theme/Badge.css +36 -30
- package/dist/theme/Breadcrumb.css +150 -0
- package/dist/theme/Button.css +216 -216
- package/dist/theme/Card.css +170 -19
- package/dist/theme/Collapse.css +214 -54
- package/dist/theme/FileInput.css +365 -0
- package/dist/theme/Form.css +65 -34
- package/dist/theme/Link.css +50 -0
- package/dist/theme/Loading.css +154 -4
- package/dist/theme/Message.css +7 -4
- package/dist/theme/Notification.css +21 -21
- package/dist/theme/Popconfirm.css +5 -5
- package/dist/theme/Select.css +78 -78
- package/dist/theme/index.css +1 -5
- package/dist/types/components/Avatar/index.d.ts +30 -0
- package/dist/types/components/Avatar/types.d.ts +10 -0
- package/dist/types/components/Badge/types.d.ts +1 -0
- package/dist/types/components/Breadcrumb/constants.d.ts +3 -0
- package/dist/types/components/Breadcrumb/index.d.ts +45 -0
- package/dist/types/components/Breadcrumb/types.d.ts +13 -0
- package/dist/types/components/Card/types.d.ts +6 -0
- package/dist/types/components/Collapse/constants.d.ts +3 -0
- package/dist/types/components/Collapse/index.d.ts +9 -3
- package/dist/types/components/Collapse/types.d.ts +12 -0
- package/dist/types/components/FileInput/constants.d.ts +3 -0
- package/dist/types/components/FileInput/index.d.ts +58 -0
- package/dist/types/components/FileInput/types.d.ts +24 -0
- package/dist/types/components/Form/types.d.ts +17 -7
- package/dist/types/components/Input/index.d.ts +5 -5
- package/dist/types/components/Link/index.d.ts +34 -0
- package/dist/types/components/Link/types.d.ts +10 -0
- package/dist/types/components/Loading/index.d.ts +25 -0
- package/dist/types/components/Loading/types.d.ts +9 -0
- package/dist/types/components/Message/types.d.ts +2 -2
- package/dist/types/components/MessageBox/types.d.ts +2 -2
- package/dist/types/components/Notification/index.d.ts +1 -1
- package/dist/types/components/Notification/methods.d.ts +3 -1
- package/dist/types/components/Notification/types.d.ts +2 -2
- package/dist/types/components/Select/constants.d.ts +2 -1
- package/dist/types/components/Select/index.d.ts +11 -11
- package/dist/types/components/Select/useKeyMap.d.ts +1 -1
- package/dist/types/components/index.d.ts +4 -0
- package/dist/types/hooks/vitest.setup.d.ts +4 -0
- package/dist/umd/index.css +1 -1
- package/dist/umd/index.css.gz +0 -0
- package/dist/umd/index.umd.cjs +5 -14
- package/dist/umd/index.umd.cjs.gz +0 -0
- package/package.json +59 -60
- package/dist/es/Badge-BG-vYP8Y.js +0 -13
- package/dist/es/Card-BCBnlVi_.js +0 -12
- package/dist/es/Collapse-B08VhCVq.js +0 -38
- package/dist/es/ConfigProvider-DZO1d5Eq.js +0 -44
- package/dist/es/Form-CGiTDSGI.js +0 -108
- package/dist/es/Loading-DlygqGOv.js +0 -88
- package/dist/es/Message-ganFfLeU.js +0 -123
- package/dist/es/Popconfirm-Cop44KwQ.js +0 -22
- package/dist/es/Select-TIoGsqKv.js +0 -133
- package/dist/es/Switch-CHjcLtHs.js +0 -34
- package/dist/es/hooks-CYdEHUVd.js +0 -105
- package/dist/theme/fonts/zpix.ttf +0 -0
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
export declare const PxSelect: {
|
|
2
2
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('packages/core').SelectProps> & Readonly<{
|
|
3
3
|
onClear?: (() => any) | undefined;
|
|
4
|
+
onFocus?: (() => any) | undefined;
|
|
4
5
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
5
6
|
onChange?: ((value: string) => any) | undefined;
|
|
6
7
|
"onVisible-change"?: ((value: boolean) => any) | undefined;
|
|
7
8
|
onBlur?: (() => any) | undefined;
|
|
8
|
-
onFocus?: (() => any) | undefined;
|
|
9
9
|
}>, {
|
|
10
10
|
focus(): void;
|
|
11
11
|
blur(): void;
|
|
12
12
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
13
13
|
clear: () => any;
|
|
14
|
+
focus: () => any;
|
|
14
15
|
"update:modelValue": (value: string) => any;
|
|
15
16
|
change: (value: string) => any;
|
|
16
17
|
"visible-change": (value: boolean) => any;
|
|
17
18
|
blur: () => any;
|
|
18
|
-
focus: () => any;
|
|
19
19
|
}, import('vue').PublicProps, {
|
|
20
20
|
options: import('packages/core').SelectOptionProps[];
|
|
21
21
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
@@ -133,10 +133,10 @@ export declare const PxSelect: {
|
|
|
133
133
|
readonly form?: string | undefined;
|
|
134
134
|
readonly onInput?: ((value: string) => any) | undefined;
|
|
135
135
|
readonly onClear?: (() => any) | undefined;
|
|
136
|
+
readonly onFocus?: ((value: FocusEvent) => any) | undefined;
|
|
136
137
|
readonly "onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
137
138
|
readonly onChange?: ((value: string) => any) | undefined;
|
|
138
139
|
readonly onBlur?: ((value: FocusEvent) => any) | undefined;
|
|
139
|
-
readonly onFocus?: ((value: FocusEvent) => any) | undefined;
|
|
140
140
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
141
141
|
$attrs: {
|
|
142
142
|
[x: string]: unknown;
|
|
@@ -154,15 +154,15 @@ export declare const PxSelect: {
|
|
|
154
154
|
$root: import('vue').ComponentPublicInstance | null;
|
|
155
155
|
$parent: import('vue').ComponentPublicInstance | null;
|
|
156
156
|
$host: Element | null;
|
|
157
|
-
$emit: ((event: "input", value: string) => void) & ((event: "clear") => void) & ((event: "
|
|
157
|
+
$emit: ((event: "input", value: string) => void) & ((event: "clear") => void) & ((event: "focus", value: FocusEvent) => void) & ((event: "update:modelValue", value: string) => void) & ((event: "change", value: string) => void) & ((event: "blur", value: FocusEvent) => void);
|
|
158
158
|
$el: any;
|
|
159
159
|
$options: import('vue').ComponentOptionsBase<Readonly<import('packages/core').InputProps> & Readonly<{
|
|
160
160
|
onInput?: ((value: string) => any) | undefined;
|
|
161
161
|
onClear?: (() => any) | undefined;
|
|
162
|
+
onFocus?: ((value: FocusEvent) => any) | undefined;
|
|
162
163
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
163
164
|
onChange?: ((value: string) => any) | undefined;
|
|
164
165
|
onBlur?: ((value: FocusEvent) => any) | undefined;
|
|
165
|
-
onFocus?: ((value: FocusEvent) => any) | undefined;
|
|
166
166
|
}>, {
|
|
167
167
|
ref: import('vue').Ref<HTMLInputElement | HTMLTextAreaElement | undefined>;
|
|
168
168
|
focus(): Promise<void>;
|
|
@@ -172,10 +172,10 @@ export declare const PxSelect: {
|
|
|
172
172
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
173
173
|
input: (value: string) => any;
|
|
174
174
|
clear: () => any;
|
|
175
|
+
focus: (value: FocusEvent) => any;
|
|
175
176
|
"update:modelValue": (value: string) => any;
|
|
176
177
|
change: (value: string) => any;
|
|
177
178
|
blur: (value: FocusEvent) => any;
|
|
178
|
-
focus: (value: FocusEvent) => any;
|
|
179
179
|
}, string, {
|
|
180
180
|
type: string;
|
|
181
181
|
autocomplete: string;
|
|
@@ -205,11 +205,11 @@ export declare const PxSelect: {
|
|
|
205
205
|
}> & Omit<Readonly<import('packages/core').InputProps> & Readonly<{
|
|
206
206
|
onInput?: ((value: string) => any) | undefined;
|
|
207
207
|
onClear?: (() => any) | undefined;
|
|
208
|
+
onFocus?: ((value: FocusEvent) => any) | undefined;
|
|
208
209
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
209
210
|
onChange?: ((value: string) => any) | undefined;
|
|
210
211
|
onBlur?: ((value: FocusEvent) => any) | undefined;
|
|
211
|
-
|
|
212
|
-
}>, "select" | "clear" | "ref" | "blur" | "focus" | ("type" | "autocomplete")> & import('vue').ShallowUnwrapRef<{
|
|
212
|
+
}>, "select" | "clear" | "ref" | "focus" | "blur" | ("type" | "autocomplete")> & import('vue').ShallowUnwrapRef<{
|
|
213
213
|
ref: import('vue').Ref<HTMLInputElement | HTMLTextAreaElement | undefined>;
|
|
214
214
|
focus(): Promise<void>;
|
|
215
215
|
blur(): void;
|
|
@@ -232,11 +232,11 @@ export declare const PxSelect: {
|
|
|
232
232
|
Defaults: {};
|
|
233
233
|
}, Readonly<import('packages/core').SelectProps> & Readonly<{
|
|
234
234
|
onClear?: (() => any) | undefined;
|
|
235
|
+
onFocus?: (() => any) | undefined;
|
|
235
236
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
236
237
|
onChange?: ((value: string) => any) | undefined;
|
|
237
238
|
"onVisible-change"?: ((value: boolean) => any) | undefined;
|
|
238
239
|
onBlur?: (() => any) | undefined;
|
|
239
|
-
onFocus?: (() => any) | undefined;
|
|
240
240
|
}>, {
|
|
241
241
|
focus(): void;
|
|
242
242
|
blur(): void;
|
|
@@ -248,21 +248,21 @@ export declare const PxSelect: {
|
|
|
248
248
|
__isSuspense?: never;
|
|
249
249
|
} & import('vue').ComponentOptionsBase<Readonly<import('packages/core').SelectProps> & Readonly<{
|
|
250
250
|
onClear?: (() => any) | undefined;
|
|
251
|
+
onFocus?: (() => any) | undefined;
|
|
251
252
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
252
253
|
onChange?: ((value: string) => any) | undefined;
|
|
253
254
|
"onVisible-change"?: ((value: boolean) => any) | undefined;
|
|
254
255
|
onBlur?: (() => any) | undefined;
|
|
255
|
-
onFocus?: (() => any) | undefined;
|
|
256
256
|
}>, {
|
|
257
257
|
focus(): void;
|
|
258
258
|
blur(): void;
|
|
259
259
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
260
260
|
clear: () => any;
|
|
261
|
+
focus: () => any;
|
|
261
262
|
"update:modelValue": (value: string) => any;
|
|
262
263
|
change: (value: string) => any;
|
|
263
264
|
"visible-change": (value: boolean) => any;
|
|
264
265
|
blur: () => any;
|
|
265
|
-
focus: () => any;
|
|
266
266
|
}, string, {
|
|
267
267
|
options: import('packages/core').SelectOptionProps[];
|
|
268
268
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { SelectOptionProps, SelectStates } from './types';
|
|
2
1
|
import { ComputedRef, Ref } from 'vue';
|
|
2
|
+
import { SelectOptionProps, SelectStates } from './types';
|
|
3
3
|
interface KeyMapParams {
|
|
4
4
|
isDropdownVisible: Ref<boolean>;
|
|
5
5
|
highlightedLine: ComputedRef<SelectOptionProps | undefined>;
|
|
@@ -1,13 +1,17 @@
|
|
|
1
1
|
export * from './Alert';
|
|
2
|
+
export * from './Avatar';
|
|
2
3
|
export * from './Badge';
|
|
4
|
+
export * from './Breadcrumb';
|
|
3
5
|
export * from './Button';
|
|
4
6
|
export * from './Card';
|
|
5
7
|
export * from './Collapse';
|
|
6
8
|
export * from './ConfigProvider';
|
|
7
9
|
export * from './Dropdown';
|
|
10
|
+
export * from './FileInput';
|
|
8
11
|
export * from './Form';
|
|
9
12
|
export * from './Icon';
|
|
10
13
|
export * from './Input';
|
|
14
|
+
export * from './Link';
|
|
11
15
|
export * from './Loading';
|
|
12
16
|
export * from './Message';
|
|
13
17
|
export * from './MessageBox';
|