@thekestongroup/ui 0.2.1 → 0.3.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 +90 -32
- package/dist/components/Age/Age.vue.d.ts +19 -0
- package/dist/components/AppShell/AppShell.vue.d.ts +108 -0
- package/dist/components/Avatar/Avatar.vue.d.ts +34 -0
- package/dist/components/AvatarGroup/AvatarGroup.vue.d.ts +25 -0
- package/dist/components/Badge/Badge.vue.d.ts +41 -0
- package/dist/components/Breadcrumb/Breadcrumb.vue.d.ts +39 -0
- package/dist/components/Button/Button.vue.d.ts +69 -0
- package/dist/components/Calendar/Calendar.vue.d.ts +34 -0
- package/dist/components/Card/Card.vue.d.ts +56 -0
- package/dist/components/Checkbox/Checkbox.vue.d.ts +40 -0
- package/dist/components/Checklist/Checklist.vue.d.ts +18 -0
- package/dist/components/Chip/Chip.vue.d.ts +44 -0
- package/dist/components/Divider/Divider.vue.d.ts +36 -0
- package/dist/components/{ToastItem.vue.d.ts → FormField/FieldMessage.vue.d.ts} +10 -2
- package/dist/components/FormField/FormField.vue.d.ts +61 -0
- package/dist/components/Header/Header.vue.d.ts +104 -0
- package/dist/components/InfoTip/InfoTip.vue.d.ts +20 -0
- package/dist/components/Input/Input.vue.d.ts +56 -0
- package/dist/components/InputCode/InputCode.vue.d.ts +53 -0
- package/dist/components/InputDate/InputDate.vue.d.ts +49 -0
- package/dist/components/InputNumber/InputNumber.vue.d.ts +44 -0
- package/dist/components/InputPassword/InputPassword.vue.d.ts +51 -0
- package/dist/components/InputRichText/InputRichText.vue.d.ts +44 -0
- package/dist/components/Link/Link.vue.d.ts +39 -0
- package/dist/components/Notification/Notification.vue.d.ts +62 -0
- package/dist/components/Notification/NotificationPane.vue.d.ts +38 -0
- package/dist/components/Notification/Toaster.vue.d.ts +51 -0
- package/dist/components/Notification/notification.samples.d.ts +3 -0
- package/dist/components/Notification/notifications.d.ts +115 -0
- package/dist/components/PageHeader/PageHeader.vue.d.ts +43 -0
- package/dist/components/Popover/Popover.vue.d.ts +83 -0
- package/dist/components/Popover/popover.d.ts +16 -0
- package/dist/components/Progress/Progress.vue.d.ts +26 -0
- package/dist/components/RadioGroup/RadioGroup.vue.d.ts +45 -0
- package/dist/components/RelativeTime/RelativeTime.vue.d.ts +22 -0
- package/dist/components/Select/Select.vue.d.ts +110 -0
- package/dist/components/Sidebar/Sidebar.vue.d.ts +106 -0
- package/dist/components/Sidebar/sidebar.d.ts +10 -0
- package/dist/components/Slideover/Slideover.vue.d.ts +125 -0
- package/dist/components/Spinner/Spinner.vue.d.ts +30 -0
- package/dist/components/StatTile/StatTile.vue.d.ts +46 -0
- package/dist/components/SummaryList/SummaryList.vue.d.ts +62 -0
- package/dist/components/Switch/Switch.vue.d.ts +39 -0
- package/dist/components/Table/Table.vue.d.ts +82 -0
- package/dist/components/Table/table.d.ts +36 -0
- package/dist/components/Tooltip/Tooltip.vue.d.ts +46 -0
- package/dist/index.d.ts +89 -25
- package/dist/keston-ui.js +4963 -14785
- package/dist/lib/cn.d.ts +4 -0
- package/dist/lib/dates.d.ts +27 -0
- package/dist/lib/initials.d.ts +2 -0
- package/dist/lib/parseDate.d.ts +44 -0
- package/dist/lib/useNow.d.ts +3 -0
- package/package.json +53 -24
- package/src/components/.gitkeep +0 -0
- package/src/components/Age/Age.stories.ts +24 -0
- package/src/components/Age/Age.vue +56 -0
- package/src/components/AppShell/AppShell.stories.ts +124 -0
- package/src/components/AppShell/AppShell.vue +212 -0
- package/src/components/Avatar/Avatar.stories.ts +56 -0
- package/src/components/Avatar/Avatar.vue +118 -0
- package/src/components/AvatarGroup/AvatarGroup.stories.ts +47 -0
- package/src/components/AvatarGroup/AvatarGroup.vue +97 -0
- package/src/components/Badge/Badge.stories.ts +92 -0
- package/src/components/Badge/Badge.vue +67 -0
- package/src/components/Breadcrumb/Breadcrumb.stories.ts +58 -0
- package/src/components/Breadcrumb/Breadcrumb.vue +109 -0
- package/src/components/Button/Button.mdx +79 -0
- package/src/components/Button/Button.stories.ts +207 -0
- package/src/components/Button/Button.vue +266 -0
- package/src/components/Calendar/Calendar.stories.ts +51 -0
- package/src/components/Calendar/Calendar.vue +364 -0
- package/src/components/Card/Card.stories.ts +109 -0
- package/src/components/Card/Card.vue +115 -0
- package/src/components/Checkbox/Checkbox.stories.ts +102 -0
- package/src/components/Checkbox/Checkbox.vue +102 -0
- package/src/components/Checklist/Checklist.stories.ts +67 -0
- package/src/components/Checklist/Checklist.vue +38 -0
- package/src/components/Chip/Chip.stories.ts +71 -0
- package/src/components/Chip/Chip.vue +86 -0
- package/src/components/Divider/Divider.stories.ts +57 -0
- package/src/components/Divider/Divider.vue +58 -0
- package/src/components/FormField/FieldMessage.vue +81 -0
- package/src/components/FormField/FormField.stories.ts +55 -0
- package/src/components/FormField/FormField.vue +160 -0
- package/src/components/Header/Header.stories.ts +168 -0
- package/src/components/Header/Header.vue +232 -0
- package/src/components/InfoTip/InfoTip.stories.ts +63 -0
- package/src/components/InfoTip/InfoTip.vue +50 -0
- package/src/components/Input/Input.stories.ts +206 -0
- package/src/components/Input/Input.vue +90 -0
- package/src/components/InputCode/InputCode.stories.ts +85 -0
- package/src/components/InputCode/InputCode.vue +145 -0
- package/src/components/InputDate/InputDate.stories.ts +58 -0
- package/src/components/InputDate/InputDate.vue +258 -0
- package/src/components/InputNumber/InputNumber.stories.ts +63 -0
- package/src/components/InputNumber/InputNumber.vue +109 -0
- package/src/components/InputPassword/InputPassword.stories.ts +105 -0
- package/src/components/InputPassword/InputPassword.vue +132 -0
- package/src/components/InputRichText/InputRichText.stories.ts +100 -0
- package/src/components/InputRichText/InputRichText.vue +194 -0
- package/src/components/Link/Link.stories.ts +73 -0
- package/src/components/Link/Link.vue +56 -0
- package/src/components/Notification/Notification.stories.ts +196 -0
- package/src/components/Notification/Notification.vue +136 -0
- package/src/components/Notification/NotificationPane.vue +187 -0
- package/src/components/Notification/Toaster.vue +446 -0
- package/src/components/Notification/notification.samples.ts +45 -0
- package/src/components/Notification/notifications.test.ts +99 -0
- package/src/components/Notification/notifications.ts +172 -0
- package/src/components/PageHeader/PageHeader.stories.ts +79 -0
- package/src/components/PageHeader/PageHeader.vue +66 -0
- package/src/components/Popover/Popover.stories.ts +135 -0
- package/src/components/Popover/Popover.vue +192 -0
- package/src/components/Popover/popover.ts +20 -0
- package/src/components/Progress/Progress.stories.ts +74 -0
- package/src/components/Progress/Progress.vue +75 -0
- package/src/components/RadioGroup/RadioGroup.stories.ts +90 -0
- package/src/components/RadioGroup/RadioGroup.vue +132 -0
- package/src/components/RelativeTime/RelativeTime.stories.ts +74 -0
- package/src/components/RelativeTime/RelativeTime.vue +51 -0
- package/src/components/Select/Select.mdx +202 -0
- package/src/components/Select/Select.stories.ts +223 -0
- package/src/components/Select/Select.vue +630 -0
- package/src/components/Sidebar/Sidebar.stories.ts +192 -0
- package/src/components/Sidebar/Sidebar.vue +382 -0
- package/src/components/Sidebar/sidebar.ts +20 -0
- package/src/components/Slideover/Slideover.stories.ts +225 -0
- package/src/components/Slideover/Slideover.vue +365 -0
- package/src/components/Spinner/Spinner.stories.ts +79 -0
- package/src/components/Spinner/Spinner.vue +97 -0
- package/src/components/StatTile/StatTile.stories.ts +75 -0
- package/src/components/StatTile/StatTile.vue +89 -0
- package/src/components/SummaryList/SummaryList.stories.ts +103 -0
- package/src/components/SummaryList/SummaryList.vue +127 -0
- package/src/components/Switch/Switch.stories.ts +100 -0
- package/src/components/Switch/Switch.vue +96 -0
- package/src/components/Table/Table.stories.ts +206 -0
- package/src/components/Table/Table.vue +220 -0
- package/src/components/Table/table.test.ts +65 -0
- package/src/components/Table/table.ts +70 -0
- package/src/components/Tooltip/Tooltip.stories.ts +57 -0
- package/src/components/Tooltip/Tooltip.vue +86 -0
- package/src/examples/AppPages.stories.ts +500 -0
- package/src/examples/FormLayout.stories.ts +185 -0
- package/src/examples/KestonIdPages.stories.ts +415 -0
- package/src/examples/SchoolPages.stories.ts +665 -0
- package/src/index.ts +114 -36
- package/src/lib/cn.ts +4 -0
- package/src/lib/dates.test.ts +68 -0
- package/src/lib/dates.ts +86 -0
- package/src/lib/initials.ts +8 -0
- package/src/lib/parseDate.test.ts +331 -0
- package/src/lib/parseDate.ts +561 -0
- package/src/lib/useNow.ts +20 -0
- package/src/styles/theme.css +101 -0
- package/dist/components/AppLauncher.vue.d.ts +0 -10
- package/dist/components/Avatar.vue.d.ts +0 -16
- package/dist/components/Button.vue.d.ts +0 -27
- package/dist/components/Checkbox.vue.d.ts +0 -18
- package/dist/components/CloseButton.vue.d.ts +0 -6
- package/dist/components/Dialog.vue.d.ts +0 -23
- package/dist/components/Drawer.vue.d.ts +0 -34
- package/dist/components/DropdownMenu.vue.d.ts +0 -21
- package/dist/components/DropdownMenuItem.vue.d.ts +0 -19
- package/dist/components/DropdownMenuSeparator.vue.d.ts +0 -6
- package/dist/components/Input.vue.d.ts +0 -14
- package/dist/components/Label.vue.d.ts +0 -16
- package/dist/components/NotificationsMenu.vue.d.ts +0 -3
- package/dist/components/Popover.vue.d.ts +0 -23
- package/dist/components/ProfileSwitcher.vue.d.ts +0 -24
- package/dist/components/Select.vue.d.ts +0 -28
- package/dist/components/Separator.vue.d.ts +0 -11
- package/dist/components/ToastRenderer.vue.d.ts +0 -3
- package/dist/components/Toaster.vue.d.ts +0 -3
- package/dist/components/Tooltip.vue.d.ts +0 -23
- package/dist/components/TopBar.vue.d.ts +0 -34
- package/dist/favicon-old.svg +0 -1
- package/dist/favicon.svg +0 -1
- package/dist/keston-ui.cjs +0 -15
- package/dist/lib/toast.d.ts +0 -29
- package/dist/lib/types.d.ts +0 -5
- package/src/components/AppLauncher.vue +0 -63
- package/src/components/Avatar.vue +0 -51
- package/src/components/Button.vue +0 -54
- package/src/components/Checkbox.vue +0 -47
- package/src/components/CloseButton.vue +0 -24
- package/src/components/Dialog.vue +0 -65
- package/src/components/Drawer.vue +0 -202
- package/src/components/DropdownMenu.vue +0 -41
- package/src/components/DropdownMenuItem.vue +0 -28
- package/src/components/DropdownMenuSeparator.vue +0 -12
- package/src/components/Input.vue +0 -21
- package/src/components/Label.vue +0 -15
- package/src/components/NotificationsMenu.vue +0 -115
- package/src/components/Popover.vue +0 -46
- package/src/components/ProfileSwitcher.vue +0 -113
- package/src/components/Select.vue +0 -97
- package/src/components/Separator.vue +0 -30
- package/src/components/ToastItem.vue +0 -158
- package/src/components/ToastRenderer.vue +0 -113
- package/src/components/Toaster.vue +0 -11
- package/src/components/Tooltip.vue +0 -48
- package/src/components/TopBar.vue +0 -52
- package/src/lib/toast.ts +0 -95
- package/src/lib/types.ts +0 -5
package/dist/index.d.ts
CHANGED
|
@@ -1,25 +1,89 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export { default as
|
|
3
|
-
export {
|
|
4
|
-
export { default as
|
|
5
|
-
export {
|
|
6
|
-
export { default as
|
|
7
|
-
export {
|
|
8
|
-
export { default as
|
|
9
|
-
export {
|
|
10
|
-
export { default as
|
|
11
|
-
export {
|
|
12
|
-
export { default as
|
|
13
|
-
export {
|
|
14
|
-
export { default as
|
|
15
|
-
export {
|
|
16
|
-
export { default as
|
|
17
|
-
export type {
|
|
18
|
-
export { default as
|
|
19
|
-
export {
|
|
20
|
-
export { default as
|
|
21
|
-
export {
|
|
22
|
-
export {
|
|
23
|
-
export {
|
|
24
|
-
export
|
|
25
|
-
export type {
|
|
1
|
+
export { cn } from './lib/cn';
|
|
2
|
+
export { default as AppShell } from './components/AppShell/AppShell.vue';
|
|
3
|
+
export type { AppShellProps } from './components/AppShell/AppShell.vue';
|
|
4
|
+
export { default as Header } from './components/Header/Header.vue';
|
|
5
|
+
export type { HeaderProps, HeaderUser, HeaderUserAction } from './components/Header/Header.vue';
|
|
6
|
+
export { default as PageHeader } from './components/PageHeader/PageHeader.vue';
|
|
7
|
+
export type { PageHeaderProps } from './components/PageHeader/PageHeader.vue';
|
|
8
|
+
export { default as Avatar } from './components/Avatar/Avatar.vue';
|
|
9
|
+
export type { AvatarProps, AvatarUser } from './components/Avatar/Avatar.vue';
|
|
10
|
+
export { default as AvatarGroup } from './components/AvatarGroup/AvatarGroup.vue';
|
|
11
|
+
export type { AvatarGroupProps } from './components/AvatarGroup/AvatarGroup.vue';
|
|
12
|
+
export { default as Badge } from './components/Badge/Badge.vue';
|
|
13
|
+
export type { BadgeProps } from './components/Badge/Badge.vue';
|
|
14
|
+
export { default as Button } from './components/Button/Button.vue';
|
|
15
|
+
export type { ButtonProps, ButtonStatus } from './components/Button/Button.vue';
|
|
16
|
+
export { default as Card } from './components/Card/Card.vue';
|
|
17
|
+
export type { CardProps } from './components/Card/Card.vue';
|
|
18
|
+
export { default as Chip } from './components/Chip/Chip.vue';
|
|
19
|
+
export type { ChipProps } from './components/Chip/Chip.vue';
|
|
20
|
+
export { default as Divider } from './components/Divider/Divider.vue';
|
|
21
|
+
export type { DividerProps } from './components/Divider/Divider.vue';
|
|
22
|
+
export { default as Spinner } from './components/Spinner/Spinner.vue';
|
|
23
|
+
export type { SpinnerProps } from './components/Spinner/Spinner.vue';
|
|
24
|
+
export { default as Progress } from './components/Progress/Progress.vue';
|
|
25
|
+
export type { ProgressProps } from './components/Progress/Progress.vue';
|
|
26
|
+
export { default as FormField } from './components/FormField/FormField.vue';
|
|
27
|
+
export type { FormFieldProps, FormFieldStatus } from './components/FormField/FormField.vue';
|
|
28
|
+
export { default as Input } from './components/Input/Input.vue';
|
|
29
|
+
export type { InputProps } from './components/Input/Input.vue';
|
|
30
|
+
export { default as InputNumber } from './components/InputNumber/InputNumber.vue';
|
|
31
|
+
export type { InputNumberProps } from './components/InputNumber/InputNumber.vue';
|
|
32
|
+
export { default as InputDate } from './components/InputDate/InputDate.vue';
|
|
33
|
+
export type { InputDateProps } from './components/InputDate/InputDate.vue';
|
|
34
|
+
export { default as InputRichText } from './components/InputRichText/InputRichText.vue';
|
|
35
|
+
export type { InputRichTextProps } from './components/InputRichText/InputRichText.vue';
|
|
36
|
+
export { default as InputPassword } from './components/InputPassword/InputPassword.vue';
|
|
37
|
+
export type { InputPasswordProps, InputPasswordStatus } from './components/InputPassword/InputPassword.vue';
|
|
38
|
+
export { default as InputCode } from './components/InputCode/InputCode.vue';
|
|
39
|
+
export type { InputCodeProps, InputCodeStatus } from './components/InputCode/InputCode.vue';
|
|
40
|
+
export { default as Select } from './components/Select/Select.vue';
|
|
41
|
+
export type { SelectProps } from './components/Select/Select.vue';
|
|
42
|
+
export { default as Checkbox } from './components/Checkbox/Checkbox.vue';
|
|
43
|
+
export type { CheckboxProps } from './components/Checkbox/Checkbox.vue';
|
|
44
|
+
export { default as RadioGroup } from './components/RadioGroup/RadioGroup.vue';
|
|
45
|
+
export type { RadioGroupProps, RadioOption, RadioValue } from './components/RadioGroup/RadioGroup.vue';
|
|
46
|
+
export { default as Switch } from './components/Switch/Switch.vue';
|
|
47
|
+
export type { SwitchProps } from './components/Switch/Switch.vue';
|
|
48
|
+
export { default as Calendar } from './components/Calendar/Calendar.vue';
|
|
49
|
+
export type { CalendarProps } from './components/Calendar/Calendar.vue';
|
|
50
|
+
export { default as Table } from './components/Table/Table.vue';
|
|
51
|
+
export type { TableProps } from './components/Table/Table.vue';
|
|
52
|
+
export type { TableColumn, TableSort, SortDirection } from './components/Table/table';
|
|
53
|
+
export { sortRows } from './components/Table/table';
|
|
54
|
+
export { default as StatTile } from './components/StatTile/StatTile.vue';
|
|
55
|
+
export type { StatTileProps } from './components/StatTile/StatTile.vue';
|
|
56
|
+
export { default as SummaryList } from './components/SummaryList/SummaryList.vue';
|
|
57
|
+
export type { SummaryListProps, SummaryListItem } from './components/SummaryList/SummaryList.vue';
|
|
58
|
+
export { default as Checklist } from './components/Checklist/Checklist.vue';
|
|
59
|
+
export type { ChecklistProps, ChecklistItem } from './components/Checklist/Checklist.vue';
|
|
60
|
+
export { default as RelativeTime } from './components/RelativeTime/RelativeTime.vue';
|
|
61
|
+
export type { RelativeTimeProps } from './components/RelativeTime/RelativeTime.vue';
|
|
62
|
+
export { default as Age } from './components/Age/Age.vue';
|
|
63
|
+
export type { AgeProps } from './components/Age/Age.vue';
|
|
64
|
+
export { default as Breadcrumb } from './components/Breadcrumb/Breadcrumb.vue';
|
|
65
|
+
export type { BreadcrumbProps, BreadcrumbItem } from './components/Breadcrumb/Breadcrumb.vue';
|
|
66
|
+
export { default as Sidebar } from './components/Sidebar/Sidebar.vue';
|
|
67
|
+
export type { SidebarProps, SidebarItem, SidebarSection } from './components/Sidebar/Sidebar.vue';
|
|
68
|
+
export { sidebarTrail } from './components/Sidebar/sidebar';
|
|
69
|
+
export { default as Link } from './components/Link/Link.vue';
|
|
70
|
+
export type { LinkProps } from './components/Link/Link.vue';
|
|
71
|
+
export { default as Popover } from './components/Popover/Popover.vue';
|
|
72
|
+
export type { PopoverProps } from './components/Popover/Popover.vue';
|
|
73
|
+
export { default as Slideover } from './components/Slideover/Slideover.vue';
|
|
74
|
+
export type { SlideoverProps } from './components/Slideover/Slideover.vue';
|
|
75
|
+
export { default as Tooltip } from './components/Tooltip/Tooltip.vue';
|
|
76
|
+
export type { TooltipProps } from './components/Tooltip/Tooltip.vue';
|
|
77
|
+
export { default as InfoTip } from './components/InfoTip/InfoTip.vue';
|
|
78
|
+
export type { InfoTipProps } from './components/InfoTip/InfoTip.vue';
|
|
79
|
+
export { default as Notification } from './components/Notification/Notification.vue';
|
|
80
|
+
export type { NotificationProps } from './components/Notification/Notification.vue';
|
|
81
|
+
export { default as NotificationPane } from './components/Notification/NotificationPane.vue';
|
|
82
|
+
export type { NotificationPaneProps } from './components/Notification/NotificationPane.vue';
|
|
83
|
+
export { default as Toaster } from './components/Notification/Toaster.vue';
|
|
84
|
+
export type { ToasterProps } from './components/Notification/Toaster.vue';
|
|
85
|
+
export { createNotifications, useNotifications, relativeTime } from './components/Notification/notifications';
|
|
86
|
+
export type { Notifications, NotificationItem, NotificationInput, NotificationAction, NotificationType, ToastOptions } from './components/Notification/notifications';
|
|
87
|
+
export { age, daysToBirthday, formatDate, formatDateTime, toDate } from './lib/dates';
|
|
88
|
+
export type { DateInput } from './lib/dates';
|
|
89
|
+
export { useNow } from './lib/useNow';
|