@mekari/pixel3-theme 0.3.0-dev.3 → 0.3.0-dev.5
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 +213 -87
- package/dist/index.mjs +165 -39
- package/dist/recipes/airene-chat-bubble.d.mts +5 -0
- package/dist/recipes/airene-chat-bubble.d.ts +5 -0
- package/dist/recipes/index.d.mts +1 -0
- package/dist/recipes/index.d.ts +1 -0
- package/dist/tokens/colors.d.mts +3 -0
- package/dist/tokens/colors.d.ts +3 -0
- package/dist/tokens/index.d.mts +3 -0
- package/dist/tokens/index.d.ts +3 -0
- package/dist/tokens-next/colors.d.mts +3 -0
- package/dist/tokens-next/colors.d.ts +3 -0
- package/dist/tokens-next/index.d.mts +3 -0
- package/dist/tokens-next/index.d.ts +3 -0
- package/package.json +1 -1
- package/src/recipes/airene-chat-bubble.ts +72 -0
- package/src/recipes/airene-chat-input.ts +66 -16
- package/src/recipes/index.ts +3 -1
- package/src/recipes/input-tag.ts +4 -21
- package/src/recipes/shared.ts +1 -1
- package/src/recipes/table.ts +34 -2
- package/src/tokens/colors.ts +1 -0
- package/src/tokens/radii.ts +1 -1
- package/src/tokens-next/colors.ts +4 -0
package/src/recipes/input-tag.ts
CHANGED
|
@@ -23,7 +23,6 @@ const inputTagSlotRecipe = defineSlotRecipe({
|
|
|
23
23
|
},
|
|
24
24
|
trigger: {
|
|
25
25
|
overflowY: 'auto',
|
|
26
|
-
overflowX: 'hidden',
|
|
27
26
|
position: 'relative',
|
|
28
27
|
display: 'flex',
|
|
29
28
|
alignItems: 'center',
|
|
@@ -97,29 +96,13 @@ const inputTagSlotRecipe = defineSlotRecipe({
|
|
|
97
96
|
}
|
|
98
97
|
},
|
|
99
98
|
input: {
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
width: 'full',
|
|
104
|
-
textStyle: 'label.md',
|
|
105
|
-
color: 'dark',
|
|
106
|
-
_nextTheme: {
|
|
107
|
-
color: 'text.default'
|
|
108
|
-
},
|
|
109
|
-
|
|
99
|
+
padding: '0 !important',
|
|
100
|
+
margin: '0 !important',
|
|
101
|
+
borderWidth: '0 !important',
|
|
110
102
|
_placeholder: {
|
|
111
103
|
color: 'gray.400',
|
|
112
104
|
_nextTheme: {
|
|
113
|
-
|
|
114
|
-
}
|
|
115
|
-
},
|
|
116
|
-
|
|
117
|
-
_disabled: {
|
|
118
|
-
cursor: 'not-allowed',
|
|
119
|
-
color: 'gray.400',
|
|
120
|
-
|
|
121
|
-
_nextTheme: {
|
|
122
|
-
color: 'text.disabled'
|
|
105
|
+
borderColor: 'text.placeholder'
|
|
123
106
|
}
|
|
124
107
|
}
|
|
125
108
|
},
|
package/src/recipes/shared.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { defineSlotRecipe } from '@pandacss/dev'
|
|
|
2
2
|
|
|
3
3
|
const sharedSlotRecipe = defineSlotRecipe({
|
|
4
4
|
className: 'shared',
|
|
5
|
-
jsx: ['MpCheckbox', 'mp-checkbox', 'MpRadio', 'mp-radio'],
|
|
5
|
+
jsx: ['MpCheckbox', 'mp-checkbox', 'MpRadio', 'mp-radio', 'MpToggle', 'mp-toggle'],
|
|
6
6
|
slots: ['hidden'],
|
|
7
7
|
base: {
|
|
8
8
|
hidden: {
|
package/src/recipes/table.ts
CHANGED
|
@@ -31,11 +31,43 @@ const tableRecipe = defineRecipe({
|
|
|
31
31
|
boxShadow: '0px 2px var(--mp-colors-gray-100)',
|
|
32
32
|
_nextTheme: {
|
|
33
33
|
boxShadow: '0px 2px var(--mp-colors-border-default)'
|
|
34
|
+
},
|
|
35
|
+
},
|
|
36
|
+
'&[data-table-head-narrowed=true]': {
|
|
37
|
+
'& th': {
|
|
38
|
+
paddingY: '2',
|
|
39
|
+
paddingLeft: '2',
|
|
40
|
+
paddingRight: '4',
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
'&[data-table-head-bordered=true]': {
|
|
44
|
+
'& th:nth-last-child(n+2)': {
|
|
45
|
+
borderRightWidth: 'sm',
|
|
46
|
+
borderColor: 'gray.100',
|
|
47
|
+
_nextTheme: {
|
|
48
|
+
borderColor: 'border.default'
|
|
49
|
+
}
|
|
34
50
|
}
|
|
35
51
|
}
|
|
36
52
|
},
|
|
37
53
|
'& > tbody': {
|
|
38
|
-
width: 'full'
|
|
54
|
+
width: 'full',
|
|
55
|
+
'&[data-table-head-narrowed=true]': {
|
|
56
|
+
'& td': {
|
|
57
|
+
paddingY: '2',
|
|
58
|
+
paddingLeft: '2',
|
|
59
|
+
paddingRight: '4',
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
'&[data-table-head-bordered=true]': {
|
|
63
|
+
'& td:nth-last-child(n+2)': {
|
|
64
|
+
borderRightWidth: 'sm',
|
|
65
|
+
borderColor: 'gray.100',
|
|
66
|
+
_nextTheme: {
|
|
67
|
+
borderColor: 'border.default'
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
39
71
|
},
|
|
40
72
|
'& > tr': {
|
|
41
73
|
width: 'full',
|
|
@@ -44,9 +76,9 @@ const tableRecipe = defineRecipe({
|
|
|
44
76
|
},
|
|
45
77
|
'& th, & td': {
|
|
46
78
|
cursor: 'default',
|
|
79
|
+
paddingY: '4',
|
|
47
80
|
paddingLeft: '2',
|
|
48
81
|
paddingRight: '4',
|
|
49
|
-
height: '52px',
|
|
50
82
|
textStyle: 'label.md',
|
|
51
83
|
textAlign: 'left',
|
|
52
84
|
color: 'dark',
|
package/src/tokens/colors.ts
CHANGED
|
@@ -8,6 +8,7 @@ export const colors = defineTokens.colors({
|
|
|
8
8
|
overlay: { value: 'rgba(22, 26, 32, 0.8)' },
|
|
9
9
|
white: { value: '#FFFFFF' },
|
|
10
10
|
vibrantPurple: { value: 'linear-gradient(98deg, #F8F9FB 0%, #B5A2EC 50.01%, #4B61DD 100%)' },
|
|
11
|
+
lightPurple: { value: 'radial-gradient(108.28% 139.29% at 0% 0%, #E9F1FD 0%, #F4F0FF 100%)' },
|
|
11
12
|
whiteAlpha: {
|
|
12
13
|
50: { value: 'rgba(255, 255, 255, 0.04)' },
|
|
13
14
|
100: { value: 'rgba(255, 255, 255, 0.06)' },
|
package/src/tokens/radii.ts
CHANGED
|
@@ -5,6 +5,10 @@ export const colors = defineTokens.colors({
|
|
|
5
5
|
currentcolor: { value: 'currentcolor' },
|
|
6
6
|
white: { value: '#FFFFFF' },
|
|
7
7
|
vibrantPurple: { value: 'linear-gradient(98deg, #F8F9FB 0%, #B5A2EC 50.01%, #4B61DD 100%)' },
|
|
8
|
+
lightPurple: {
|
|
9
|
+
value:
|
|
10
|
+
'radial-gradient(108.28% 139.29% at 0% 0%, {colors.background.brand} 0%, {colors.background.highlight} 100%)'
|
|
11
|
+
},
|
|
8
12
|
dark: {
|
|
9
13
|
'-100': {
|
|
10
14
|
value: '#101214'
|