daisy-ui-kit 1.0.7 → 2.0.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/components/Accordion.vue +16 -0
- package/components/Alert.vue +6 -8
- package/components/Artboard.vue +1 -1
- package/components/Avatar.vue +8 -23
- package/components/Badge.vue +5 -0
- package/components/BottomNav.vue +2 -4
- package/components/Button.vue +12 -4
- package/components/Card.vue +1 -1
- package/components/Chat.vue +27 -0
- package/components/ChatBubble.vue +34 -0
- package/components/ChatFooter.vue +5 -0
- package/components/ChatHeader.vue +5 -0
- package/components/ChatImage.vue +5 -0
- package/components/Checkbox.vue +12 -4
- package/components/Code.vue +2 -1
- package/components/CodeWrapper.vue +2 -2
- package/components/Collapse.vue +30 -8
- package/components/CountdownTimers.vue +8 -3
- package/components/Divider.vue +1 -1
- package/components/Drawer.vue +35 -11
- package/components/DrawerContent.vue +15 -0
- package/components/DrawerSide.vue +16 -0
- package/components/Dropdown.vue +56 -7
- package/components/DropdownContent.vue +3 -1
- package/components/DropdownTarget.vue +5 -0
- package/components/FileInput.vue +60 -0
- package/components/Flex.vue +3 -89
- package/components/FlexItem.vue +4 -90
- package/components/Footer.vue +1 -1
- package/components/FooterTitle.vue +1 -2
- package/components/Home/AlternatingFeatureSections.vue +10 -12
- package/components/Home/BitoviConsulting.vue +1 -1
- package/components/Home/BitoviOpenSource.vue +5 -5
- package/components/Home/Footer.vue +7 -6
- package/components/Home/GradientFeatureSections.vue +9 -9
- package/components/Home/Header.vue +10 -16
- package/components/Home/Hero.vue +4 -4
- package/components/Home/Testimonial.vue +1 -1
- package/components/{ButtonGroup.vue → Join.vue} +1 -1
- package/components/Link.vue +13 -6
- package/components/LoadingBall.vue +41 -0
- package/components/LoadingBars.vue +41 -0
- package/components/LoadingDots.vue +41 -0
- package/components/LoadingInfinity.vue +41 -0
- package/components/LoadingRing.vue +41 -0
- package/components/LoadingSpinner.vue +41 -0
- package/components/Mask.config.ts +2 -2
- package/components/Menu.vue +14 -6
- package/components/MenuItem.vue +11 -3
- package/components/MenuTitle.vue +1 -10
- package/components/Modal.vue +28 -7
- package/components/Progress.vue +1 -2
- package/components/Prose.vue +6 -8
- package/components/Radio.vue +14 -2
- package/components/RadioGroup.vue +5 -0
- package/components/Range.vue +14 -2
- package/components/RangeMeasure.vue +23 -11
- package/components/RangeMeasureTick.vue +19 -7
- package/components/Rating.vue +52 -36
- package/components/Select.vue +14 -14
- package/components/Step.vue +2 -2
- package/components/Tab.vue +3 -4
- package/components/TabContent.vue +1 -1
- package/components/Tabs.vue +2 -2
- package/components/Text.vue +4 -1
- package/components/TextArea.vue +13 -1
- package/components/TextInput.vue +5 -2
- package/components/Toggle.vue +13 -1
- package/components/content/Badge.ts +3 -0
- package/components/content/ColorBadge.vue +24 -0
- package/components/{DemoExample.vue → content/DemoExample.vue} +1 -1
- package/components/content/DemoExampleResponsive.vue +59 -0
- package/components/content/IframeRenderer.ts +53 -0
- package/components/content/Indent.vue +3 -0
- package/components/content/LocalLinks.vue +31 -0
- package/components/content/NotFound.vue +42 -0
- package/components/content/PageNext.vue +24 -0
- package/components/content/PagePrevious.vue +24 -0
- package/components/content/PrevNext.vue +40 -0
- package/components/content/ProseA.vue +19 -0
- package/components/content/ProseAlert.vue +11 -0
- package/components/content/ProseBlockquote.vue +5 -0
- package/components/content/ProseCode.vue +62 -0
- package/components/content/ProseCodeInline.vue +3 -0
- package/components/content/ProseEm.vue +5 -0
- package/components/content/ProseH1.vue +16 -0
- package/components/content/ProseH2.vue +16 -0
- package/components/content/ProseH3.vue +16 -0
- package/components/content/ProseH4.vue +16 -0
- package/components/content/ProseH5.vue +16 -0
- package/components/content/ProseH6.vue +16 -0
- package/components/content/ProseHr.vue +3 -0
- package/components/content/ProseImg.vue +34 -0
- package/components/content/ProseLi.vue +3 -0
- package/components/content/ProseOl.vue +5 -0
- package/components/content/ProseP.vue +3 -0
- package/components/content/ProseStrong.vue +5 -0
- package/components/content/ProseTable.vue +7 -0
- package/components/content/ProseTbody.vue +5 -0
- package/components/content/ProseTd.vue +5 -0
- package/components/content/ProseTh.vue +5 -0
- package/components/content/ProseThead.vue +5 -0
- package/components/content/ProseTr.vue +5 -0
- package/components/content/ProseUl.vue +5 -0
- package/components/content/Search.vue +160 -0
- package/components/content/Sidebar.vue +65 -0
- package/components/{SidebarMenuSection.vue → content/SidebarMenuSection.vue} +11 -6
- package/components/content/TableOfContents.vue +80 -0
- package/components/content/TypeBadge.vue +17 -0
- package/components/theme/Picker.vue +2 -2
- package/components/theme/Preview.vue +1 -1
- package/components/theme/theme-utils.ts +15 -4
- package/index.ts +105 -96
- package/package.json +27 -24
- package/components/-utils.ts +0 -41
- package/components/Button.config.ts +0 -26
- package/components/DemoElement.vue +0 -32
- package/components/DrawerLayout.vue +0 -37
- package/components/DrawerLayoutContent.vue +0 -19
- package/components/InputGroup.vue +0 -33
- package/components/MobileSidebar.vue +0 -88
- package/components/ModalWrapper.vue +0 -32
- package/components/Sidebar.vue +0 -89
- package/components/drawer-utils.ts +0 -10
- package/components/fixtures.ts +0 -62
- package/components/types.ts +0 -7
- /package/components/{CodePreview.vue → content/CodePreview.vue} +0 -0
- /package/components/{SigninForm.vue → content/SigninForm.vue} +0 -0
- /package/components/{UserMenu.vue → content/UserMenu.vue} +0 -0
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import { computed } from 'vue'
|
|
3
|
+
|
|
4
|
+
interface Props {
|
|
5
|
+
join?: boolean
|
|
6
|
+
|
|
7
|
+
color?: string
|
|
8
|
+
primary?: boolean
|
|
9
|
+
secondary?: boolean
|
|
10
|
+
accent?: boolean
|
|
11
|
+
info?: boolean
|
|
12
|
+
success?: boolean
|
|
13
|
+
warning?: boolean
|
|
14
|
+
error?: boolean
|
|
15
|
+
|
|
16
|
+
bordered?: boolean
|
|
17
|
+
ghost?: boolean
|
|
18
|
+
disabled?: boolean
|
|
19
|
+
|
|
20
|
+
size?: 'lg' | 'md' | 'sm' | 'xs'
|
|
21
|
+
lg?: boolean
|
|
22
|
+
md?: boolean
|
|
23
|
+
sm?: boolean
|
|
24
|
+
xs?: boolean
|
|
25
|
+
}
|
|
26
|
+
const props = defineProps<Props>()
|
|
27
|
+
defineEmits(['files'])
|
|
28
|
+
|
|
29
|
+
const classes = computed(() => {
|
|
30
|
+
return {
|
|
31
|
+
'join-item': props.join,
|
|
32
|
+
|
|
33
|
+
'file-input-primary': props.primary || props.color === 'primary',
|
|
34
|
+
'file-input-secondary': props.secondary || props.color === 'secondary',
|
|
35
|
+
'file-input-accent': props.accent || props.color === 'accent',
|
|
36
|
+
'file-input-info': props.info || props.color === 'info',
|
|
37
|
+
'file-input-success': props.success || props.color === 'success',
|
|
38
|
+
'file-input-warning': props.warning || props.color === 'warning',
|
|
39
|
+
'file-input-error': props.error || props.color === 'error',
|
|
40
|
+
|
|
41
|
+
'file-input-lg': props.lg || props.size === 'lg',
|
|
42
|
+
'file-input-md': props.md || props.size === 'md',
|
|
43
|
+
'file-input-sm': props.sm || props.size === 'sm',
|
|
44
|
+
'file-input-xs': props.xs || props.size === 'xs',
|
|
45
|
+
|
|
46
|
+
'file-input-bordered': props.bordered,
|
|
47
|
+
'file-input-ghost': props.ghost,
|
|
48
|
+
}
|
|
49
|
+
})
|
|
50
|
+
</script>
|
|
51
|
+
|
|
52
|
+
<template>
|
|
53
|
+
<input
|
|
54
|
+
type="file"
|
|
55
|
+
:disabled="disabled"
|
|
56
|
+
class="file-input"
|
|
57
|
+
:class="classes"
|
|
58
|
+
@input="$emit('files', ($event.target as any).value)"
|
|
59
|
+
>
|
|
60
|
+
</template>
|
package/components/Flex.vue
CHANGED
|
@@ -3,10 +3,10 @@ import { computed } from 'vue'
|
|
|
3
3
|
|
|
4
4
|
interface Props {
|
|
5
5
|
is?: string | Object | Function
|
|
6
|
+
join?: boolean
|
|
6
7
|
|
|
7
8
|
// https://tailwindcss.com/docs/flex
|
|
8
9
|
flex?: boolean
|
|
9
|
-
|
|
10
10
|
flex1?: boolean
|
|
11
11
|
flexAuto?: boolean
|
|
12
12
|
flexInitial?: boolean
|
|
@@ -24,56 +24,6 @@ interface Props {
|
|
|
24
24
|
wrap?: boolean
|
|
25
25
|
nowrap?: boolean
|
|
26
26
|
wrapReverse?: boolean
|
|
27
|
-
|
|
28
|
-
// https://tailwindcss.com/docs/align-items
|
|
29
|
-
alignItems?: 'start' | 'end' | 'center' | 'baseline' | 'stretch'
|
|
30
|
-
itemsStart?: boolean
|
|
31
|
-
itemsEnd?: boolean
|
|
32
|
-
itemsCenter?: boolean
|
|
33
|
-
itemsBaseline?: boolean
|
|
34
|
-
itemsStretch?: boolean
|
|
35
|
-
|
|
36
|
-
// https://tailwindcss.com/docs/align-content
|
|
37
|
-
alignContent?: 'start' | 'end' | 'center' | 'between' | 'around' | 'evenly'
|
|
38
|
-
contentStart?: boolean
|
|
39
|
-
contentEnd?: boolean
|
|
40
|
-
contentCenter?: boolean
|
|
41
|
-
contentBetween?: boolean
|
|
42
|
-
contentAround?: boolean
|
|
43
|
-
contentEvenly?: boolean
|
|
44
|
-
|
|
45
|
-
// https://tailwindcss.com/docs/align-self
|
|
46
|
-
alignSelf?: 'auto' | 'start' | 'end' | 'center' | 'stretch' | 'baseline'
|
|
47
|
-
selfAuto?: boolean
|
|
48
|
-
selfStart?: boolean
|
|
49
|
-
selfEnd?: boolean
|
|
50
|
-
selfCenter?: boolean
|
|
51
|
-
selfStretch?: boolean
|
|
52
|
-
selfBaseline?: boolean
|
|
53
|
-
|
|
54
|
-
// https://tailwindcss.com/docs/justify-content
|
|
55
|
-
justify?: 'start' | 'end' | 'center' | 'between' | 'around' | 'evenly'
|
|
56
|
-
justifyStart?: boolean
|
|
57
|
-
justifyEnd?: boolean
|
|
58
|
-
justifyCenter?: boolean
|
|
59
|
-
justifyBetween?: boolean
|
|
60
|
-
justifyAround?: boolean
|
|
61
|
-
justifyEvenly?: boolean
|
|
62
|
-
|
|
63
|
-
// https://tailwindcss.com/docs/justify-items
|
|
64
|
-
justifyItems?: 'start' | 'end' | 'center' | 'stretch'
|
|
65
|
-
justifyItemsStart?: boolean
|
|
66
|
-
justifyItemsEnd?: boolean
|
|
67
|
-
justifyItemsCenter?: boolean
|
|
68
|
-
justifyItemsStretch?: boolean
|
|
69
|
-
|
|
70
|
-
// https://tailwindcss.com/docs/justify-self
|
|
71
|
-
justifySelf?: 'auto' | 'start' | 'end' | 'center' | 'stretch'
|
|
72
|
-
justifySelfAuto?: boolean
|
|
73
|
-
justifySelfStart?: boolean
|
|
74
|
-
justifySelfEnd?: boolean
|
|
75
|
-
justifySelfCenter?: boolean
|
|
76
|
-
justifySelfStretch?: boolean
|
|
77
27
|
}
|
|
78
28
|
const props = withDefaults(defineProps<Props>(), {
|
|
79
29
|
is: 'div',
|
|
@@ -82,6 +32,8 @@ const props = withDefaults(defineProps<Props>(), {
|
|
|
82
32
|
|
|
83
33
|
const classes = computed(() => {
|
|
84
34
|
return {
|
|
35
|
+
'join-item': props.join,
|
|
36
|
+
|
|
85
37
|
'flex-1': props.flex1,
|
|
86
38
|
'flex-auto': props.flexAuto,
|
|
87
39
|
'flex-initial': props.flexInitial,
|
|
@@ -97,44 +49,6 @@ const classes = computed(() => {
|
|
|
97
49
|
'flex-wrap': props.wrap,
|
|
98
50
|
'flex-wrap-reverse': props.wrapReverse,
|
|
99
51
|
'flex-nowrap': props.nowrap,
|
|
100
|
-
|
|
101
|
-
'content-start': props.alignContent === 'start' || props.contentStart,
|
|
102
|
-
'content-end': props.alignContent === 'end' || props.contentEnd,
|
|
103
|
-
'content-center': props.alignContent === 'center' || props.contentCenter,
|
|
104
|
-
'content-between': props.alignContent === 'between' || props.contentBetween,
|
|
105
|
-
'content-around': props.alignContent === 'around' || props.contentAround,
|
|
106
|
-
'content-evenly': props.alignContent === 'evenly' || props.contentEvenly,
|
|
107
|
-
|
|
108
|
-
'items-start': props.alignItems === 'start' || props.itemsStart,
|
|
109
|
-
'items-end': props.alignItems === 'end' || props.itemsEnd,
|
|
110
|
-
'items-center': props.alignItems === 'center' || props.itemsCenter,
|
|
111
|
-
'items-baseline': props.alignItems === 'baseline' || props.itemsBaseline,
|
|
112
|
-
'items-stretch': props.alignItems === 'stretch' || props.itemsStretch,
|
|
113
|
-
|
|
114
|
-
'self-auto': props.alignSelf === 'auto' || props.selfAuto,
|
|
115
|
-
'self-start': props.alignSelf === 'start' || props.selfStart,
|
|
116
|
-
'self-end': props.alignSelf === 'end' || props.selfEnd,
|
|
117
|
-
'self-center': props.alignSelf === 'center' || props.selfCenter,
|
|
118
|
-
'self-stretch': props.alignSelf === 'stretch' || props.selfStretch,
|
|
119
|
-
'self-baseline': props.alignSelf === 'baseline' || props.selfBaseline,
|
|
120
|
-
|
|
121
|
-
'justify-start': props.justify === 'start' || props.justifyStart,
|
|
122
|
-
'justify-end': props.justify === 'end' || props.justifyEnd,
|
|
123
|
-
'justify-center': props.justify === 'center' || props.justifyCenter,
|
|
124
|
-
'justify-between': props.justify === 'between' || props.justifyBetween,
|
|
125
|
-
'justify-around': props.justify === 'around' || props.justifyAround,
|
|
126
|
-
'justify-evenly': props.justify === 'evenly' || props.justifyEvenly,
|
|
127
|
-
|
|
128
|
-
'justify-items-start': props.justifyItems === 'start' || props.justifyItemsStart,
|
|
129
|
-
'justify-items-end': props.justifyItems === 'end' || props.justifyItemsEnd,
|
|
130
|
-
'justify-items-center': props.justifyItems === 'center' || props.justifyItemsCenter,
|
|
131
|
-
'justify-items-stretch': props.justifyItems === 'stretch' || props.justifyItemsStretch,
|
|
132
|
-
|
|
133
|
-
'justify-self-auto': props.justifySelf === 'auto' || props.justifySelfAuto,
|
|
134
|
-
'justify-self-start': props.justifySelf === 'start' || props.justifySelfStart,
|
|
135
|
-
'justify-self-end': props.justifySelf === 'end' || props.justifySelfEnd,
|
|
136
|
-
'justify-self-center': props.justifySelf === 'center' || props.justifySelfCenter,
|
|
137
|
-
'justify-self-stretch': props.justifySelf === 'stretch' || props.justifySelfStretch,
|
|
138
52
|
}
|
|
139
53
|
})
|
|
140
54
|
</script>
|
package/components/FlexItem.vue
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
-
import { computed
|
|
2
|
+
import { computed } from 'vue'
|
|
3
3
|
|
|
4
4
|
interface Props {
|
|
5
5
|
is?: string | Object | Function
|
|
6
|
+
join?: boolean
|
|
6
7
|
|
|
7
8
|
// https://tailwindcss.com/docs/flex
|
|
8
9
|
flex?: boolean
|
|
9
|
-
|
|
10
10
|
flex1?: boolean
|
|
11
11
|
flexAuto?: boolean
|
|
12
12
|
flexInitial?: boolean
|
|
@@ -24,56 +24,6 @@ interface Props {
|
|
|
24
24
|
wrap?: boolean
|
|
25
25
|
nowrap?: boolean
|
|
26
26
|
wrapReverse?: boolean
|
|
27
|
-
|
|
28
|
-
// https://tailwindcss.com/docs/align-items
|
|
29
|
-
alignItems?: 'start' | 'end' | 'center' | 'baseline' | 'stretch'
|
|
30
|
-
itemsStart?: boolean
|
|
31
|
-
itemsEnd?: boolean
|
|
32
|
-
itemsCenter?: boolean
|
|
33
|
-
itemsBaseline?: boolean
|
|
34
|
-
itemsStretch?: boolean
|
|
35
|
-
|
|
36
|
-
// https://tailwindcss.com/docs/align-content
|
|
37
|
-
alignContent?: 'start' | 'end' | 'center' | 'between' | 'around' | 'evenly'
|
|
38
|
-
contentStart?: boolean
|
|
39
|
-
contentEnd?: boolean
|
|
40
|
-
contentCenter?: boolean
|
|
41
|
-
contentBetween?: boolean
|
|
42
|
-
contentAround?: boolean
|
|
43
|
-
contentEvenly?: boolean
|
|
44
|
-
|
|
45
|
-
// https://tailwindcss.com/docs/align-self
|
|
46
|
-
alignSelf?: 'auto' | 'start' | 'end' | 'center' | 'stretch' | 'baseline'
|
|
47
|
-
selfAuto?: boolean
|
|
48
|
-
selfStart?: boolean
|
|
49
|
-
selfEnd?: boolean
|
|
50
|
-
selfCenter?: boolean
|
|
51
|
-
selfStretch?: boolean
|
|
52
|
-
selfBaseline?: boolean
|
|
53
|
-
|
|
54
|
-
// https://tailwindcss.com/docs/justify-content
|
|
55
|
-
justify?: 'start' | 'end' | 'center' | 'between' | 'around' | 'evenly'
|
|
56
|
-
justifyStart?: boolean
|
|
57
|
-
justifyEnd?: boolean
|
|
58
|
-
justifyCenter?: boolean
|
|
59
|
-
justifyBetween?: boolean
|
|
60
|
-
justifyAround?: boolean
|
|
61
|
-
justifyEvenly?: boolean
|
|
62
|
-
|
|
63
|
-
// https://tailwindcss.com/docs/justify-items
|
|
64
|
-
justifyItems?: 'start' | 'end' | 'center' | 'stretch'
|
|
65
|
-
justifyItemsStart?: boolean
|
|
66
|
-
justifyItemsEnd?: boolean
|
|
67
|
-
justifyItemsCenter?: boolean
|
|
68
|
-
justifyItemsStretch?: boolean
|
|
69
|
-
|
|
70
|
-
// https://tailwindcss.com/docs/justify-self
|
|
71
|
-
justifySelf?: 'auto' | 'start' | 'end' | 'center' | 'stretch'
|
|
72
|
-
justifySelfAuto?: boolean
|
|
73
|
-
justifySelfStart?: boolean
|
|
74
|
-
justifySelfEnd?: boolean
|
|
75
|
-
justifySelfCenter?: boolean
|
|
76
|
-
justifySelfStretch?: boolean
|
|
77
27
|
}
|
|
78
28
|
const props = withDefaults(defineProps<Props>(), {
|
|
79
29
|
is: 'div',
|
|
@@ -82,6 +32,8 @@ const props = withDefaults(defineProps<Props>(), {
|
|
|
82
32
|
|
|
83
33
|
const classes = computed(() => {
|
|
84
34
|
return {
|
|
35
|
+
'join-item': props.join,
|
|
36
|
+
|
|
85
37
|
'flex-1': props.flex1,
|
|
86
38
|
'flex-auto': props.flexAuto,
|
|
87
39
|
'flex-initial': props.flexInitial,
|
|
@@ -97,44 +49,6 @@ const classes = computed(() => {
|
|
|
97
49
|
'flex-wrap': props.wrap,
|
|
98
50
|
'flex-wrap-reverse': props.wrapReverse,
|
|
99
51
|
'flex-nowrap': props.nowrap,
|
|
100
|
-
|
|
101
|
-
'content-start': props.alignContent === 'start' || props.contentStart,
|
|
102
|
-
'content-end': props.alignContent === 'end' || props.contentEnd,
|
|
103
|
-
'content-center': props.alignContent === 'center' || props.contentCenter,
|
|
104
|
-
'content-between': props.alignContent === 'between' || props.contentBetween,
|
|
105
|
-
'content-around': props.alignContent === 'around' || props.contentAround,
|
|
106
|
-
'content-evenly': props.alignContent === 'evenly' || props.contentEvenly,
|
|
107
|
-
|
|
108
|
-
'items-start': props.alignItems === 'start' || props.itemsStart,
|
|
109
|
-
'items-end': props.alignItems === 'end' || props.itemsEnd,
|
|
110
|
-
'items-center': props.alignItems === 'center' || props.itemsCenter,
|
|
111
|
-
'items-baseline': props.alignItems === 'baseline' || props.itemsBaseline,
|
|
112
|
-
'items-stretch': props.alignItems === 'stretch' || props.itemsStretch,
|
|
113
|
-
|
|
114
|
-
'self-auto': props.alignSelf === 'auto' || props.selfAuto,
|
|
115
|
-
'self-start': props.alignSelf === 'start' || props.selfStart,
|
|
116
|
-
'self-end': props.alignSelf === 'end' || props.selfEnd,
|
|
117
|
-
'self-center': props.alignSelf === 'center' || props.selfCenter,
|
|
118
|
-
'self-stretch': props.alignSelf === 'stretch' || props.selfStretch,
|
|
119
|
-
'self-baseline': props.alignSelf === 'baseline' || props.selfBaseline,
|
|
120
|
-
|
|
121
|
-
'justify-start': props.justify === 'start' || props.justifyStart,
|
|
122
|
-
'justify-end': props.justify === 'end' || props.justifyEnd,
|
|
123
|
-
'justify-center': props.justify === 'center' || props.justifyCenter,
|
|
124
|
-
'justify-between': props.justify === 'between' || props.justifyBetween,
|
|
125
|
-
'justify-around': props.justify === 'around' || props.justifyAround,
|
|
126
|
-
'justify-evenly': props.justify === 'evenly' || props.justifyEvenly,
|
|
127
|
-
|
|
128
|
-
'justify-items-start': props.justifyItems === 'start' || props.justifyItemsStart,
|
|
129
|
-
'justify-items-end': props.justifyItems === 'end' || props.justifyItemsEnd,
|
|
130
|
-
'justify-items-center': props.justifyItems === 'center' || props.justifyItemsCenter,
|
|
131
|
-
'justify-items-stretch': props.justifyItems === 'stretch' || props.justifyItemsStretch,
|
|
132
|
-
|
|
133
|
-
'justify-self-auto': props.justifySelf === 'auto' || props.justifySelfAuto,
|
|
134
|
-
'justify-self-start': props.justifySelf === 'start' || props.justifySelfStart,
|
|
135
|
-
'justify-self-end': props.justifySelf === 'end' || props.justifySelfEnd,
|
|
136
|
-
'justify-self-center': props.justifySelf === 'center' || props.justifySelfCenter,
|
|
137
|
-
'justify-self-stretch': props.justifySelf === 'stretch' || props.justifySelfStretch,
|
|
138
52
|
}
|
|
139
53
|
})
|
|
140
54
|
</script>
|
package/components/Footer.vue
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
-
import { withDefaults } from 'vue'
|
|
3
2
|
import Text from './Text.vue'
|
|
4
3
|
|
|
5
4
|
interface Props {
|
|
6
5
|
is?: string
|
|
7
6
|
}
|
|
8
|
-
|
|
7
|
+
withDefaults(defineProps<Props>(), {
|
|
9
8
|
is: 'span',
|
|
10
9
|
})
|
|
11
10
|
</script>
|
|
@@ -15,8 +15,8 @@ const favoriteColor = ref('')
|
|
|
15
15
|
>
|
|
16
16
|
<div class="max-w-xl px-4 mx-auto sm:px-6 lg:py-16 lg:max-w-none lg:mx-0 lg:px-0">
|
|
17
17
|
<div>
|
|
18
|
-
<Flex
|
|
19
|
-
<Icon name="heroicons
|
|
18
|
+
<Flex class="w-12 h-12 rounded-md bg-gradient-secondary-b items-center justify-center">
|
|
19
|
+
<Icon name="heroicons:heart" class="w-6 h-6 text-secondary-content" aria-hidden="true" />
|
|
20
20
|
</Flex>
|
|
21
21
|
|
|
22
22
|
<Text block size="3xl" extrabold class="mt-6 tracking-tight">
|
|
@@ -26,7 +26,7 @@ const favoriteColor = ref('')
|
|
|
26
26
|
Tailwind classes can get messy. DaisyUI Kit helps you declutter your code. It's clean, scalable Tailwind.
|
|
27
27
|
</Text>
|
|
28
28
|
|
|
29
|
-
<NuxtLink to="/install">
|
|
29
|
+
<NuxtLink to="/docs/install">
|
|
30
30
|
<Button primary class="mt-6 bg-gradient-primary-r">
|
|
31
31
|
Get started
|
|
32
32
|
</Button>
|
|
@@ -72,11 +72,9 @@ const favoriteColor = ref('')
|
|
|
72
72
|
>
|
|
73
73
|
<div>
|
|
74
74
|
<Flex
|
|
75
|
-
items-center
|
|
76
|
-
justify-center
|
|
77
|
-
class="w-12 h-12 rounded-md bg-gradient-secondary-b text-secondary-content"
|
|
75
|
+
class="w-12 h-12 rounded-md bg-gradient-secondary-b text-secondary-content items-center justify-center"
|
|
78
76
|
>
|
|
79
|
-
<Icon name="heroicons
|
|
77
|
+
<Icon name="heroicons:sparkles" class="w-6 h-6" aria-hidden="true" />
|
|
80
78
|
</Flex>
|
|
81
79
|
<Text block size="3xl" extrabold class="mt-6 tracking-tight text-base-content/90">
|
|
82
80
|
Beautiful Components
|
|
@@ -91,7 +89,7 @@ const favoriteColor = ref('')
|
|
|
91
89
|
just the right amount of elegant TypeScript under the hood.
|
|
92
90
|
</Text>
|
|
93
91
|
|
|
94
|
-
<NuxtLink to="/
|
|
92
|
+
<NuxtLink to="/docs/button">
|
|
95
93
|
<Button primary class="mt-6 bg-gradient-primary-r">
|
|
96
94
|
Get started
|
|
97
95
|
</Button>
|
|
@@ -102,7 +100,7 @@ const favoriteColor = ref('')
|
|
|
102
100
|
<div class="absolute inset-0 pr-4 -ml-48 sm:pr-6 md:-ml-16 lg:px-0 lg:m-0 lg:relative lg:h-full">
|
|
103
101
|
<img
|
|
104
102
|
class="w-full shadow-xl rounded-xl ring-1 ring-black ring-opacity-5 lg:absolute lg:right-0 lg:h-full lg:w-auto lg:max-w-none"
|
|
105
|
-
src="/img/unsplash-forest-sm.
|
|
103
|
+
src="/img/unsplash-forest-sm.jpg"
|
|
106
104
|
alt="Customer profile user interface"
|
|
107
105
|
>
|
|
108
106
|
</div>
|
|
@@ -160,7 +158,7 @@ const favoriteColor = ref('')
|
|
|
160
158
|
<LabelText>What is your name?</LabelText>
|
|
161
159
|
<LabelTextAlt>
|
|
162
160
|
<Tooltip primary left tip="Just answer correctly!">
|
|
163
|
-
<Button tabindex="-1" xs ghost><Icon name="feather
|
|
161
|
+
<Button tabindex="-1" xs ghost><Icon name="feather:info" /></Button>
|
|
164
162
|
</Tooltip>
|
|
165
163
|
</LabelTextAlt>
|
|
166
164
|
</Label>
|
|
@@ -177,7 +175,7 @@ const favoriteColor = ref('')
|
|
|
177
175
|
<LabelText>What is your quest?</LabelText>
|
|
178
176
|
<LabelTextAlt>
|
|
179
177
|
<Tooltip secondary left tip="Where do you want to go, today?">
|
|
180
|
-
<Button tabindex="-1" xs ghost><Icon name="feather
|
|
178
|
+
<Button tabindex="-1" xs ghost><Icon name="feather:info" /></Button>
|
|
181
179
|
</Tooltip>
|
|
182
180
|
</LabelTextAlt>
|
|
183
181
|
</Label>
|
|
@@ -194,7 +192,7 @@ const favoriteColor = ref('')
|
|
|
194
192
|
<LabelText>What is your favorite color?</LabelText>
|
|
195
193
|
<LabelTextAlt>
|
|
196
194
|
<Tooltip accent left tip="Blue or Yellow?">
|
|
197
|
-
<Button tabindex="-1" xs ghost><Icon name="feather
|
|
195
|
+
<Button tabindex="-1" xs ghost><Icon name="feather:info" /></Button>
|
|
198
196
|
</Tooltip>
|
|
199
197
|
</LabelTextAlt>
|
|
200
198
|
</Label>
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<!-- Logo Cloud -->
|
|
3
3
|
<div class="bg-base-200">
|
|
4
4
|
<div class="px-4 py-16 mx-auto max-w-7xl sm:px-6 lg:px-8">
|
|
5
|
-
<Flex
|
|
5
|
+
<Flex class="flex-col gap-4 sm:flex-row items-center justify-center">
|
|
6
6
|
<Text is="h3" uppercase semibold center lg class="tracking-wide text-base-content/80">
|
|
7
7
|
Another Open-Source Gift by
|
|
8
8
|
</Text>
|
|
@@ -11,14 +11,14 @@
|
|
|
11
11
|
</NuxtLink>
|
|
12
12
|
</Flex>
|
|
13
13
|
|
|
14
|
-
<Flex
|
|
14
|
+
<Flex class="mt-4 mb-4 items-center justify-center" />
|
|
15
15
|
|
|
16
16
|
<Text is="p" center lg semibold>
|
|
17
17
|
DaisyUI Kit joins the ranks of other professional-quality open-source projects.
|
|
18
18
|
</Text>
|
|
19
19
|
|
|
20
20
|
<div class="grid grid-cols-1 lg:grid-cols-3">
|
|
21
|
-
<Flex
|
|
21
|
+
<Flex class="py-6 lg:py-10 bg-gradient-radial from-white/20 via-transparent to-transparent items-center justify-center">
|
|
22
22
|
<NuxtLink target="blank" to="https://www.canjs.com">
|
|
23
23
|
<img
|
|
24
24
|
class="h-10 lg:h-16"
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
>
|
|
28
28
|
</NuxtLink>
|
|
29
29
|
</Flex>
|
|
30
|
-
<Flex
|
|
30
|
+
<Flex class="py-6 lg:py-10 bg-gradient-radial from-white/20 via-transparent to-transparent items-center justify-center">
|
|
31
31
|
<NuxtLink target="blank" to="https://www.donejs.com">
|
|
32
32
|
<img
|
|
33
33
|
class="h-10 lg:h-16"
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
>
|
|
37
37
|
</NuxtLink>
|
|
38
38
|
</Flex>
|
|
39
|
-
<Flex
|
|
39
|
+
<Flex class="py-6 lg:py-10 bg-gradient-radial from-white/20 via-transparent to-transparent items-center justify-center">
|
|
40
40
|
<NuxtLink target="blank" to="https://www.stealjs.com">
|
|
41
41
|
<img
|
|
42
42
|
class="h-10 lg:h-16"
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
2
|
const footerNavigation = {
|
|
3
3
|
solutions: [
|
|
4
|
-
{ name: 'Install', to: 'install' },
|
|
5
|
-
{ name: 'Components', to: '
|
|
4
|
+
{ name: 'Install', to: '/docs/install' },
|
|
5
|
+
{ name: 'Components', to: '/docs/button' },
|
|
6
6
|
],
|
|
7
7
|
support: [
|
|
8
8
|
{ name: 'Consulting', to: 'https://www.bitovi.com', target: 'blank' },
|
|
@@ -82,9 +82,10 @@ const social = [
|
|
|
82
82
|
<Label for="email-address" class="sr-only">
|
|
83
83
|
<LabelText>Email address</LabelText>
|
|
84
84
|
</Label>
|
|
85
|
-
<
|
|
85
|
+
<Join>
|
|
86
86
|
<TextInput
|
|
87
87
|
id="email-address"
|
|
88
|
+
join
|
|
88
89
|
name="email-address"
|
|
89
90
|
bordered primary
|
|
90
91
|
type="email"
|
|
@@ -93,16 +94,16 @@ const social = [
|
|
|
93
94
|
placeholder="Enter your email"
|
|
94
95
|
class="w-full placeholder-base-content/80"
|
|
95
96
|
/>
|
|
96
|
-
<Button class="bg-gradient-primary-r hover:bg-primary-focus zoom-105 text-primary-content">
|
|
97
|
+
<Button join class="bg-gradient-primary-r hover:bg-primary-focus zoom-105 text-primary-content">
|
|
97
98
|
Subscribe
|
|
98
99
|
</Button>
|
|
99
|
-
</
|
|
100
|
+
</Join>
|
|
100
101
|
</FormControl>
|
|
101
102
|
</form>
|
|
102
103
|
</div>
|
|
103
104
|
</div>
|
|
104
105
|
|
|
105
|
-
<Flex
|
|
106
|
+
<Flex class="pt-8 mt-12 border-t border-base-content lg:mt-16 items-center justify-between">
|
|
106
107
|
<NuxtLink target="blank" to="https://www.bitovi.com">
|
|
107
108
|
<Link is="span" hover>
|
|
108
109
|
Built with ❤️ by Bitovi
|
|
@@ -4,19 +4,19 @@ const features = [
|
|
|
4
4
|
name: 'Beyond the Dark Side',
|
|
5
5
|
description:
|
|
6
6
|
'Don\'t clutter your app with "dark:" prefixes. Build Smart with CSS variables.',
|
|
7
|
-
icon: 'heroicons-outline
|
|
7
|
+
icon: 'heroicons-outline:moon',
|
|
8
8
|
},
|
|
9
9
|
{
|
|
10
10
|
name: 'Theme Builder',
|
|
11
11
|
description:
|
|
12
12
|
'Fine tune the perfect color palette for your app.',
|
|
13
|
-
icon: 'heroicons-outline
|
|
13
|
+
icon: 'heroicons-outline:adjustments',
|
|
14
14
|
},
|
|
15
15
|
{
|
|
16
16
|
name: 'Beautiful Inputs',
|
|
17
17
|
description:
|
|
18
18
|
'Create beautiful forms with TextInput, TextArea, Checkbox, Toggle, Radio, Range, Select and more!',
|
|
19
|
-
icon: 'heroicons-outline
|
|
19
|
+
icon: 'heroicons-outline:pencil-alt',
|
|
20
20
|
},
|
|
21
21
|
{
|
|
22
22
|
name: 'Keep Tabs on Delightful',
|
|
@@ -27,26 +27,26 @@ const features = [
|
|
|
27
27
|
{
|
|
28
28
|
name: 'Lay It All Out',
|
|
29
29
|
description:
|
|
30
|
-
'Use the
|
|
31
|
-
icon: 'heroicons-outline
|
|
30
|
+
'Use the Drawer, Flex, Footer, Stack, Join, and more to create the perfect layout.',
|
|
31
|
+
icon: 'heroicons-outline:template',
|
|
32
32
|
},
|
|
33
33
|
{
|
|
34
34
|
name: 'Think Outside the Box',
|
|
35
35
|
description:
|
|
36
36
|
'Build with all kinds of shapes using Mask. Your site can be more than a grid of rectangles.',
|
|
37
|
-
icon: 'heroicons-outline
|
|
37
|
+
icon: 'heroicons-outline:star',
|
|
38
38
|
},
|
|
39
39
|
{
|
|
40
40
|
name: 'Interactive Makes Interesting',
|
|
41
41
|
description:
|
|
42
42
|
'Create Dropdowns, Modals, Tooltips, and Tabs, all without writing a single line of JavaScript.',
|
|
43
|
-
icon: 'heroicons-outline
|
|
43
|
+
icon: 'heroicons-outline:collection',
|
|
44
44
|
},
|
|
45
45
|
{
|
|
46
46
|
name: 'What\s on the Menu',
|
|
47
47
|
description:
|
|
48
48
|
'DaisyUI comes with gorgeous menu styles. They cleanly integrate with router links.',
|
|
49
|
-
icon: 'heroicons-outline
|
|
49
|
+
icon: 'heroicons-outline:heart',
|
|
50
50
|
},
|
|
51
51
|
]
|
|
52
52
|
</script>
|
|
@@ -69,7 +69,7 @@ const features = [
|
|
|
69
69
|
class="grid grid-cols-1 mt-12 gap-x-6 gap-y-12 sm:grid-cols-2 lg:mt-16 lg:grid-cols-4 lg:gap-x-8 lg:gap-y-16"
|
|
70
70
|
>
|
|
71
71
|
<div v-for="feature in features" :key="feature.name">
|
|
72
|
-
<Flex
|
|
72
|
+
<Flex class="w-12 h-12 rounded-md bg-base-100/20 items-center justify-center">
|
|
73
73
|
<Icon :name="feature.icon" class="w-6 h-6" aria-hidden="true" />
|
|
74
74
|
</Flex>
|
|
75
75
|
<div class="mt-6">
|
|
@@ -1,11 +1,4 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
|
-
import {
|
|
3
|
-
Popover,
|
|
4
|
-
PopoverButton,
|
|
5
|
-
PopoverGroup,
|
|
6
|
-
PopoverPanel,
|
|
7
|
-
} from '@headlessui/vue'
|
|
8
|
-
|
|
9
2
|
const user = useState('user')
|
|
10
3
|
|
|
11
4
|
const links = [
|
|
@@ -14,25 +7,25 @@ const links = [
|
|
|
14
7
|
description:
|
|
15
8
|
'Get a better understanding of where your traffic is coming from.',
|
|
16
9
|
href: '#',
|
|
17
|
-
icon: 'heroicons-outline
|
|
10
|
+
icon: 'heroicons-outline:inbox',
|
|
18
11
|
},
|
|
19
12
|
{
|
|
20
13
|
name: 'Messaging',
|
|
21
14
|
description: 'Speak directly to your customers in a more meaningful way.',
|
|
22
15
|
href: '#',
|
|
23
|
-
icon: 'heroicons-outline
|
|
16
|
+
icon: 'heroicons-outline:annotation',
|
|
24
17
|
},
|
|
25
18
|
{
|
|
26
19
|
name: 'Live Chat',
|
|
27
20
|
description: 'Your customers\' data will be safe and secure.',
|
|
28
21
|
href: '#',
|
|
29
|
-
icon: 'heroicons-outline
|
|
22
|
+
icon: 'heroicons-outline:chat-alt-2',
|
|
30
23
|
},
|
|
31
24
|
{
|
|
32
25
|
name: 'Knowledge Base',
|
|
33
26
|
description: 'Connect with third-party tools that you\'re already using.',
|
|
34
27
|
href: '#',
|
|
35
|
-
icon: 'heroicons-outline
|
|
28
|
+
icon: 'heroicons-outline:question-mark-circle',
|
|
36
29
|
},
|
|
37
30
|
]
|
|
38
31
|
</script>
|
|
@@ -40,8 +33,7 @@ const links = [
|
|
|
40
33
|
<template>
|
|
41
34
|
<header class="bg-base-100/95">
|
|
42
35
|
<Flex
|
|
43
|
-
items-center justify-between
|
|
44
|
-
class="px-4 py-6 pb-2 mx-auto max-w-7xl sm:px-6 md:justify-start md:space-x-10 lg:px-8"
|
|
36
|
+
class="px-4 py-6 pb-2 mx-auto max-w-7xl sm:px-6 md:justify-start md:space-x-10 lg:px-8 items-center justify-between"
|
|
45
37
|
>
|
|
46
38
|
<Flex grow>
|
|
47
39
|
<NuxtLink to="/">
|
|
@@ -49,16 +41,18 @@ const links = [
|
|
|
49
41
|
</NuxtLink>
|
|
50
42
|
</Flex>
|
|
51
43
|
|
|
52
|
-
<Flex is="nav"
|
|
44
|
+
<Flex is="nav" row class="hidden gap-10 md:flex items-center">
|
|
53
45
|
<!-- <a href="#" class="text-base font-medium text-base-content ">
|
|
54
46
|
Themes
|
|
55
47
|
</a> -->
|
|
56
48
|
|
|
57
|
-
<
|
|
49
|
+
<Search />
|
|
50
|
+
|
|
51
|
+
<NuxtLink to="/docs/install" class="text-base font-medium text-base-content ">
|
|
58
52
|
Install
|
|
59
53
|
</NuxtLink>
|
|
60
54
|
|
|
61
|
-
<NuxtLink to="
|
|
55
|
+
<NuxtLink to="/docs/button" class="text-base font-medium text-base-content ">
|
|
62
56
|
Components
|
|
63
57
|
</NuxtLink>
|
|
64
58
|
|