@typlog/ui 0.6.0 → 0.7.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/components/addons/index.d.ts +1 -0
- package/dist/components/alert/index.d.ts +2 -0
- package/dist/components/{Avatar.d.ts → avatar/Avatar.d.ts} +1 -1
- package/dist/components/avatar/index.d.ts +1 -0
- package/dist/components/{Badge.d.ts → badge/Badge.d.ts} +1 -1
- package/dist/components/badge/index.d.ts +1 -0
- package/dist/components/{Button.d.ts → button/Button.d.ts} +1 -1
- package/dist/components/button/index.d.ts +2 -0
- package/dist/components/{Card.d.ts → card/Card.d.ts} +1 -1
- package/dist/components/{CardHead.d.ts → card/CardHead.d.ts} +1 -1
- package/dist/components/card/index.d.ts +2 -0
- package/dist/components/{Checkbox.d.ts → checkbox/Checkbox.d.ts} +1 -1
- package/dist/components/checkbox/index.d.ts +4 -0
- package/dist/components/collapsible/CollapsibleChevron.d.ts +6 -0
- package/dist/components/collapsible/index.d.ts +2 -0
- package/dist/components/{ComboboxInput.d.ts → combobox/ComboboxInput.d.ts} +1 -1
- package/dist/components/{ComboboxRoot.d.ts → combobox/ComboboxRoot.d.ts} +1 -1
- package/dist/components/combobox/index.d.ts +6 -0
- package/dist/components/dialog/index.d.ts +3 -0
- package/dist/components/{DropdownMenuContent.d.ts → dropdown/DropdownMenuContent.d.ts} +1 -1
- package/dist/components/{DropdownMenuItem.d.ts → dropdown/DropdownMenuItem.d.ts} +1 -1
- package/dist/components/dropdown/index.d.ts +3 -0
- package/dist/components/{IconCircle.d.ts → icon/IconCircle.d.ts} +1 -1
- package/dist/components/icon/index.d.ts +3 -0
- package/dist/components/index.d.ts +28 -60
- package/dist/components/{ColorField.d.ts → inputs/ColorField.d.ts} +1 -1
- package/dist/components/{TextArea.d.ts → inputs/TextArea.d.ts} +1 -1
- package/dist/components/{TextField.d.ts → inputs/TextField.d.ts} +1 -1
- package/dist/components/inputs/index.d.ts +3 -0
- package/dist/components/inset/index.d.ts +1 -0
- package/dist/components/pagination/Pagination.d.ts +45 -0
- package/dist/components/pagination/index.d.ts +1 -0
- package/dist/components/popover/index.d.ts +2 -0
- package/dist/components/{Quota.d.ts → quota/Quota.d.ts} +1 -1
- package/dist/components/quota/index.d.ts +1 -0
- package/dist/components/{Radio.d.ts → radio/Radio.d.ts} +1 -1
- package/dist/components/{RadioGroupRoot.d.ts → radio/RadioGroupRoot.d.ts} +1 -1
- package/dist/components/radio/index.d.ts +6 -0
- package/dist/components/{ScrollArea.d.ts → scrollarea/ScrollArea.d.ts} +1 -1
- package/dist/components/scrollarea/index.d.ts +1 -0
- package/dist/components/{SelectRoot.d.ts → select/SelectRoot.d.ts} +1 -1
- package/dist/components/select/index.d.ts +7 -0
- package/dist/components/{Separator.d.ts → separator/Separator.d.ts} +1 -1
- package/dist/components/separator/index.d.ts +1 -0
- package/dist/components/spinner/SavingIndicator.d.ts +9 -0
- package/dist/components/spinner/Spinner.d.ts +10 -0
- package/dist/components/spinner/index.d.ts +2 -0
- package/dist/components/{Switch.d.ts → switch/Switch.d.ts} +1 -1
- package/dist/components/switch/index.d.ts +1 -0
- package/dist/components/table/index.d.ts +1 -0
- package/dist/components/{TabsList.d.ts → tabs/TabsList.d.ts} +1 -1
- package/dist/components/tabs/index.d.ts +3 -0
- package/dist/components/{Toggle.d.ts → toggle/Toggle.d.ts} +1 -1
- package/dist/components/{ToggleGroupRoot.d.ts → toggle/ToggleGroupRoot.d.ts} +1 -1
- package/dist/components/toggle/index.d.ts +3 -0
- package/dist/components/tooltip/index.d.ts +1 -0
- package/dist/index.js +1243 -1062
- package/dist/style.css +1 -1
- package/package.json +9 -9
- package/tailwind/breakpoints.css +15 -0
- package/tailwind/colors.css +1095 -0
- package/tailwind/index.css +3 -0
- package/tailwind/space.css +11 -0
- package/dist/components/SavingIndicator.d.ts +0 -10
- package/dist/components/Spinner.d.ts +0 -2
- package/tailwind/animation.ts +0 -111
- package/tailwind/breakpoints.ts +0 -9
- package/tailwind/colors.ts +0 -64
- package/tailwind/index.ts +0 -22
- /package/dist/components/{Turnstile.d.ts → addons/Turnstile.d.ts} +0 -0
- /package/dist/components/{AlertDialogContent.d.ts → alert/AlertDialogContent.d.ts} +0 -0
- /package/dist/components/{IconButton.d.ts → button/IconButton.d.ts} +0 -0
- /package/dist/components/{CheckboxGroupControl.d.ts → checkbox/CheckboxGroupControl.d.ts} +0 -0
- /package/dist/components/{CheckboxGroupItem.d.ts → checkbox/CheckboxGroupItem.d.ts} +0 -0
- /package/dist/components/{CheckboxGroupRoot.d.ts → checkbox/CheckboxGroupRoot.d.ts} +0 -0
- /package/dist/components/{ComboboxContent.d.ts → combobox/ComboboxContent.d.ts} +0 -0
- /package/dist/components/{ComboboxItem.d.ts → combobox/ComboboxItem.d.ts} +0 -0
- /package/dist/components/{ComboboxLabel.d.ts → combobox/ComboboxLabel.d.ts} +0 -0
- /package/dist/components/{DialogContent.d.ts → dialog/DialogContent.d.ts} +0 -0
- /package/dist/components/{DialogHead.d.ts → dialog/DialogHead.d.ts} +0 -0
- /package/dist/components/{Inset.d.ts → inset/Inset.d.ts} +0 -0
- /package/dist/components/{PopoverContent.d.ts → popover/PopoverContent.d.ts} +0 -0
- /package/dist/components/{RadioCardsItem.d.ts → radio/RadioCardsItem.d.ts} +0 -0
- /package/dist/components/{RadioGroupItem.d.ts → radio/RadioGroupItem.d.ts} +0 -0
- /package/dist/components/{RadioTabsList.d.ts → radio/RadioTabsList.d.ts} +0 -0
- /package/dist/components/{SelectContent.d.ts → select/SelectContent.d.ts} +0 -0
- /package/dist/components/{SelectItem.d.ts → select/SelectItem.d.ts} +0 -0
- /package/dist/components/{SelectLabel.d.ts → select/SelectLabel.d.ts} +0 -0
- /package/dist/components/{SelectSeparator.d.ts → select/SelectSeparator.d.ts} +0 -0
- /package/dist/components/{SelectTrigger.d.ts → select/SelectTrigger.d.ts} +0 -0
- /package/dist/components/{Table.d.ts → table/Table.d.ts} +0 -0
- /package/dist/components/{TabsTrigger.d.ts → tabs/TabsTrigger.d.ts} +0 -0
- /package/dist/components/{ToggleGroupItem.d.ts → toggle/ToggleGroupItem.d.ts} +0 -0
- /package/dist/components/{Tooltip.d.ts → tooltip/Tooltip.d.ts} +0 -0
@@ -1,10 +0,0 @@
|
|
1
|
-
export type SavingStatus = 'idle' | 'saving' | 'saved';
|
2
|
-
export interface SavingIndicatorProps {
|
3
|
-
status: SavingStatus;
|
4
|
-
}
|
5
|
-
declare const _default: import('vue').DefineComponent<{
|
6
|
-
status: SavingStatus;
|
7
|
-
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
8
|
-
status: SavingStatus;
|
9
|
-
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
10
|
-
export default _default;
|
@@ -1,2 +0,0 @@
|
|
1
|
-
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
2
|
-
export default _default;
|
package/tailwind/animation.ts
DELETED
@@ -1,111 +0,0 @@
|
|
1
|
-
|
2
|
-
export const keyframes = {
|
3
|
-
overlayShow: {
|
4
|
-
from: { opacity: '0' },
|
5
|
-
to: { opacity: '1' },
|
6
|
-
},
|
7
|
-
contentUpAndShow: {
|
8
|
-
from: { opacity: '0', transform: 'translateY(25%)' },
|
9
|
-
to: { opacity: '1', transform: 'translateY(0)' },
|
10
|
-
},
|
11
|
-
slideDownAndFadeIn: {
|
12
|
-
from: { opacity: '0', transform: 'translateY(-0.5rem)' },
|
13
|
-
to: { opacity: '1', transform: 'translateY(0)' },
|
14
|
-
},
|
15
|
-
slideDownAndFadeOut: {
|
16
|
-
from: { opacity: '1', transform: 'translateY(0)' },
|
17
|
-
to: { opacity: '0', transform: 'translateY(-0.5rem)' },
|
18
|
-
},
|
19
|
-
slideLeftAndFadeIn: {
|
20
|
-
from: { opacity: '0', transform: 'translateX(0.5rem)' },
|
21
|
-
to: { opacity: '1', transform: 'translateX(0)' },
|
22
|
-
},
|
23
|
-
slideUpAndFadeIn: {
|
24
|
-
from: { opacity: '0', transform: 'translateY(0.5rem)' },
|
25
|
-
to: { opacity: '1', transform: 'translateY(0)' },
|
26
|
-
},
|
27
|
-
slideUpAndFadeOut: {
|
28
|
-
from: { opacity: '1', transform: 'translateY(0)' },
|
29
|
-
to: { opacity: '0', transform: 'translateY(0.5rem)' },
|
30
|
-
},
|
31
|
-
slideRightAndFadeIn: {
|
32
|
-
from: { opacity: '0', transform: 'translateX(-0.5rem)' },
|
33
|
-
to: { opacity: '1', transform: 'translateX(0)' },
|
34
|
-
},
|
35
|
-
slideDown: {
|
36
|
-
from: { height: '0' },
|
37
|
-
to: { height: 'var(--radix-accordion-content-height)' },
|
38
|
-
},
|
39
|
-
slideUp: {
|
40
|
-
from: { height: 'var(--radix-accordion-content-height)' },
|
41
|
-
to: { height: '0' },
|
42
|
-
},
|
43
|
-
enterFromRight: {
|
44
|
-
from: { opacity: '0', transform: 'translateX(200px)' },
|
45
|
-
to: { opacity: '1', transform: 'translateX(0)' },
|
46
|
-
},
|
47
|
-
enterFromLeft: {
|
48
|
-
from: { opacity: '0', transform: 'translateX(-200px)' },
|
49
|
-
to: { opacity: '1', transform: 'translateX(0)' },
|
50
|
-
},
|
51
|
-
exitToRight: {
|
52
|
-
from: { opacity: '1', transform: 'translateX(0)' },
|
53
|
-
to: { opacity: '0', transform: 'translateX(200px)' },
|
54
|
-
},
|
55
|
-
exitToLeft: {
|
56
|
-
from: { opacity: '1', transform: 'translateX(0)' },
|
57
|
-
to: { opacity: '0', transform: 'translateX(-200px)' },
|
58
|
-
},
|
59
|
-
scaleIn: {
|
60
|
-
from: { opacity: '0', transform: 'rotateX(-10deg) scale(0.9)' },
|
61
|
-
to: { opacity: '1', transform: 'rotateX(0deg) scale(1)' },
|
62
|
-
},
|
63
|
-
scaleOut: {
|
64
|
-
from: { opacity: '1', transform: 'rotateX(0deg) scale(1)' },
|
65
|
-
to: { opacity: '0', transform: 'rotateX(-10deg) scale(0.95)' },
|
66
|
-
},
|
67
|
-
fadeIn: {
|
68
|
-
from: { opacity: '0' },
|
69
|
-
to: { opacity: '1' },
|
70
|
-
},
|
71
|
-
fadeOut: {
|
72
|
-
from: { opacity: '1' },
|
73
|
-
to: { opacity: '0' },
|
74
|
-
},
|
75
|
-
hide: {
|
76
|
-
from: { opacity: '1' },
|
77
|
-
to: { opacity: '0' },
|
78
|
-
},
|
79
|
-
slideIn: {
|
80
|
-
from: { transform: 'translateX(calc(100% + var(--viewport-padding)))' },
|
81
|
-
to: { transform: 'translateX(0)' },
|
82
|
-
},
|
83
|
-
swipeOut: {
|
84
|
-
from: { transform: 'translateX(var(--radix-toast-swipe-end-x))' },
|
85
|
-
to: { transform: 'translateX(calc(100% + var(--viewport-padding)))' },
|
86
|
-
},
|
87
|
-
}
|
88
|
-
|
89
|
-
export const animation = {
|
90
|
-
overlayShow: 'overlayShow 150ms cubic-bezier(0.16, 1, 0.3, 1)',
|
91
|
-
contentUpAndShow: 'contentUpAndShow 150ms',
|
92
|
-
slideDownAndFadeIn: 'slideDownAndFadeIn 400ms cubic-bezier(0.16, 1, 0.3, 1)',
|
93
|
-
slideDownAndFadeOut: 'slideDownAndFadeOut 400ms cubic-bezier(0.16, 1, 0.3, 1)',
|
94
|
-
slideLeftAndFadeIn: 'slideLeftAndFadeIn 400ms cubic-bezier(0.16, 1, 0.3, 1)',
|
95
|
-
slideUpAndFadeIn: 'slideUpAndFadeIn 400ms cubic-bezier(0.16, 1, 0.3, 1)',
|
96
|
-
slideUpAndFadeOut: 'slideUpAndFadeOut 400ms cubic-bezier(0.16, 1, 0.3, 1)',
|
97
|
-
slideRightAndFadeIn: 'slideRightAndFadeIn 400ms cubic-bezier(0.16, 1, 0.3, 1)',
|
98
|
-
slideDown: 'slideDown 300ms cubic-bezier(0.87, 0, 0.13, 1)',
|
99
|
-
slideUp: 'slideUp 300ms cubic-bezier(0.87, 0, 0.13, 1)',
|
100
|
-
scaleIn: 'scaleIn 200ms ease',
|
101
|
-
scaleOut: 'scaleOut 200ms ease',
|
102
|
-
fadeIn: 'fadeIn 200ms ease',
|
103
|
-
fadeOut: 'fadeOut 200ms ease',
|
104
|
-
enterFromLeft: 'enterFromLeft 250ms ease',
|
105
|
-
enterFromRight: 'enterFromRight 250ms ease',
|
106
|
-
exitToLeft: 'exitToLeft 250ms ease',
|
107
|
-
exitToRight: 'exitToRight 250ms ease',
|
108
|
-
hide: 'hide 100ms ease-in',
|
109
|
-
slideIn: 'slideIn 150ms cubic-bezier(0.16, 1, 0.3, 1)',
|
110
|
-
swipeOut: 'swipeOut 100ms ease-out',
|
111
|
-
}
|
package/tailwind/breakpoints.ts
DELETED
package/tailwind/colors.ts
DELETED
@@ -1,64 +0,0 @@
|
|
1
|
-
const PRESETS = [
|
2
|
-
'gray',
|
3
|
-
'slate',
|
4
|
-
'gold',
|
5
|
-
'bronze',
|
6
|
-
'brown',
|
7
|
-
'yellow',
|
8
|
-
'amber',
|
9
|
-
'orange',
|
10
|
-
'tomato',
|
11
|
-
'red',
|
12
|
-
'ruby',
|
13
|
-
'crimson',
|
14
|
-
'pink',
|
15
|
-
'plum',
|
16
|
-
'purple',
|
17
|
-
'violet',
|
18
|
-
'iris',
|
19
|
-
'indigo',
|
20
|
-
'blue',
|
21
|
-
'cyan',
|
22
|
-
'teal',
|
23
|
-
'jade',
|
24
|
-
'green',
|
25
|
-
'grass',
|
26
|
-
'lime',
|
27
|
-
'mint',
|
28
|
-
'sky',
|
29
|
-
]
|
30
|
-
|
31
|
-
export const colors: Record<string, any> = {}
|
32
|
-
|
33
|
-
PRESETS.forEach(color => {
|
34
|
-
const rv: Record<string, string> = {}
|
35
|
-
for (let i = 1; i <= 12; i++) {
|
36
|
-
rv[`${i}`] = `var(--${color}-${i})`
|
37
|
-
rv[`a${i}`] = `var(--${color}-a${i})`
|
38
|
-
}
|
39
|
-
colors[color] = rv
|
40
|
-
})
|
41
|
-
|
42
|
-
colors.black = generateAlphaColors('black')
|
43
|
-
colors.black.DEFAULT = '#000'
|
44
|
-
colors.white = generateAlphaColors('white')
|
45
|
-
colors.white.DEFAULT = '#fff'
|
46
|
-
|
47
|
-
colors.light = {
|
48
|
-
'0': 'var(--light-0)',
|
49
|
-
surface: 'var(--light-surface)',
|
50
|
-
...generateAlphaColors('light'),
|
51
|
-
}
|
52
|
-
colors.dark = {
|
53
|
-
'0': 'var(--dark-0)',
|
54
|
-
...generateAlphaColors('dark'),
|
55
|
-
}
|
56
|
-
colors.transparent = 'transparent'
|
57
|
-
|
58
|
-
function generateAlphaColors (color: string) {
|
59
|
-
const rv: Record<string, string> = {}
|
60
|
-
for (let i = 1; i <= 12; i++) {
|
61
|
-
rv[`a${i}`] = `var(--${color}-a${i})`
|
62
|
-
}
|
63
|
-
return rv
|
64
|
-
}
|
package/tailwind/index.ts
DELETED
@@ -1,22 +0,0 @@
|
|
1
|
-
import screens from './breakpoints'
|
2
|
-
import { colors } from './colors'
|
3
|
-
import { keyframes, animation } from './animation'
|
4
|
-
|
5
|
-
export default {
|
6
|
-
screens,
|
7
|
-
colors,
|
8
|
-
extend: {
|
9
|
-
keyframes,
|
10
|
-
animation,
|
11
|
-
fontFamily: {
|
12
|
-
'sans': [
|
13
|
-
'system-ui', '-apple-system', 'BlinkMacSystemFont',
|
14
|
-
'Segoe UI', 'Helvetica Neue', 'Arial', 'Noto Sans', 'sans-serif',
|
15
|
-
'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji',
|
16
|
-
],
|
17
|
-
},
|
18
|
-
borderColor: {
|
19
|
-
DEFAULT: 'var(--gray-a4)',
|
20
|
-
},
|
21
|
-
},
|
22
|
-
}
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|