@mekari/pixel3-theme 0.0.11 → 0.1.0-dev.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/dist/index.js +586 -93
- package/dist/index.mjs +592 -99
- package/dist/recipes/accordion.d.mts +2 -2
- package/dist/recipes/accordion.d.ts +2 -2
- package/dist/recipes/autocomplete.d.mts +5 -0
- package/dist/recipes/autocomplete.d.ts +5 -0
- package/dist/recipes/color-picker.d.mts +5 -0
- package/dist/recipes/color-picker.d.ts +5 -0
- package/dist/recipes/date-picker.d.mts +2 -1
- package/dist/recipes/date-picker.d.ts +2 -1
- package/dist/recipes/index.d.mts +11 -2
- package/dist/recipes/index.d.ts +11 -2
- package/dist/recipes/slider.d.mts +5 -0
- package/dist/recipes/slider.d.ts +5 -0
- package/dist/recipes/tabs.d.mts +2 -2
- package/dist/recipes/tabs.d.ts +2 -2
- package/dist/recipes/timeline.d.mts +9 -0
- package/dist/recipes/timeline.d.ts +9 -0
- package/package.json +1 -1
- package/src/recipes/accordion.ts +40 -43
- package/src/recipes/autocomplete.ts +47 -0
- package/src/recipes/color-picker.ts +126 -0
- package/src/recipes/date-picker.ts +22 -0
- package/src/recipes/index.ts +25 -6
- package/src/recipes/slider.ts +81 -0
- package/src/recipes/tabs.ts +30 -13
- package/src/recipes/timeline.ts +211 -0
|
@@ -2,6 +2,7 @@ import * as _pandacss_dev from '@pandacss/dev';
|
|
|
2
2
|
|
|
3
3
|
declare const datePickerSlotRecipe: _pandacss_dev.SlotRecipeConfig;
|
|
4
4
|
declare const calendarPanelRangeRecipe: _pandacss_dev.RecipeConfig<_pandacss_dev.RecipeVariantRecord>;
|
|
5
|
+
declare const timePanelSlotRecipe: _pandacss_dev.SlotRecipeConfig;
|
|
5
6
|
declare const tableDateSlotRecipe: _pandacss_dev.SlotRecipeConfig;
|
|
6
7
|
declare const tableMonthSlotRecipe: _pandacss_dev.SlotRecipeConfig;
|
|
7
8
|
declare const tableYearSlotRecipe: _pandacss_dev.SlotRecipeConfig;
|
|
@@ -12,4 +13,4 @@ declare const monthItemRecipe: _pandacss_dev.RecipeConfig<_pandacss_dev.RecipeVa
|
|
|
12
13
|
declare const yearItemRecipe: _pandacss_dev.RecipeConfig<_pandacss_dev.RecipeVariantRecord>;
|
|
13
14
|
declare const timeItemRecipe: _pandacss_dev.RecipeConfig<_pandacss_dev.RecipeVariantRecord>;
|
|
14
15
|
|
|
15
|
-
export { calendarPanelRangeRecipe, dateItemRecipe, datePickerSlotRecipe, dayItemRecipe, monthItemRecipe, pinbarSlotRecipe, tableDateSlotRecipe, tableMonthSlotRecipe, tableYearSlotRecipe, timeItemRecipe, yearItemRecipe };
|
|
16
|
+
export { calendarPanelRangeRecipe, dateItemRecipe, datePickerSlotRecipe, dayItemRecipe, monthItemRecipe, pinbarSlotRecipe, tableDateSlotRecipe, tableMonthSlotRecipe, tableYearSlotRecipe, timeItemRecipe, timePanelSlotRecipe, yearItemRecipe };
|
|
@@ -2,6 +2,7 @@ import * as _pandacss_dev from '@pandacss/dev';
|
|
|
2
2
|
|
|
3
3
|
declare const datePickerSlotRecipe: _pandacss_dev.SlotRecipeConfig;
|
|
4
4
|
declare const calendarPanelRangeRecipe: _pandacss_dev.RecipeConfig<_pandacss_dev.RecipeVariantRecord>;
|
|
5
|
+
declare const timePanelSlotRecipe: _pandacss_dev.SlotRecipeConfig;
|
|
5
6
|
declare const tableDateSlotRecipe: _pandacss_dev.SlotRecipeConfig;
|
|
6
7
|
declare const tableMonthSlotRecipe: _pandacss_dev.SlotRecipeConfig;
|
|
7
8
|
declare const tableYearSlotRecipe: _pandacss_dev.SlotRecipeConfig;
|
|
@@ -12,4 +13,4 @@ declare const monthItemRecipe: _pandacss_dev.RecipeConfig<_pandacss_dev.RecipeVa
|
|
|
12
13
|
declare const yearItemRecipe: _pandacss_dev.RecipeConfig<_pandacss_dev.RecipeVariantRecord>;
|
|
13
14
|
declare const timeItemRecipe: _pandacss_dev.RecipeConfig<_pandacss_dev.RecipeVariantRecord>;
|
|
14
15
|
|
|
15
|
-
export { calendarPanelRangeRecipe, dateItemRecipe, datePickerSlotRecipe, dayItemRecipe, monthItemRecipe, pinbarSlotRecipe, tableDateSlotRecipe, tableMonthSlotRecipe, tableYearSlotRecipe, timeItemRecipe, yearItemRecipe };
|
|
16
|
+
export { calendarPanelRangeRecipe, dateItemRecipe, datePickerSlotRecipe, dayItemRecipe, monthItemRecipe, pinbarSlotRecipe, tableDateSlotRecipe, tableMonthSlotRecipe, tableYearSlotRecipe, timeItemRecipe, timePanelSlotRecipe, yearItemRecipe };
|
package/dist/recipes/index.d.mts
CHANGED
|
@@ -12,7 +12,6 @@ declare const recipes: {
|
|
|
12
12
|
badgeRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
|
|
13
13
|
textareaRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
|
|
14
14
|
tooltipRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
|
|
15
|
-
tabListRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
|
|
16
15
|
tabRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
|
|
17
16
|
selectedBorderRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
|
|
18
17
|
tableRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
|
|
@@ -31,7 +30,7 @@ declare const recipes: {
|
|
|
31
30
|
timeItemRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
|
|
32
31
|
};
|
|
33
32
|
declare const slotRecipes: {
|
|
34
|
-
|
|
33
|
+
accordionSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
35
34
|
checkboxSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
36
35
|
radioSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
37
36
|
sharedSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
@@ -57,12 +56,22 @@ declare const slotRecipes: {
|
|
|
57
56
|
broadcastSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
58
57
|
richTextEditorSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
59
58
|
datePickerSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
59
|
+
timePanelSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
60
60
|
tableDateSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
61
61
|
tableMonthSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
62
62
|
tableYearSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
63
63
|
pinbarSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
64
64
|
carouselSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
65
65
|
chartSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
66
|
+
autocompleteSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
67
|
+
timelineSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
68
|
+
timelineDocumentSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
69
|
+
timelineLogSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
70
|
+
timelineSeparatorSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
71
|
+
timelineAccordionSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
72
|
+
tabListSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
73
|
+
colorPickerSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
74
|
+
sliderSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
66
75
|
};
|
|
67
76
|
|
|
68
77
|
export { recipes, slotRecipes };
|
package/dist/recipes/index.d.ts
CHANGED
|
@@ -12,7 +12,6 @@ declare const recipes: {
|
|
|
12
12
|
badgeRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
|
|
13
13
|
textareaRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
|
|
14
14
|
tooltipRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
|
|
15
|
-
tabListRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
|
|
16
15
|
tabRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
|
|
17
16
|
selectedBorderRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
|
|
18
17
|
tableRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
|
|
@@ -31,7 +30,7 @@ declare const recipes: {
|
|
|
31
30
|
timeItemRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
|
|
32
31
|
};
|
|
33
32
|
declare const slotRecipes: {
|
|
34
|
-
|
|
33
|
+
accordionSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
35
34
|
checkboxSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
36
35
|
radioSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
37
36
|
sharedSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
@@ -57,12 +56,22 @@ declare const slotRecipes: {
|
|
|
57
56
|
broadcastSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
58
57
|
richTextEditorSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
59
58
|
datePickerSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
59
|
+
timePanelSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
60
60
|
tableDateSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
61
61
|
tableMonthSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
62
62
|
tableYearSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
63
63
|
pinbarSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
64
64
|
carouselSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
65
65
|
chartSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
66
|
+
autocompleteSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
67
|
+
timelineSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
68
|
+
timelineDocumentSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
69
|
+
timelineLogSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
70
|
+
timelineSeparatorSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
71
|
+
timelineAccordionSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
72
|
+
tabListSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
73
|
+
colorPickerSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
74
|
+
sliderSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
66
75
|
};
|
|
67
76
|
|
|
68
77
|
export { recipes, slotRecipes };
|
package/dist/recipes/tabs.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as _pandacss_dev from '@pandacss/dev';
|
|
2
2
|
|
|
3
|
-
declare const
|
|
3
|
+
declare const tabListSlotRecipe: _pandacss_dev.SlotRecipeConfig;
|
|
4
4
|
declare const tabRecipe: _pandacss_dev.RecipeConfig<_pandacss_dev.RecipeVariantRecord>;
|
|
5
5
|
declare const selectedBorderRecipe: _pandacss_dev.RecipeConfig<_pandacss_dev.RecipeVariantRecord>;
|
|
6
6
|
|
|
7
|
-
export { selectedBorderRecipe,
|
|
7
|
+
export { selectedBorderRecipe, tabListSlotRecipe, tabRecipe };
|
package/dist/recipes/tabs.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as _pandacss_dev from '@pandacss/dev';
|
|
2
2
|
|
|
3
|
-
declare const
|
|
3
|
+
declare const tabListSlotRecipe: _pandacss_dev.SlotRecipeConfig;
|
|
4
4
|
declare const tabRecipe: _pandacss_dev.RecipeConfig<_pandacss_dev.RecipeVariantRecord>;
|
|
5
5
|
declare const selectedBorderRecipe: _pandacss_dev.RecipeConfig<_pandacss_dev.RecipeVariantRecord>;
|
|
6
6
|
|
|
7
|
-
export { selectedBorderRecipe,
|
|
7
|
+
export { selectedBorderRecipe, tabListSlotRecipe, tabRecipe };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as _pandacss_dev from '@pandacss/dev';
|
|
2
|
+
|
|
3
|
+
declare const timelineSlotRecipe: _pandacss_dev.SlotRecipeConfig;
|
|
4
|
+
declare const timelineDocumentSlotRecipe: _pandacss_dev.SlotRecipeConfig;
|
|
5
|
+
declare const timelineLogSlotRecipe: _pandacss_dev.SlotRecipeConfig;
|
|
6
|
+
declare const timelineSeparatorSlotRecipe: _pandacss_dev.SlotRecipeConfig;
|
|
7
|
+
declare const timelineAccordionSlotRecipe: _pandacss_dev.SlotRecipeConfig;
|
|
8
|
+
|
|
9
|
+
export { timelineAccordionSlotRecipe, timelineDocumentSlotRecipe, timelineLogSlotRecipe, timelineSeparatorSlotRecipe, timelineSlotRecipe };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as _pandacss_dev from '@pandacss/dev';
|
|
2
|
+
|
|
3
|
+
declare const timelineSlotRecipe: _pandacss_dev.SlotRecipeConfig;
|
|
4
|
+
declare const timelineDocumentSlotRecipe: _pandacss_dev.SlotRecipeConfig;
|
|
5
|
+
declare const timelineLogSlotRecipe: _pandacss_dev.SlotRecipeConfig;
|
|
6
|
+
declare const timelineSeparatorSlotRecipe: _pandacss_dev.SlotRecipeConfig;
|
|
7
|
+
declare const timelineAccordionSlotRecipe: _pandacss_dev.SlotRecipeConfig;
|
|
8
|
+
|
|
9
|
+
export { timelineAccordionSlotRecipe, timelineDocumentSlotRecipe, timelineLogSlotRecipe, timelineSeparatorSlotRecipe, timelineSlotRecipe };
|
package/package.json
CHANGED
package/src/recipes/accordion.ts
CHANGED
|
@@ -1,57 +1,54 @@
|
|
|
1
|
-
// import { accordionAnatomy } from "@ark-ui/anatomy";
|
|
2
1
|
import { defineSlotRecipe } from '@pandacss/dev'
|
|
3
2
|
|
|
4
|
-
export const
|
|
3
|
+
export const accordionSlotRecipe = defineSlotRecipe({
|
|
5
4
|
className: 'accordion',
|
|
6
|
-
slots: ['
|
|
5
|
+
slots: ['header', 'item', 'panel'],
|
|
6
|
+
jsx: [
|
|
7
|
+
'MpAccordionHeader',
|
|
8
|
+
'MpAccordionItem',
|
|
9
|
+
'MpAccordionPanel',
|
|
10
|
+
'mp-accordion-header',
|
|
11
|
+
'mp-accordion-item',
|
|
12
|
+
'mp-accordion-panel'
|
|
13
|
+
],
|
|
7
14
|
base: {
|
|
8
|
-
|
|
9
|
-
divideY: '1px',
|
|
10
|
-
width: 'full'
|
|
11
|
-
},
|
|
12
|
-
trigger: {
|
|
13
|
-
alignItems: 'center',
|
|
14
|
-
color: 'fg.default',
|
|
15
|
-
cursor: 'pointer',
|
|
15
|
+
header: {
|
|
16
16
|
display: 'flex',
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
17
|
+
alignItems: 'center',
|
|
18
|
+
width: '100%',
|
|
19
|
+
outline: 0,
|
|
20
|
+
gap: 4,
|
|
21
|
+
transition: 'all 0.2s',
|
|
22
|
+
py: 3,
|
|
23
|
+
fontWeight: 'semiBold',
|
|
24
|
+
fontSize: 'md',
|
|
25
|
+
color: 'dark',
|
|
26
|
+
_disabled: { opacity: '0.4', cursor: 'not-allowed' }
|
|
22
27
|
},
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
_open: {
|
|
31
|
-
gridTemplateRows: '1fr'
|
|
32
|
-
},
|
|
33
|
-
'& > div': {
|
|
34
|
-
overflow: 'hidden'
|
|
35
|
-
}
|
|
28
|
+
item: {
|
|
29
|
+
borderBottomWidth: '1px',
|
|
30
|
+
borderColor: 'gray.100',
|
|
31
|
+
_last: { borderBottomWidth: '1px', borderColor: 'gray.100' }
|
|
32
|
+
},
|
|
33
|
+
panel: {
|
|
34
|
+
py: 3
|
|
36
35
|
}
|
|
37
36
|
},
|
|
38
|
-
defaultVariants: {
|
|
39
|
-
size: 'md'
|
|
40
|
-
},
|
|
41
37
|
variants: {
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
pb: '0'
|
|
52
|
-
}
|
|
38
|
+
isClickable: {
|
|
39
|
+
true: {
|
|
40
|
+
header: {
|
|
41
|
+
cursor: 'pointer'
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
false: {
|
|
45
|
+
header: {
|
|
46
|
+
cursor: 'default'
|
|
53
47
|
}
|
|
54
48
|
}
|
|
55
49
|
}
|
|
50
|
+
},
|
|
51
|
+
defaultVariants: {
|
|
52
|
+
isClickable: true
|
|
56
53
|
}
|
|
57
54
|
})
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { defineSlotRecipe } from '@pandacss/dev'
|
|
2
|
+
|
|
3
|
+
const autocompleteSlotRecipe = defineSlotRecipe({
|
|
4
|
+
className: 'autocomplete',
|
|
5
|
+
jsx: ['MpAutocomplete', 'mp-autocomplete'],
|
|
6
|
+
slots: ['groupText', 'popoverContent', 'buttonAction', 'emptyText', 'contentLoading'],
|
|
7
|
+
base: {
|
|
8
|
+
groupText: {
|
|
9
|
+
px: 3, py: 2
|
|
10
|
+
},
|
|
11
|
+
popoverContent: {
|
|
12
|
+
maxHeight: '300px',
|
|
13
|
+
overflowY: 'auto',
|
|
14
|
+
position: 'relative'
|
|
15
|
+
},
|
|
16
|
+
buttonAction: {
|
|
17
|
+
cursor: 'pointer',
|
|
18
|
+
width: 'full',
|
|
19
|
+
textAlign: 'center',
|
|
20
|
+
roundedTop: '0',
|
|
21
|
+
borderTopWidth: '1px',
|
|
22
|
+
borderColor: 'blue.50',
|
|
23
|
+
color: 'blue.400',
|
|
24
|
+
position: 'sticky',
|
|
25
|
+
bottom: '0px',
|
|
26
|
+
bg: 'white',
|
|
27
|
+
fontSize: 'md',
|
|
28
|
+
zIndex: '999',
|
|
29
|
+
py: 2,
|
|
30
|
+
height: '9.5',
|
|
31
|
+
_hover: { color: 'blue.500' }
|
|
32
|
+
},
|
|
33
|
+
emptyText: {
|
|
34
|
+
px: 3,
|
|
35
|
+
py: 2
|
|
36
|
+
},
|
|
37
|
+
contentLoading: {
|
|
38
|
+
px: 3,
|
|
39
|
+
py: 2,
|
|
40
|
+
display: 'flex',
|
|
41
|
+
alignItems: 'center',
|
|
42
|
+
gap: 3
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
})
|
|
46
|
+
|
|
47
|
+
export { autocompleteSlotRecipe }
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
import { defineSlotRecipe } from '@pandacss/dev'
|
|
2
|
+
|
|
3
|
+
const colorPickerSlotRecipe = defineSlotRecipe({
|
|
4
|
+
className: 'color-picker',
|
|
5
|
+
jsx: ['MpColorPicker', 'mp-color-picker'],
|
|
6
|
+
slots: [
|
|
7
|
+
'root',
|
|
8
|
+
'popoverTrigger',
|
|
9
|
+
'boxColor',
|
|
10
|
+
'inputTrigger',
|
|
11
|
+
'iconDropdown',
|
|
12
|
+
'popoverContent',
|
|
13
|
+
'wrapperAdvance',
|
|
14
|
+
'wrapperBasic',
|
|
15
|
+
'wrapperSaturation',
|
|
16
|
+
'wrapperHue',
|
|
17
|
+
'wrapperInput',
|
|
18
|
+
'boxPreset',
|
|
19
|
+
'wrapperPreset',
|
|
20
|
+
'wrapperBasicPreset'
|
|
21
|
+
],
|
|
22
|
+
base: {
|
|
23
|
+
root: {
|
|
24
|
+
width: '280px',
|
|
25
|
+
position: 'relative',
|
|
26
|
+
display: 'flex',
|
|
27
|
+
flexDirection: 'column',
|
|
28
|
+
gap: '2'
|
|
29
|
+
},
|
|
30
|
+
popoverTrigger: {
|
|
31
|
+
display: 'flex',
|
|
32
|
+
alignItems: 'center',
|
|
33
|
+
cursor: 'pointer',
|
|
34
|
+
position: 'relative',
|
|
35
|
+
height: '38px',
|
|
36
|
+
pl: '2',
|
|
37
|
+
pr: '3',
|
|
38
|
+
borderRadius: 'md',
|
|
39
|
+
border: '1px solid',
|
|
40
|
+
_focus: {
|
|
41
|
+
boxShadow: 'outline !important',
|
|
42
|
+
borderColor: 'blue.400 !important',
|
|
43
|
+
outline: 'none'
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
boxColor: {
|
|
47
|
+
flex: 'none',
|
|
48
|
+
width: '6',
|
|
49
|
+
height: '6',
|
|
50
|
+
borderWidth: '1px',
|
|
51
|
+
borderColor: 'gray.50',
|
|
52
|
+
borderRadius: 'sm',
|
|
53
|
+
mr: '2'
|
|
54
|
+
},
|
|
55
|
+
inputTrigger: {
|
|
56
|
+
margin: '-12px',
|
|
57
|
+
textTransform: 'uppercase'
|
|
58
|
+
},
|
|
59
|
+
iconDropdown: {
|
|
60
|
+
position: 'absolute',
|
|
61
|
+
right: '3',
|
|
62
|
+
ml: '2',
|
|
63
|
+
_focus: {
|
|
64
|
+
outline: 'none'
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
popoverContent: {
|
|
68
|
+
bg: 'white',
|
|
69
|
+
rounded: 'md',
|
|
70
|
+
shadow: 'lg',
|
|
71
|
+
borderWidth: '1px',
|
|
72
|
+
borderColor: 'gray.400'
|
|
73
|
+
},
|
|
74
|
+
wrapperAdvance: {
|
|
75
|
+
display: 'flex',
|
|
76
|
+
flexDirection: 'column',
|
|
77
|
+
position: 'relative',
|
|
78
|
+
width: '280px',
|
|
79
|
+
padding: '3',
|
|
80
|
+
gap: '3'
|
|
81
|
+
},
|
|
82
|
+
wrapperBasic: {
|
|
83
|
+
display: 'flex',
|
|
84
|
+
flexDirection: 'column',
|
|
85
|
+
position: 'relative',
|
|
86
|
+
width: '188px',
|
|
87
|
+
padding: '3',
|
|
88
|
+
gap: '3'
|
|
89
|
+
},
|
|
90
|
+
wrapperSaturation: {
|
|
91
|
+
position: 'relative',
|
|
92
|
+
width: '100%',
|
|
93
|
+
height: '144px',
|
|
94
|
+
overflow: 'hidden'
|
|
95
|
+
},
|
|
96
|
+
wrapperHue: {
|
|
97
|
+
position: 'relative',
|
|
98
|
+
height: '28px'
|
|
99
|
+
},
|
|
100
|
+
wrapperInput: {
|
|
101
|
+
position: 'relative',
|
|
102
|
+
display: 'flex',
|
|
103
|
+
gap: '2'
|
|
104
|
+
},
|
|
105
|
+
boxPreset: {
|
|
106
|
+
display: 'flex',
|
|
107
|
+
flexDirection: 'column',
|
|
108
|
+
gap: '2',
|
|
109
|
+
position: 'relative'
|
|
110
|
+
},
|
|
111
|
+
wrapperPreset: {
|
|
112
|
+
position: 'relative',
|
|
113
|
+
display: 'flex',
|
|
114
|
+
flexWrap: 'wrap',
|
|
115
|
+
gap: '5px'
|
|
116
|
+
},
|
|
117
|
+
wrapperBasicPreset: {
|
|
118
|
+
position: 'relative',
|
|
119
|
+
display: 'flex',
|
|
120
|
+
flexWrap: 'wrap',
|
|
121
|
+
gap: '4px'
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
})
|
|
125
|
+
|
|
126
|
+
export { colorPickerSlotRecipe }
|
|
@@ -36,6 +36,27 @@ const calendarPanelRangeRecipe = defineRecipe({
|
|
|
36
36
|
}
|
|
37
37
|
})
|
|
38
38
|
|
|
39
|
+
const timePanelSlotRecipe = defineSlotRecipe({
|
|
40
|
+
className: 'timePanel',
|
|
41
|
+
slots: ['root', 'column'],
|
|
42
|
+
jsx: ['TimePanel', 'time-panel'],
|
|
43
|
+
base: {
|
|
44
|
+
root: {
|
|
45
|
+
display: 'flex',
|
|
46
|
+
flexDirection: 'row',
|
|
47
|
+
gap: '0.5'
|
|
48
|
+
},
|
|
49
|
+
column: {
|
|
50
|
+
display: 'flex',
|
|
51
|
+
flexDirection: 'column',
|
|
52
|
+
height: '224px',
|
|
53
|
+
overflowY: 'scroll',
|
|
54
|
+
overflowX: 'hidden',
|
|
55
|
+
py: '10px',
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
})
|
|
59
|
+
|
|
39
60
|
const tableDateSlotRecipe = defineSlotRecipe({
|
|
40
61
|
className: 'tableDate',
|
|
41
62
|
jsx: ['TableDate', 'table-date'],
|
|
@@ -395,6 +416,7 @@ const timeItemRecipe = defineRecipe({
|
|
|
395
416
|
export {
|
|
396
417
|
datePickerSlotRecipe,
|
|
397
418
|
calendarPanelRangeRecipe,
|
|
419
|
+
timePanelSlotRecipe,
|
|
398
420
|
tableDateSlotRecipe,
|
|
399
421
|
tableMonthSlotRecipe,
|
|
400
422
|
tableYearSlotRecipe,
|
package/src/recipes/index.ts
CHANGED
|
@@ -6,12 +6,12 @@ import { selectSlotRecipe } from './select'
|
|
|
6
6
|
import { textRecipe } from './text'
|
|
7
7
|
import { iconRecipe } from './icon'
|
|
8
8
|
import { spinnerRecipe } from './spinner'
|
|
9
|
-
import {
|
|
9
|
+
import { accordionSlotRecipe } from './accordion'
|
|
10
10
|
import { popoverContentRecipe, popoverListRecipe, popoverListItemRecipe } from './popover'
|
|
11
11
|
import { badgeRecipe } from './badge'
|
|
12
12
|
import { textareaRecipe } from './textarea'
|
|
13
13
|
import { tooltipRecipe } from './tooltip'
|
|
14
|
-
import {
|
|
14
|
+
import { tabListSlotRecipe, tabRecipe, selectedBorderRecipe } from './tabs'
|
|
15
15
|
import { checkboxSlotRecipe } from './checkbox'
|
|
16
16
|
import { radioSlotRecipe } from './radio'
|
|
17
17
|
import { sharedSlotRecipe } from './shared'
|
|
@@ -31,6 +31,7 @@ import { richTextEditorSlotRecipe, RTEStyleProviderRecipe } from './rich-text-ed
|
|
|
31
31
|
import {
|
|
32
32
|
datePickerSlotRecipe,
|
|
33
33
|
calendarPanelRangeRecipe,
|
|
34
|
+
timePanelSlotRecipe,
|
|
34
35
|
tableDateSlotRecipe,
|
|
35
36
|
tableMonthSlotRecipe,
|
|
36
37
|
tableYearSlotRecipe,
|
|
@@ -43,7 +44,14 @@ import {
|
|
|
43
44
|
} from './date-picker'
|
|
44
45
|
import { carouselSlotRecipe } from './carousel'
|
|
45
46
|
import { chartSlotRecipe } from './chart'
|
|
46
|
-
|
|
47
|
+
import { autocompleteSlotRecipe } from './autocomplete'
|
|
48
|
+
import {
|
|
49
|
+
timelineSlotRecipe,
|
|
50
|
+
timelineDocumentSlotRecipe,
|
|
51
|
+
timelineLogSlotRecipe,
|
|
52
|
+
timelineSeparatorSlotRecipe,
|
|
53
|
+
timelineAccordionSlotRecipe
|
|
54
|
+
} from './timeline'
|
|
47
55
|
import {
|
|
48
56
|
bannerSlotRecipe,
|
|
49
57
|
bannerTitleRecipe,
|
|
@@ -52,6 +60,8 @@ import {
|
|
|
52
60
|
bannerLinkRecipe,
|
|
53
61
|
bannerCloseButtonRecipe
|
|
54
62
|
} from './banner'
|
|
63
|
+
import { colorPickerSlotRecipe } from './color-picker'
|
|
64
|
+
import { sliderSlotRecipe } from './slider'
|
|
55
65
|
|
|
56
66
|
export const recipes = {
|
|
57
67
|
buttonRecipe,
|
|
@@ -65,7 +75,6 @@ export const recipes = {
|
|
|
65
75
|
badgeRecipe,
|
|
66
76
|
textareaRecipe,
|
|
67
77
|
tooltipRecipe,
|
|
68
|
-
tabListRecipe,
|
|
69
78
|
tabRecipe,
|
|
70
79
|
selectedBorderRecipe,
|
|
71
80
|
tableRecipe,
|
|
@@ -85,7 +94,7 @@ export const recipes = {
|
|
|
85
94
|
}
|
|
86
95
|
|
|
87
96
|
export const slotRecipes = {
|
|
88
|
-
|
|
97
|
+
accordionSlotRecipe,
|
|
89
98
|
checkboxSlotRecipe,
|
|
90
99
|
radioSlotRecipe,
|
|
91
100
|
sharedSlotRecipe,
|
|
@@ -111,10 +120,20 @@ export const slotRecipes = {
|
|
|
111
120
|
broadcastSlotRecipe,
|
|
112
121
|
richTextEditorSlotRecipe,
|
|
113
122
|
datePickerSlotRecipe,
|
|
123
|
+
timePanelSlotRecipe,
|
|
114
124
|
tableDateSlotRecipe,
|
|
115
125
|
tableMonthSlotRecipe,
|
|
116
126
|
tableYearSlotRecipe,
|
|
117
127
|
pinbarSlotRecipe,
|
|
118
128
|
carouselSlotRecipe,
|
|
119
|
-
chartSlotRecipe
|
|
129
|
+
chartSlotRecipe,
|
|
130
|
+
autocompleteSlotRecipe,
|
|
131
|
+
timelineSlotRecipe,
|
|
132
|
+
timelineDocumentSlotRecipe,
|
|
133
|
+
timelineLogSlotRecipe,
|
|
134
|
+
timelineSeparatorSlotRecipe,
|
|
135
|
+
timelineAccordionSlotRecipe,
|
|
136
|
+
tabListSlotRecipe,
|
|
137
|
+
colorPickerSlotRecipe,
|
|
138
|
+
sliderSlotRecipe
|
|
120
139
|
}
|