beeple-toolkit 1.0.0 → 1.0.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/beeple-toolkit.css +1 -1
- package/dist/beeple-toolkit.es.js +3682 -3333
- 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/DropDownMenu.vue.d.ts +4 -4
- 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 +53 -0
- package/package.json +7 -7
|
@@ -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,6 +9,7 @@ export interface ButtonProps {
|
|
|
9
9
|
shape?: 'square' | 'round' | 'roundBorder';
|
|
10
10
|
disabled?: boolean;
|
|
11
11
|
isLoading?: boolean;
|
|
12
|
+
isActive?: boolean;
|
|
12
13
|
href?: string;
|
|
13
14
|
}
|
|
14
15
|
export interface IconProps {
|
|
@@ -154,6 +155,7 @@ export interface StatusDotProps {
|
|
|
154
155
|
color?: 'success' | 'warning' | 'danger' | 'primary';
|
|
155
156
|
label?: string;
|
|
156
157
|
variant?: 'label-left' | 'label-right' | 'dot-only';
|
|
158
|
+
size?: 'small' | 'medium';
|
|
157
159
|
isShadow?: boolean;
|
|
158
160
|
}
|
|
159
161
|
export interface BreadcrumbItem {
|
|
@@ -164,6 +166,11 @@ export interface BreadcrumbsProps {
|
|
|
164
166
|
items: BreadcrumbItem[];
|
|
165
167
|
}
|
|
166
168
|
export type DatePickerVariant = 'single' | 'single-time' | 'single-time-range' | 'range' | 'range-time';
|
|
169
|
+
export interface DatePickerTranslations {
|
|
170
|
+
time?: string;
|
|
171
|
+
startTime?: string;
|
|
172
|
+
endTime?: string;
|
|
173
|
+
}
|
|
167
174
|
export interface DatePickerProps {
|
|
168
175
|
variant?: DatePickerVariant;
|
|
169
176
|
modelValue?: Date | {
|
|
@@ -179,6 +186,8 @@ export interface DatePickerProps {
|
|
|
179
186
|
minDate?: Date;
|
|
180
187
|
maxDate?: Date;
|
|
181
188
|
locale?: DatePickerLocale;
|
|
189
|
+
translations?: DatePickerTranslations;
|
|
190
|
+
timezone?: string;
|
|
182
191
|
}
|
|
183
192
|
export interface MenuProps {
|
|
184
193
|
items: DropDownOption[];
|
|
@@ -239,4 +248,48 @@ export interface ModalProps {
|
|
|
239
248
|
showCloseButton?: boolean;
|
|
240
249
|
titleAlign?: 'left' | 'center';
|
|
241
250
|
}
|
|
251
|
+
export type TeamCardColor = 'orange' | 'red' | 'olive-green' | 'leaf-green' | 'forest-green' | 'yellow' | 'teal' | 'turquoise' | 'blue' | 'lagoon' | 'violet' | 'old-rose' | 'petal-rose' | 'azalea-rose';
|
|
252
|
+
export interface TeamCardRole {
|
|
253
|
+
name: string;
|
|
254
|
+
}
|
|
255
|
+
export type TeamCardUserStatus = 'confirmed' | 'pending' | 'draft' | 'ai-scheduled';
|
|
256
|
+
export interface TeamCardUser {
|
|
257
|
+
fullName: string;
|
|
258
|
+
photo?: string;
|
|
259
|
+
statusColor?: string;
|
|
260
|
+
statusLabel?: string;
|
|
261
|
+
userStatus?: TeamCardUserStatus;
|
|
262
|
+
}
|
|
263
|
+
export interface TeamCardLabel {
|
|
264
|
+
text: string;
|
|
265
|
+
color?: string;
|
|
266
|
+
leadingIcon?: string;
|
|
267
|
+
trailingIcon?: string;
|
|
268
|
+
workers?: TeamCardUser[];
|
|
269
|
+
}
|
|
270
|
+
export type TeamCardStatus = 'published' | 'unpublished';
|
|
271
|
+
export interface TeamCardTranslations {
|
|
272
|
+
open?: string;
|
|
273
|
+
published?: string;
|
|
274
|
+
notPublished?: string;
|
|
275
|
+
addCollaborator?: string;
|
|
276
|
+
more?: string;
|
|
277
|
+
}
|
|
278
|
+
export interface TeamCardProps {
|
|
279
|
+
color?: TeamCardColor;
|
|
280
|
+
labels?: TeamCardLabel[];
|
|
281
|
+
status?: TeamCardStatus;
|
|
282
|
+
progressBar?: {
|
|
283
|
+
open: number;
|
|
284
|
+
confirmed?: number;
|
|
285
|
+
unconfirmed?: number;
|
|
286
|
+
size?: 'small' | 'medium';
|
|
287
|
+
};
|
|
288
|
+
shiftSummary?: string;
|
|
289
|
+
teamName?: string;
|
|
290
|
+
roles?: TeamCardRole[];
|
|
291
|
+
users?: TeamCardUser[];
|
|
292
|
+
selected?: boolean;
|
|
293
|
+
translations?: TeamCardTranslations;
|
|
294
|
+
}
|
|
242
295
|
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.1",
|
|
4
4
|
"description": "Vue 3 component library beeple-toolkit",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"vue",
|
|
@@ -49,10 +49,10 @@
|
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@chromatic-com/storybook": "^5.0.1",
|
|
51
51
|
"@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.
|
|
52
|
+
"@storybook/addon-a11y": "^10.2.15",
|
|
53
|
+
"@storybook/addon-docs": "^10.2.15",
|
|
54
|
+
"@storybook/addon-vitest": "^10.2.15",
|
|
55
|
+
"@storybook/vue3-vite": "^10.2.15",
|
|
56
56
|
"@types/eslint__js": "^8.42.3",
|
|
57
57
|
"@types/node": "^24.5.2",
|
|
58
58
|
"@vitejs/plugin-vue": "^6.0.1",
|
|
@@ -64,14 +64,14 @@
|
|
|
64
64
|
"eslint": "^9.37.0",
|
|
65
65
|
"eslint-config-prettier": "^10.1.8",
|
|
66
66
|
"eslint-plugin-prettier": "^5.5.4",
|
|
67
|
-
"eslint-plugin-storybook": "^10.2.
|
|
67
|
+
"eslint-plugin-storybook": "^10.2.15",
|
|
68
68
|
"eslint-plugin-vue": "^10.5.0",
|
|
69
69
|
"happy-dom": "^20.0.0",
|
|
70
70
|
"jsdom": "^27.0.0",
|
|
71
71
|
"playwright": "^1.55.1",
|
|
72
72
|
"prettier": "^3.6.2",
|
|
73
73
|
"rimraf": "^6.0.1",
|
|
74
|
-
"storybook": "^10.2.
|
|
74
|
+
"storybook": "^10.2.15",
|
|
75
75
|
"typescript": "~5.8.3",
|
|
76
76
|
"typescript-eslint": "^8.46.0",
|
|
77
77
|
"vite": "^7.1.7",
|