beeple-toolkit 1.0.0 → 1.0.2
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/beeple-toolkit.css +1 -1
- package/dist/beeple-toolkit.es.js +3782 -3311
- package/dist/beeple-toolkit.umd.js +3 -3
- package/dist/components/Avatar/index.d.ts +1 -0
- package/dist/components/Breadcrumbs/index.d.ts +1 -0
- package/dist/components/Button/Button.vue.d.ts +2 -1
- package/dist/components/Button/index.d.ts +1 -0
- package/dist/components/CheckboxInput/CheckboxInput.vue.d.ts +1 -1
- package/dist/components/CheckboxInput/index.d.ts +1 -0
- package/dist/components/ContextCard/index.d.ts +1 -0
- package/dist/components/DatePicker/DatePicker.vue.d.ts +13 -33
- package/dist/components/DatePicker/DatePickerActions.vue.d.ts +1 -1
- package/dist/components/DatePicker/DatePickerCalendarSection.vue.d.ts +1 -1
- package/dist/components/DatePicker/DatePickerHeader.vue.d.ts +9 -2
- package/dist/components/DatePicker/DatePickerNavigation.vue.d.ts +1 -1
- package/dist/components/DatePicker/DatePickerPanel.vue.d.ts +19 -50
- package/dist/components/DatePicker/DatePickerTimeSection.vue.d.ts +3 -2
- package/dist/components/DatePicker/dateUtils.d.ts +4 -42
- package/dist/components/DatePicker/index.d.ts +1 -0
- package/dist/components/DropDown/DropDown.vue.d.ts +1 -1
- package/dist/components/DropDown/DropDownMenu.vue.d.ts +7 -5
- package/dist/components/DropDown/DropDownTrigger.vue.d.ts +1 -2
- package/dist/components/DropDown/index.d.ts +1 -0
- package/dist/components/FilterButton/FilterButton.vue.d.ts +1 -0
- package/dist/components/FilterButton/FilterButtonTrigger.vue.d.ts +1 -2
- package/dist/components/FilterButton/index.d.ts +1 -0
- package/dist/components/Icon/index.d.ts +1 -0
- package/dist/components/Input/Input.vue.d.ts +1 -1
- package/dist/components/Input/index.d.ts +1 -0
- package/dist/components/KeyboardInput/index.d.ts +1 -0
- package/dist/components/Label/index.d.ts +1 -0
- package/dist/components/Menu/Menu.vue.d.ts +1 -1
- package/dist/components/Menu/index.d.ts +1 -0
- package/dist/components/Modal/Modal.vue.d.ts +1 -1
- package/dist/components/Modal/index.d.ts +1 -0
- package/dist/components/ProgressBar/ProgressBar.vue.d.ts +1 -1
- package/dist/components/RadioInput/RadioInput.vue.d.ts +1 -1
- package/dist/components/RadioInput/index.d.ts +1 -0
- package/dist/components/Slider/Slider.vue.d.ts +1 -1
- package/dist/components/Slider/index.d.ts +1 -0
- package/dist/components/StatusDot/StatusDot.vue.d.ts +1 -0
- package/dist/components/StatusDot/index.d.ts +1 -0
- package/dist/components/Switch/Switch.vue.d.ts +1 -1
- package/dist/components/Switch/index.d.ts +1 -0
- package/dist/components/TeamCard/TeamCard.vue.d.ts +18 -0
- package/dist/components/TeamCard/TeamCardBody.vue.d.ts +20 -0
- package/dist/components/TeamCard/TeamCardHeader.vue.d.ts +17 -0
- package/dist/components/TeamCard/TeamCardMenu.vue.d.ts +19 -0
- package/dist/components/TeamCard/TeamCardRoles.vue.d.ts +7 -0
- package/dist/components/TeamCard/index.d.ts +1 -0
- package/dist/components/Textarea/index.d.ts +1 -0
- package/dist/components/TimeInput/index.d.ts +1 -0
- package/dist/components/Toast/Toast.vue.d.ts +1 -1
- package/dist/components/Toast/index.d.ts +1 -0
- package/dist/components/Tooltip/index.d.ts +1 -0
- package/dist/components/index.d.ts +3 -2
- package/dist/components/types.d.ts +55 -0
- package/package.json +8 -7
|
@@ -5,7 +5,7 @@ interface Props {
|
|
|
5
5
|
hideCloseButton?: boolean;
|
|
6
6
|
showProgress?: boolean;
|
|
7
7
|
}
|
|
8
|
-
declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
8
|
+
declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
9
|
close: (id: string) => any;
|
|
10
10
|
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
11
11
|
onClose?: ((id: string) => any) | undefined;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Toast.vue';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Tooltip.vue';
|
|
@@ -25,8 +25,9 @@ import TimeInput from './TimeInput/TimeInput.vue';
|
|
|
25
25
|
import Title from './Typography/Title.vue';
|
|
26
26
|
import Toast from './Toast/Toast.vue';
|
|
27
27
|
import ToastContainer from './Toast/ToastContainer.vue';
|
|
28
|
+
import TeamCard from './TeamCard/TeamCard.vue';
|
|
28
29
|
import Tooltip from './Tooltip/Tooltip.vue';
|
|
29
30
|
import '../styles/variables.css';
|
|
30
31
|
export type { ButtonType, ButtonSize, EvaIconName, Size, ProgressBarSize } from './constants';
|
|
31
|
-
export type { AvatarProps, BreadcrumbItem, BreadcrumbsProps, ButtonProps, DatePickerProps, DatePickerVariant, DropDownOption, DropDownProps, CheckboxInputProps, ContextCardProps, IconProps, InputProps, KeyboardInputProps, LabelProps, ModalProps, MenuProps, ProgressBarProps, RadioInputProps, SliderProps, StatusDotProps, SubtitleProps, SwitchProps, TextProps, TextareaProps, FilterButtonProps, TimeInputProps, TitleProps, TooltipProps, } from './types';
|
|
32
|
-
export { Avatar, Breadcrumbs, Button, CheckboxInput, ContextCard, DatePicker, DatePickerPanel, DropDown, FilterButton, Icon, Input, KeyboardInput, Label, Modal, Menu, ProgressBar, RadioInput, Slider, StatusDot, Subtitle, Switch, Text, Textarea, TimeInput, Title, Toast, ToastContainer, Tooltip, };
|
|
32
|
+
export type { AvatarProps, BreadcrumbItem, BreadcrumbsProps, ButtonProps, DatePickerProps, DatePickerVariant, DropDownOption, DropDownProps, CheckboxInputProps, ContextCardProps, IconProps, InputProps, KeyboardInputProps, LabelProps, ModalProps, MenuProps, ProgressBarProps, RadioInputProps, SliderProps, StatusDotProps, SubtitleProps, SwitchProps, TextProps, TextareaProps, FilterButtonProps, TeamCardColor, TeamCardLabel, TeamCardProps, TeamCardRole, TeamCardStatus, TeamCardUser, TimeInputProps, TitleProps, TooltipProps, } from './types';
|
|
33
|
+
export { Avatar, Breadcrumbs, Button, CheckboxInput, ContextCard, DatePicker, DatePickerPanel, DropDown, FilterButton, Icon, Input, KeyboardInput, Label, Modal, Menu, ProgressBar, RadioInput, Slider, StatusDot, Subtitle, Switch, Text, Textarea, TimeInput, TeamCard, Title, Toast, ToastContainer, Tooltip, };
|
|
@@ -9,7 +9,9 @@ export interface ButtonProps {
|
|
|
9
9
|
shape?: 'square' | 'round' | 'roundBorder';
|
|
10
10
|
disabled?: boolean;
|
|
11
11
|
isLoading?: boolean;
|
|
12
|
+
isActive?: boolean;
|
|
12
13
|
href?: string;
|
|
14
|
+
target?: string;
|
|
13
15
|
}
|
|
14
16
|
export interface IconProps {
|
|
15
17
|
icon?: EvaIconName | string;
|
|
@@ -80,6 +82,7 @@ export interface DropDownOption {
|
|
|
80
82
|
fullName?: string;
|
|
81
83
|
alt?: string;
|
|
82
84
|
};
|
|
85
|
+
children?: Array<DropDownOption | Record<string, unknown>>;
|
|
83
86
|
}
|
|
84
87
|
export interface DropDownProps {
|
|
85
88
|
modelValue?: unknown | unknown[];
|
|
@@ -154,6 +157,7 @@ export interface StatusDotProps {
|
|
|
154
157
|
color?: 'success' | 'warning' | 'danger' | 'primary';
|
|
155
158
|
label?: string;
|
|
156
159
|
variant?: 'label-left' | 'label-right' | 'dot-only';
|
|
160
|
+
size?: 'small' | 'medium';
|
|
157
161
|
isShadow?: boolean;
|
|
158
162
|
}
|
|
159
163
|
export interface BreadcrumbItem {
|
|
@@ -164,6 +168,11 @@ export interface BreadcrumbsProps {
|
|
|
164
168
|
items: BreadcrumbItem[];
|
|
165
169
|
}
|
|
166
170
|
export type DatePickerVariant = 'single' | 'single-time' | 'single-time-range' | 'range' | 'range-time';
|
|
171
|
+
export interface DatePickerTranslations {
|
|
172
|
+
time?: string;
|
|
173
|
+
startTime?: string;
|
|
174
|
+
endTime?: string;
|
|
175
|
+
}
|
|
167
176
|
export interface DatePickerProps {
|
|
168
177
|
variant?: DatePickerVariant;
|
|
169
178
|
modelValue?: Date | {
|
|
@@ -179,6 +188,8 @@ export interface DatePickerProps {
|
|
|
179
188
|
minDate?: Date;
|
|
180
189
|
maxDate?: Date;
|
|
181
190
|
locale?: DatePickerLocale;
|
|
191
|
+
translations?: DatePickerTranslations;
|
|
192
|
+
timezone?: string;
|
|
182
193
|
}
|
|
183
194
|
export interface MenuProps {
|
|
184
195
|
items: DropDownOption[];
|
|
@@ -239,4 +250,48 @@ export interface ModalProps {
|
|
|
239
250
|
showCloseButton?: boolean;
|
|
240
251
|
titleAlign?: 'left' | 'center';
|
|
241
252
|
}
|
|
253
|
+
export type TeamCardColor = 'orange' | 'red' | 'olive-green' | 'leaf-green' | 'forest-green' | 'yellow' | 'teal' | 'turquoise' | 'blue' | 'lagoon' | 'violet' | 'old-rose' | 'petal-rose' | 'azalea-rose';
|
|
254
|
+
export interface TeamCardRole {
|
|
255
|
+
name: string;
|
|
256
|
+
}
|
|
257
|
+
export type TeamCardUserStatus = 'confirmed' | 'pending' | 'draft' | 'ai-scheduled';
|
|
258
|
+
export interface TeamCardUser {
|
|
259
|
+
fullName: string;
|
|
260
|
+
photo?: string;
|
|
261
|
+
statusColor?: string;
|
|
262
|
+
statusLabel?: string;
|
|
263
|
+
userStatus?: TeamCardUserStatus;
|
|
264
|
+
}
|
|
265
|
+
export interface TeamCardLabel {
|
|
266
|
+
text: string;
|
|
267
|
+
color?: string;
|
|
268
|
+
leadingIcon?: string;
|
|
269
|
+
trailingIcon?: string;
|
|
270
|
+
workers?: TeamCardUser[];
|
|
271
|
+
}
|
|
272
|
+
export type TeamCardStatus = 'published' | 'unpublished';
|
|
273
|
+
export interface TeamCardTranslations {
|
|
274
|
+
open?: string;
|
|
275
|
+
published?: string;
|
|
276
|
+
notPublished?: string;
|
|
277
|
+
addCollaborator?: string;
|
|
278
|
+
more?: string;
|
|
279
|
+
}
|
|
280
|
+
export interface TeamCardProps {
|
|
281
|
+
color?: TeamCardColor;
|
|
282
|
+
labels?: TeamCardLabel[];
|
|
283
|
+
status?: TeamCardStatus;
|
|
284
|
+
progressBar?: {
|
|
285
|
+
open: number;
|
|
286
|
+
confirmed?: number;
|
|
287
|
+
unconfirmed?: number;
|
|
288
|
+
size?: 'small' | 'medium';
|
|
289
|
+
};
|
|
290
|
+
shiftSummary?: string;
|
|
291
|
+
teamName?: string;
|
|
292
|
+
roles?: TeamCardRole[];
|
|
293
|
+
users?: TeamCardUser[];
|
|
294
|
+
selected?: boolean;
|
|
295
|
+
translations?: TeamCardTranslations;
|
|
296
|
+
}
|
|
242
297
|
export type { DatePickerLocale } from './DatePicker/locales';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "beeple-toolkit",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "Vue 3 component library beeple-toolkit",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"vue",
|
|
@@ -31,6 +31,7 @@
|
|
|
31
31
|
"build-storybook": "storybook build",
|
|
32
32
|
"build": "rimraf dist && vite build",
|
|
33
33
|
"build:types": "vue-tsc -p tsconfig.types.json",
|
|
34
|
+
"release": "npm version patch && npm publish && git push && git push --tags",
|
|
34
35
|
"prepublishOnly": "npm run build && npm run build:types",
|
|
35
36
|
"test": "vitest run",
|
|
36
37
|
"test:watch": "vitest",
|
|
@@ -49,10 +50,10 @@
|
|
|
49
50
|
"devDependencies": {
|
|
50
51
|
"@chromatic-com/storybook": "^5.0.1",
|
|
51
52
|
"@eslint/js": "^9.37.0",
|
|
52
|
-
"@storybook/addon-a11y": "^10.2.
|
|
53
|
-
"@storybook/addon-docs": "^10.2.
|
|
54
|
-
"@storybook/addon-vitest": "^10.2.
|
|
55
|
-
"@storybook/vue3-vite": "^10.2.
|
|
53
|
+
"@storybook/addon-a11y": "^10.2.15",
|
|
54
|
+
"@storybook/addon-docs": "^10.2.15",
|
|
55
|
+
"@storybook/addon-vitest": "^10.2.15",
|
|
56
|
+
"@storybook/vue3-vite": "^10.2.15",
|
|
56
57
|
"@types/eslint__js": "^8.42.3",
|
|
57
58
|
"@types/node": "^24.5.2",
|
|
58
59
|
"@vitejs/plugin-vue": "^6.0.1",
|
|
@@ -64,14 +65,14 @@
|
|
|
64
65
|
"eslint": "^9.37.0",
|
|
65
66
|
"eslint-config-prettier": "^10.1.8",
|
|
66
67
|
"eslint-plugin-prettier": "^5.5.4",
|
|
67
|
-
"eslint-plugin-storybook": "^10.2.
|
|
68
|
+
"eslint-plugin-storybook": "^10.2.15",
|
|
68
69
|
"eslint-plugin-vue": "^10.5.0",
|
|
69
70
|
"happy-dom": "^20.0.0",
|
|
70
71
|
"jsdom": "^27.0.0",
|
|
71
72
|
"playwright": "^1.55.1",
|
|
72
73
|
"prettier": "^3.6.2",
|
|
73
74
|
"rimraf": "^6.0.1",
|
|
74
|
-
"storybook": "^10.2.
|
|
75
|
+
"storybook": "^10.2.15",
|
|
75
76
|
"typescript": "~5.8.3",
|
|
76
77
|
"typescript-eslint": "^8.46.0",
|
|
77
78
|
"vite": "^7.1.7",
|