@mekari/pixel3-theme 0.7.2 → 1.0.0-next.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/global-css.d.mts +2 -2
- package/dist/global-css.d.ts +2 -2
- package/dist/index.js +78 -24
- package/dist/index.mjs +68 -24
- package/dist/keyframes.d.mts +2 -2
- package/dist/keyframes.d.ts +2 -2
- package/dist/recipes/accordion.d.mts +33 -2
- package/dist/recipes/accordion.d.ts +33 -2
- package/dist/recipes/airene-button.d.mts +2 -2
- package/dist/recipes/airene-button.d.ts +2 -2
- package/dist/recipes/airene-chat-bubble.d.mts +2 -2
- package/dist/recipes/airene-chat-bubble.d.ts +2 -2
- package/dist/recipes/airene-chat-input.d.mts +2 -2
- package/dist/recipes/airene-chat-input.d.ts +2 -2
- package/dist/recipes/autocomplete.d.mts +2 -2
- package/dist/recipes/autocomplete.d.ts +2 -2
- package/dist/recipes/avatar.d.mts +275 -3
- package/dist/recipes/avatar.d.ts +275 -3
- package/dist/recipes/badge.d.mts +3 -2
- package/dist/recipes/badge.d.ts +3 -2
- package/dist/recipes/banner.d.mts +42 -7
- package/dist/recipes/banner.d.ts +42 -7
- package/dist/recipes/broadcast.d.mts +109 -2
- package/dist/recipes/broadcast.d.ts +109 -2
- package/dist/recipes/button.d.mts +335 -3
- package/dist/recipes/button.d.ts +335 -3
- package/dist/recipes/carousel.d.mts +2 -2
- package/dist/recipes/carousel.d.ts +2 -2
- package/dist/recipes/chart.d.mts +2 -2
- package/dist/recipes/chart.d.ts +2 -2
- package/dist/recipes/checkbox.d.mts +2 -2
- package/dist/recipes/checkbox.d.ts +2 -2
- package/dist/recipes/color-picker.d.mts +2 -2
- package/dist/recipes/color-picker.d.ts +2 -2
- package/dist/recipes/date-picker.d.mts +281 -13
- package/dist/recipes/date-picker.d.ts +281 -13
- package/dist/recipes/divider.d.mts +2 -2
- package/dist/recipes/divider.d.ts +2 -2
- package/dist/recipes/dropzone.d.mts +2 -2
- package/dist/recipes/dropzone.d.ts +2 -2
- package/dist/recipes/form-control.d.mts +2 -2
- package/dist/recipes/form-control.d.ts +2 -2
- package/dist/recipes/icon.d.mts +13 -2
- package/dist/recipes/icon.d.ts +13 -2
- package/dist/recipes/index.d.mts +1595 -66
- package/dist/recipes/index.d.ts +1595 -66
- package/dist/recipes/input-tag.d.mts +2 -2
- package/dist/recipes/input-tag.d.ts +2 -2
- package/dist/recipes/input.d.mts +162 -4
- package/dist/recipes/input.d.ts +162 -4
- package/dist/recipes/modal.d.mts +29 -2
- package/dist/recipes/modal.d.ts +29 -2
- package/dist/recipes/popover.d.mts +30 -4
- package/dist/recipes/popover.d.ts +30 -4
- package/dist/recipes/progress.d.mts +31 -2
- package/dist/recipes/progress.d.ts +31 -2
- package/dist/recipes/radio.d.mts +2 -2
- package/dist/recipes/radio.d.ts +2 -2
- package/dist/recipes/rating.d.mts +2 -2
- package/dist/recipes/rating.d.ts +2 -2
- package/dist/recipes/rich-text-editor.d.mts +3 -3
- package/dist/recipes/rich-text-editor.d.ts +3 -3
- package/dist/recipes/scrollbar.d.mts +2 -2
- package/dist/recipes/scrollbar.d.ts +2 -2
- package/dist/recipes/segmented-control.d.mts +2 -2
- package/dist/recipes/segmented-control.d.ts +2 -2
- package/dist/recipes/select.d.mts +21 -2
- package/dist/recipes/select.d.ts +21 -2
- package/dist/recipes/shared.d.mts +2 -2
- package/dist/recipes/shared.d.ts +2 -2
- package/dist/recipes/skeleton.d.mts +20 -2
- package/dist/recipes/skeleton.d.ts +20 -2
- package/dist/recipes/slider.d.mts +2 -2
- package/dist/recipes/slider.d.ts +2 -2
- package/dist/recipes/spinner.d.mts +13 -2
- package/dist/recipes/spinner.d.ts +13 -2
- package/dist/recipes/table.d.mts +3 -3
- package/dist/recipes/table.d.ts +3 -3
- package/dist/recipes/tabs.d.mts +35 -4
- package/dist/recipes/tabs.d.ts +35 -4
- package/dist/recipes/tag.d.mts +45 -2
- package/dist/recipes/tag.d.ts +45 -2
- package/dist/recipes/text.d.mts +37 -2
- package/dist/recipes/text.d.ts +37 -2
- package/dist/recipes/textarea.d.mts +2 -2
- package/dist/recipes/textarea.d.ts +2 -2
- package/dist/recipes/textlink.d.mts +59 -2
- package/dist/recipes/textlink.d.ts +59 -2
- package/dist/recipes/timeline.d.mts +19 -6
- package/dist/recipes/timeline.d.ts +19 -6
- package/dist/recipes/toast.d.mts +8 -2
- package/dist/recipes/toast.d.ts +8 -2
- package/dist/recipes/toggle.d.mts +2 -2
- package/dist/recipes/toggle.d.ts +2 -2
- package/dist/recipes/tooltip.d.mts +2 -2
- package/dist/recipes/tooltip.d.ts +2 -2
- package/dist/recipes/tour.d.mts +2 -2
- package/dist/recipes/tour.d.ts +2 -2
- package/dist/recipes/upload.d.mts +3 -3
- package/dist/recipes/upload.d.ts +3 -3
- package/dist/text-styles.d.mts +2 -2
- package/dist/text-styles.d.ts +2 -2
- package/package.json +4 -3
- package/src/index.ts +45 -1
- package/src/recipes/airene-button.ts +2 -3
- package/src/recipes/badge.ts +1 -1
- package/src/recipes/select.ts +2 -4
- package/src/recipes/tag.ts +17 -14
- package/src/recipes/timeline.ts +2 -2
package/dist/global-css.d.mts
CHANGED
package/dist/global-css.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __create = Object.create;
|
|
2
3
|
var __defProp = Object.defineProperty;
|
|
3
4
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
5
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
5
7
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
8
|
var __export = (target, all) => {
|
|
7
9
|
for (var name in all)
|
|
@@ -15,6 +17,14 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
15
17
|
}
|
|
16
18
|
return to;
|
|
17
19
|
};
|
|
20
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
+
mod
|
|
27
|
+
));
|
|
18
28
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
29
|
|
|
20
30
|
// index.ts
|
|
@@ -26,6 +36,7 @@ module.exports = __toCommonJS(theme_exports);
|
|
|
26
36
|
|
|
27
37
|
// src/index.ts
|
|
28
38
|
var import_dev70 = require("@pandacss/dev");
|
|
39
|
+
var import_preset_base = __toESM(require("@pandacss/preset-base"));
|
|
29
40
|
|
|
30
41
|
// src/breakpoints.ts
|
|
31
42
|
var breakpoints = {
|
|
@@ -212,19 +223,22 @@ var tagSlotRecipe = (0, import_dev3.defineSlotRecipe)({
|
|
|
212
223
|
}
|
|
213
224
|
}
|
|
214
225
|
},
|
|
226
|
+
// The close slot is an MpButton (ghost), whose own recipe also sets background, color and radius.
|
|
227
|
+
// `!` keeps these winning in every button state and in both cascade layouts: Panda v1 emits compound
|
|
228
|
+
// variants as utilities (above recipes), Panda v2 puts slot recipes in a layer below other recipes' variants.
|
|
215
229
|
compoundVariants: [
|
|
216
230
|
{
|
|
217
231
|
variant: "gray",
|
|
218
232
|
css: {
|
|
219
233
|
close: {
|
|
220
|
-
background: "linear-gradient(270deg, #EDF0F2 75%, rgba(237, 240, 242, 0) 111.54%)",
|
|
221
|
-
borderTopLeftRadius: "0",
|
|
222
|
-
borderBottomLeftRadius: "0",
|
|
223
|
-
color: "gray.600",
|
|
234
|
+
background: "linear-gradient(270deg, #EDF0F2 75%, rgba(237, 240, 242, 0) 111.54%)!",
|
|
235
|
+
borderTopLeftRadius: "0!",
|
|
236
|
+
borderBottomLeftRadius: "0!",
|
|
237
|
+
color: "gray.600!",
|
|
224
238
|
_nextTheme: {
|
|
225
|
-
background: "background.neutral.subtle",
|
|
226
|
-
boxShadow: "-7px 0px 15px -3px #0000001A",
|
|
227
|
-
color: "icon.default"
|
|
239
|
+
background: "background.neutral.subtle!",
|
|
240
|
+
boxShadow: "-7px 0px 15px -3px #0000001A!",
|
|
241
|
+
color: "icon.default!"
|
|
228
242
|
}
|
|
229
243
|
}
|
|
230
244
|
}
|
|
@@ -233,14 +247,14 @@ var tagSlotRecipe = (0, import_dev3.defineSlotRecipe)({
|
|
|
233
247
|
variant: "red",
|
|
234
248
|
css: {
|
|
235
249
|
close: {
|
|
236
|
-
background: "linear-gradient(270deg, #FDECEE 75%, rgba(237, 240, 242, 0) 111.54%)",
|
|
237
|
-
borderTopLeftRadius: "0",
|
|
238
|
-
borderBottomLeftRadius: "0",
|
|
239
|
-
color: "red.400",
|
|
250
|
+
background: "linear-gradient(270deg, #FDECEE 75%, rgba(237, 240, 242, 0) 111.54%)!",
|
|
251
|
+
borderTopLeftRadius: "0!",
|
|
252
|
+
borderBottomLeftRadius: "0!",
|
|
253
|
+
color: "red.400!",
|
|
240
254
|
_nextTheme: {
|
|
241
|
-
background: "background.danger",
|
|
242
|
-
boxShadow: "-7px 0px 15px -3px #0000001A",
|
|
243
|
-
color: "icon.danger"
|
|
255
|
+
background: "background.danger!",
|
|
256
|
+
boxShadow: "-7px 0px 15px -3px #0000001A!",
|
|
257
|
+
color: "icon.danger!"
|
|
244
258
|
}
|
|
245
259
|
}
|
|
246
260
|
}
|
|
@@ -526,15 +540,15 @@ var aireneButtonSlotRecipe = (0, import_dev5.defineSlotRecipe)({
|
|
|
526
540
|
jsx: ["MpAireneButton", "mp-airene-button"],
|
|
527
541
|
slots: ["root", "badge"],
|
|
528
542
|
base: {
|
|
543
|
+
// Rendered as MpButton variant="unstyled": its variant keeps the background transparent and the font
|
|
544
|
+
// size inherited. The white fill comes from `_after`.
|
|
529
545
|
root: {
|
|
530
546
|
display: "inline-flex!",
|
|
531
547
|
justifyContent: "center",
|
|
532
548
|
alignItems: "center",
|
|
533
549
|
position: "relative",
|
|
534
|
-
backgroundColor: "white",
|
|
535
550
|
color: "blue.400!",
|
|
536
551
|
borderRadius: "25px!",
|
|
537
|
-
fontSize: "md",
|
|
538
552
|
fontWeight: "semiBold!",
|
|
539
553
|
paddingLeft: "0.625rem!",
|
|
540
554
|
paddingRight: "0.625rem!",
|
|
@@ -546,7 +560,6 @@ var aireneButtonSlotRecipe = (0, import_dev5.defineSlotRecipe)({
|
|
|
546
560
|
gap: "0!",
|
|
547
561
|
transition: "color 0.3s ease, background-color 0.3s ease",
|
|
548
562
|
_nextTheme: {
|
|
549
|
-
backgroundColor: "background.neutral",
|
|
550
563
|
color: "text.link!"
|
|
551
564
|
},
|
|
552
565
|
_before: {
|
|
@@ -1567,16 +1580,15 @@ var selectSlotRecipe = (0, import_dev8.defineSlotRecipe)({
|
|
|
1567
1580
|
}
|
|
1568
1581
|
}
|
|
1569
1582
|
},
|
|
1583
|
+
// Rendered as MpButton (ghost, sm): its variant sets the color and padding.
|
|
1570
1584
|
clear: {
|
|
1571
1585
|
position: "absolute!",
|
|
1572
|
-
color: "gray.600",
|
|
1573
1586
|
border: "none",
|
|
1574
1587
|
top: "9px",
|
|
1575
1588
|
right: "40px",
|
|
1576
1589
|
width: "5",
|
|
1577
1590
|
height: "5",
|
|
1578
1591
|
minWidth: "5",
|
|
1579
|
-
padding: "0",
|
|
1580
1592
|
transition: "all 250ms!",
|
|
1581
1593
|
visibility: "hidden",
|
|
1582
1594
|
opacity: "0",
|
|
@@ -1585,12 +1597,11 @@ var selectSlotRecipe = (0, import_dev8.defineSlotRecipe)({
|
|
|
1585
1597
|
opacity: "var(--mp-select--opacity)"
|
|
1586
1598
|
}
|
|
1587
1599
|
},
|
|
1600
|
+
// Rendered as MpIcon size="sm": its variant sets the 20px size.
|
|
1588
1601
|
arrow: {
|
|
1589
1602
|
position: "absolute!",
|
|
1590
1603
|
display: "inline-flex",
|
|
1591
1604
|
alignItems: "center",
|
|
1592
|
-
width: "6",
|
|
1593
|
-
height: "6",
|
|
1594
1605
|
right: "2",
|
|
1595
1606
|
whiteSpace: "nowrap",
|
|
1596
1607
|
pointerEvents: "none"
|
|
@@ -5490,7 +5501,7 @@ var timelineSeparatorSlotRecipe = (0, import_dev38.defineSlotRecipe)({
|
|
|
5490
5501
|
backgroundColor: "transparent"
|
|
5491
5502
|
},
|
|
5492
5503
|
"&[data-accordion-child=true]": {
|
|
5493
|
-
roundedBottom: ""
|
|
5504
|
+
roundedBottom: "0"
|
|
5494
5505
|
},
|
|
5495
5506
|
_nextTheme: {
|
|
5496
5507
|
backgroundColor: "border.default",
|
|
@@ -5515,7 +5526,7 @@ var timelineSeparatorSlotRecipe = (0, import_dev38.defineSlotRecipe)({
|
|
|
5515
5526
|
backgroundColor: "transparent"
|
|
5516
5527
|
},
|
|
5517
5528
|
"&[data-accordion-child=true]": {
|
|
5518
|
-
roundedTop: ""
|
|
5529
|
+
roundedTop: "0"
|
|
5519
5530
|
},
|
|
5520
5531
|
_nextTheme: {
|
|
5521
5532
|
backgroundColor: "border.default",
|
|
@@ -8730,6 +8741,9 @@ var utilities = {
|
|
|
8730
8741
|
// src/index.ts
|
|
8731
8742
|
var preset = (0, import_dev70.definePreset)({
|
|
8732
8743
|
name: "@mekari/pixel3-theme",
|
|
8744
|
+
// Panda v2 no longer adds preset-base by default. Included here, as an object, so configs only list
|
|
8745
|
+
// this preset and apps never need to resolve @pandacss/preset-base themselves.
|
|
8746
|
+
presets: [import_preset_base.default],
|
|
8733
8747
|
// Main Theme
|
|
8734
8748
|
theme: {
|
|
8735
8749
|
extend: {
|
|
@@ -8750,9 +8764,49 @@ var preset = (0, import_dev70.definePreset)({
|
|
|
8750
8764
|
},
|
|
8751
8765
|
conditions,
|
|
8752
8766
|
utilities,
|
|
8767
|
+
// Apps use the flex pattern as `MpFlex` (re-exported from @mekari/pixel3). Without these names Panda does
|
|
8768
|
+
// not treat it as the pattern, so `justify` / `align` / `direction` get no CSS unless the value is used
|
|
8769
|
+
// elsewhere.
|
|
8770
|
+
patterns: {
|
|
8771
|
+
extend: {
|
|
8772
|
+
flex: { jsx: ["Flex", "MpFlex", "mp-flex"] }
|
|
8773
|
+
}
|
|
8774
|
+
},
|
|
8753
8775
|
globalCss,
|
|
8754
8776
|
staticCss: {
|
|
8755
|
-
themes: ["next"]
|
|
8777
|
+
themes: ["next"],
|
|
8778
|
+
// Values Pixel components only pass through render functions (`createVNode` in the built dist).
|
|
8779
|
+
// Panda v2 does not read those, so apps that scan Pixel's dist would miss them unless they use the
|
|
8780
|
+
// same values themselves.
|
|
8781
|
+
recipes: {
|
|
8782
|
+
textRecipe: [
|
|
8783
|
+
{ size: ["body", "body-small", "h1", "h2", "h3", "label-small"], weight: ["semiBold"] }
|
|
8784
|
+
],
|
|
8785
|
+
spinnerRecipe: [{ size: ["md"] }],
|
|
8786
|
+
timePanelSlotRecipe: ["*"]
|
|
8787
|
+
},
|
|
8788
|
+
css: [
|
|
8789
|
+
{
|
|
8790
|
+
properties: {
|
|
8791
|
+
color: [
|
|
8792
|
+
"blue.400",
|
|
8793
|
+
"currentcolor",
|
|
8794
|
+
"dark",
|
|
8795
|
+
"gray.400",
|
|
8796
|
+
"gray.600",
|
|
8797
|
+
"icon.brand",
|
|
8798
|
+
"icon.danger",
|
|
8799
|
+
"icon.default",
|
|
8800
|
+
"red.400",
|
|
8801
|
+
"text.danger",
|
|
8802
|
+
"text.disabled",
|
|
8803
|
+
"text.link",
|
|
8804
|
+
"text.secondary",
|
|
8805
|
+
"white"
|
|
8806
|
+
]
|
|
8807
|
+
}
|
|
8808
|
+
}
|
|
8809
|
+
]
|
|
8756
8810
|
},
|
|
8757
8811
|
globalFontface,
|
|
8758
8812
|
globalVars: {
|
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
// src/index.ts
|
|
2
2
|
import { definePreset } from "@pandacss/dev";
|
|
3
|
+
import presetBase from "@pandacss/preset-base";
|
|
3
4
|
|
|
4
5
|
// src/breakpoints.ts
|
|
5
6
|
var breakpoints = {
|
|
@@ -186,19 +187,22 @@ var tagSlotRecipe = defineSlotRecipe({
|
|
|
186
187
|
}
|
|
187
188
|
}
|
|
188
189
|
},
|
|
190
|
+
// The close slot is an MpButton (ghost), whose own recipe also sets background, color and radius.
|
|
191
|
+
// `!` keeps these winning in every button state and in both cascade layouts: Panda v1 emits compound
|
|
192
|
+
// variants as utilities (above recipes), Panda v2 puts slot recipes in a layer below other recipes' variants.
|
|
189
193
|
compoundVariants: [
|
|
190
194
|
{
|
|
191
195
|
variant: "gray",
|
|
192
196
|
css: {
|
|
193
197
|
close: {
|
|
194
|
-
background: "linear-gradient(270deg, #EDF0F2 75%, rgba(237, 240, 242, 0) 111.54%)",
|
|
195
|
-
borderTopLeftRadius: "0",
|
|
196
|
-
borderBottomLeftRadius: "0",
|
|
197
|
-
color: "gray.600",
|
|
198
|
+
background: "linear-gradient(270deg, #EDF0F2 75%, rgba(237, 240, 242, 0) 111.54%)!",
|
|
199
|
+
borderTopLeftRadius: "0!",
|
|
200
|
+
borderBottomLeftRadius: "0!",
|
|
201
|
+
color: "gray.600!",
|
|
198
202
|
_nextTheme: {
|
|
199
|
-
background: "background.neutral.subtle",
|
|
200
|
-
boxShadow: "-7px 0px 15px -3px #0000001A",
|
|
201
|
-
color: "icon.default"
|
|
203
|
+
background: "background.neutral.subtle!",
|
|
204
|
+
boxShadow: "-7px 0px 15px -3px #0000001A!",
|
|
205
|
+
color: "icon.default!"
|
|
202
206
|
}
|
|
203
207
|
}
|
|
204
208
|
}
|
|
@@ -207,14 +211,14 @@ var tagSlotRecipe = defineSlotRecipe({
|
|
|
207
211
|
variant: "red",
|
|
208
212
|
css: {
|
|
209
213
|
close: {
|
|
210
|
-
background: "linear-gradient(270deg, #FDECEE 75%, rgba(237, 240, 242, 0) 111.54%)",
|
|
211
|
-
borderTopLeftRadius: "0",
|
|
212
|
-
borderBottomLeftRadius: "0",
|
|
213
|
-
color: "red.400",
|
|
214
|
+
background: "linear-gradient(270deg, #FDECEE 75%, rgba(237, 240, 242, 0) 111.54%)!",
|
|
215
|
+
borderTopLeftRadius: "0!",
|
|
216
|
+
borderBottomLeftRadius: "0!",
|
|
217
|
+
color: "red.400!",
|
|
214
218
|
_nextTheme: {
|
|
215
|
-
background: "background.danger",
|
|
216
|
-
boxShadow: "-7px 0px 15px -3px #0000001A",
|
|
217
|
-
color: "icon.danger"
|
|
219
|
+
background: "background.danger!",
|
|
220
|
+
boxShadow: "-7px 0px 15px -3px #0000001A!",
|
|
221
|
+
color: "icon.danger!"
|
|
218
222
|
}
|
|
219
223
|
}
|
|
220
224
|
}
|
|
@@ -500,15 +504,15 @@ var aireneButtonSlotRecipe = defineSlotRecipe3({
|
|
|
500
504
|
jsx: ["MpAireneButton", "mp-airene-button"],
|
|
501
505
|
slots: ["root", "badge"],
|
|
502
506
|
base: {
|
|
507
|
+
// Rendered as MpButton variant="unstyled": its variant keeps the background transparent and the font
|
|
508
|
+
// size inherited. The white fill comes from `_after`.
|
|
503
509
|
root: {
|
|
504
510
|
display: "inline-flex!",
|
|
505
511
|
justifyContent: "center",
|
|
506
512
|
alignItems: "center",
|
|
507
513
|
position: "relative",
|
|
508
|
-
backgroundColor: "white",
|
|
509
514
|
color: "blue.400!",
|
|
510
515
|
borderRadius: "25px!",
|
|
511
|
-
fontSize: "md",
|
|
512
516
|
fontWeight: "semiBold!",
|
|
513
517
|
paddingLeft: "0.625rem!",
|
|
514
518
|
paddingRight: "0.625rem!",
|
|
@@ -520,7 +524,6 @@ var aireneButtonSlotRecipe = defineSlotRecipe3({
|
|
|
520
524
|
gap: "0!",
|
|
521
525
|
transition: "color 0.3s ease, background-color 0.3s ease",
|
|
522
526
|
_nextTheme: {
|
|
523
|
-
backgroundColor: "background.neutral",
|
|
524
527
|
color: "text.link!"
|
|
525
528
|
},
|
|
526
529
|
_before: {
|
|
@@ -1541,16 +1544,15 @@ var selectSlotRecipe = defineSlotRecipe5({
|
|
|
1541
1544
|
}
|
|
1542
1545
|
}
|
|
1543
1546
|
},
|
|
1547
|
+
// Rendered as MpButton (ghost, sm): its variant sets the color and padding.
|
|
1544
1548
|
clear: {
|
|
1545
1549
|
position: "absolute!",
|
|
1546
|
-
color: "gray.600",
|
|
1547
1550
|
border: "none",
|
|
1548
1551
|
top: "9px",
|
|
1549
1552
|
right: "40px",
|
|
1550
1553
|
width: "5",
|
|
1551
1554
|
height: "5",
|
|
1552
1555
|
minWidth: "5",
|
|
1553
|
-
padding: "0",
|
|
1554
1556
|
transition: "all 250ms!",
|
|
1555
1557
|
visibility: "hidden",
|
|
1556
1558
|
opacity: "0",
|
|
@@ -1559,12 +1561,11 @@ var selectSlotRecipe = defineSlotRecipe5({
|
|
|
1559
1561
|
opacity: "var(--mp-select--opacity)"
|
|
1560
1562
|
}
|
|
1561
1563
|
},
|
|
1564
|
+
// Rendered as MpIcon size="sm": its variant sets the 20px size.
|
|
1562
1565
|
arrow: {
|
|
1563
1566
|
position: "absolute!",
|
|
1564
1567
|
display: "inline-flex",
|
|
1565
1568
|
alignItems: "center",
|
|
1566
|
-
width: "6",
|
|
1567
|
-
height: "6",
|
|
1568
1569
|
right: "2",
|
|
1569
1570
|
whiteSpace: "nowrap",
|
|
1570
1571
|
pointerEvents: "none"
|
|
@@ -5464,7 +5465,7 @@ var timelineSeparatorSlotRecipe = defineSlotRecipe27({
|
|
|
5464
5465
|
backgroundColor: "transparent"
|
|
5465
5466
|
},
|
|
5466
5467
|
"&[data-accordion-child=true]": {
|
|
5467
|
-
roundedBottom: ""
|
|
5468
|
+
roundedBottom: "0"
|
|
5468
5469
|
},
|
|
5469
5470
|
_nextTheme: {
|
|
5470
5471
|
backgroundColor: "border.default",
|
|
@@ -5489,7 +5490,7 @@ var timelineSeparatorSlotRecipe = defineSlotRecipe27({
|
|
|
5489
5490
|
backgroundColor: "transparent"
|
|
5490
5491
|
},
|
|
5491
5492
|
"&[data-accordion-child=true]": {
|
|
5492
|
-
roundedTop: ""
|
|
5493
|
+
roundedTop: "0"
|
|
5493
5494
|
},
|
|
5494
5495
|
_nextTheme: {
|
|
5495
5496
|
backgroundColor: "border.default",
|
|
@@ -8704,6 +8705,9 @@ var utilities = {
|
|
|
8704
8705
|
// src/index.ts
|
|
8705
8706
|
var preset = definePreset({
|
|
8706
8707
|
name: "@mekari/pixel3-theme",
|
|
8708
|
+
// Panda v2 no longer adds preset-base by default. Included here, as an object, so configs only list
|
|
8709
|
+
// this preset and apps never need to resolve @pandacss/preset-base themselves.
|
|
8710
|
+
presets: [presetBase],
|
|
8707
8711
|
// Main Theme
|
|
8708
8712
|
theme: {
|
|
8709
8713
|
extend: {
|
|
@@ -8724,9 +8728,49 @@ var preset = definePreset({
|
|
|
8724
8728
|
},
|
|
8725
8729
|
conditions,
|
|
8726
8730
|
utilities,
|
|
8731
|
+
// Apps use the flex pattern as `MpFlex` (re-exported from @mekari/pixel3). Without these names Panda does
|
|
8732
|
+
// not treat it as the pattern, so `justify` / `align` / `direction` get no CSS unless the value is used
|
|
8733
|
+
// elsewhere.
|
|
8734
|
+
patterns: {
|
|
8735
|
+
extend: {
|
|
8736
|
+
flex: { jsx: ["Flex", "MpFlex", "mp-flex"] }
|
|
8737
|
+
}
|
|
8738
|
+
},
|
|
8727
8739
|
globalCss,
|
|
8728
8740
|
staticCss: {
|
|
8729
|
-
themes: ["next"]
|
|
8741
|
+
themes: ["next"],
|
|
8742
|
+
// Values Pixel components only pass through render functions (`createVNode` in the built dist).
|
|
8743
|
+
// Panda v2 does not read those, so apps that scan Pixel's dist would miss them unless they use the
|
|
8744
|
+
// same values themselves.
|
|
8745
|
+
recipes: {
|
|
8746
|
+
textRecipe: [
|
|
8747
|
+
{ size: ["body", "body-small", "h1", "h2", "h3", "label-small"], weight: ["semiBold"] }
|
|
8748
|
+
],
|
|
8749
|
+
spinnerRecipe: [{ size: ["md"] }],
|
|
8750
|
+
timePanelSlotRecipe: ["*"]
|
|
8751
|
+
},
|
|
8752
|
+
css: [
|
|
8753
|
+
{
|
|
8754
|
+
properties: {
|
|
8755
|
+
color: [
|
|
8756
|
+
"blue.400",
|
|
8757
|
+
"currentcolor",
|
|
8758
|
+
"dark",
|
|
8759
|
+
"gray.400",
|
|
8760
|
+
"gray.600",
|
|
8761
|
+
"icon.brand",
|
|
8762
|
+
"icon.danger",
|
|
8763
|
+
"icon.default",
|
|
8764
|
+
"red.400",
|
|
8765
|
+
"text.danger",
|
|
8766
|
+
"text.disabled",
|
|
8767
|
+
"text.link",
|
|
8768
|
+
"text.secondary",
|
|
8769
|
+
"white"
|
|
8770
|
+
]
|
|
8771
|
+
}
|
|
8772
|
+
}
|
|
8773
|
+
]
|
|
8730
8774
|
},
|
|
8731
8775
|
globalFontface,
|
|
8732
8776
|
globalVars: {
|
package/dist/keyframes.d.mts
CHANGED
package/dist/keyframes.d.ts
CHANGED
|
@@ -1,5 +1,36 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _pandacss_types from '@pandacss/types';
|
|
2
2
|
|
|
3
|
-
declare const accordionSlotRecipe:
|
|
3
|
+
declare const accordionSlotRecipe: _pandacss_types.SlotRecipeConfig<"header" | "headerTitle" | "headerDescription" | "item" | "panel", {
|
|
4
|
+
isClickable: {
|
|
5
|
+
true: {
|
|
6
|
+
header: {
|
|
7
|
+
cursor: "pointer";
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
false: {
|
|
11
|
+
header: {
|
|
12
|
+
cursor: "default";
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
iconPosition: {
|
|
17
|
+
start: {
|
|
18
|
+
headerDescription: {
|
|
19
|
+
pl: number;
|
|
20
|
+
};
|
|
21
|
+
panel: {
|
|
22
|
+
pl: number;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
end: {
|
|
26
|
+
headerDescription: {
|
|
27
|
+
pl: number;
|
|
28
|
+
};
|
|
29
|
+
panel: {
|
|
30
|
+
pl: number;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
}>;
|
|
4
35
|
|
|
5
36
|
export { accordionSlotRecipe };
|
|
@@ -1,5 +1,36 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _pandacss_types from '@pandacss/types';
|
|
2
2
|
|
|
3
|
-
declare const accordionSlotRecipe:
|
|
3
|
+
declare const accordionSlotRecipe: _pandacss_types.SlotRecipeConfig<"header" | "headerTitle" | "headerDescription" | "item" | "panel", {
|
|
4
|
+
isClickable: {
|
|
5
|
+
true: {
|
|
6
|
+
header: {
|
|
7
|
+
cursor: "pointer";
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
false: {
|
|
11
|
+
header: {
|
|
12
|
+
cursor: "default";
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
iconPosition: {
|
|
17
|
+
start: {
|
|
18
|
+
headerDescription: {
|
|
19
|
+
pl: number;
|
|
20
|
+
};
|
|
21
|
+
panel: {
|
|
22
|
+
pl: number;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
end: {
|
|
26
|
+
headerDescription: {
|
|
27
|
+
pl: number;
|
|
28
|
+
};
|
|
29
|
+
panel: {
|
|
30
|
+
pl: number;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
}>;
|
|
4
35
|
|
|
5
36
|
export { accordionSlotRecipe };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _pandacss_types from '@pandacss/types';
|
|
2
2
|
|
|
3
|
-
declare const aireneButtonSlotRecipe:
|
|
3
|
+
declare const aireneButtonSlotRecipe: _pandacss_types.SlotRecipeConfig<"root" | "badge", {}>;
|
|
4
4
|
|
|
5
5
|
export { aireneButtonSlotRecipe };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _pandacss_types from '@pandacss/types';
|
|
2
2
|
|
|
3
|
-
declare const aireneButtonSlotRecipe:
|
|
3
|
+
declare const aireneButtonSlotRecipe: _pandacss_types.SlotRecipeConfig<"root" | "badge", {}>;
|
|
4
4
|
|
|
5
5
|
export { aireneButtonSlotRecipe };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _pandacss_types from '@pandacss/types';
|
|
2
2
|
|
|
3
|
-
declare const aireneBubbleSlotRecipe:
|
|
3
|
+
declare const aireneBubbleSlotRecipe: _pandacss_types.SlotRecipeConfig<"text" | "body" | "root" | "header" | "loading", {}>;
|
|
4
4
|
|
|
5
5
|
export { aireneBubbleSlotRecipe };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _pandacss_types from '@pandacss/types';
|
|
2
2
|
|
|
3
|
-
declare const aireneBubbleSlotRecipe:
|
|
3
|
+
declare const aireneBubbleSlotRecipe: _pandacss_types.SlotRecipeConfig<"text" | "body" | "root" | "header" | "loading", {}>;
|
|
4
4
|
|
|
5
5
|
export { aireneBubbleSlotRecipe };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _pandacss_types from '@pandacss/types';
|
|
2
2
|
|
|
3
|
-
declare const aireneInputSlotRecipe:
|
|
3
|
+
declare const aireneInputSlotRecipe: _pandacss_types.SlotRecipeConfig<"root" | "input" | "wrapper", {}>;
|
|
4
4
|
|
|
5
5
|
export { aireneInputSlotRecipe };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _pandacss_types from '@pandacss/types';
|
|
2
2
|
|
|
3
|
-
declare const aireneInputSlotRecipe:
|
|
3
|
+
declare const aireneInputSlotRecipe: _pandacss_types.SlotRecipeConfig<"root" | "input" | "wrapper", {}>;
|
|
4
4
|
|
|
5
5
|
export { aireneInputSlotRecipe };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _pandacss_types from '@pandacss/types';
|
|
2
2
|
|
|
3
|
-
declare const autocompleteSlotRecipe:
|
|
3
|
+
declare const autocompleteSlotRecipe: _pandacss_types.SlotRecipeConfig<"root" | "input" | "popoverContent" | "groupText" | "buttonAction" | "emptyText" | "contentLoading" | "infinityScroll", _pandacss_types.SlotRecipeVariantRecord<"root" | "input" | "popoverContent" | "groupText" | "buttonAction" | "emptyText" | "contentLoading" | "infinityScroll">>;
|
|
4
4
|
|
|
5
5
|
export { autocompleteSlotRecipe };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _pandacss_types from '@pandacss/types';
|
|
2
2
|
|
|
3
|
-
declare const autocompleteSlotRecipe:
|
|
3
|
+
declare const autocompleteSlotRecipe: _pandacss_types.SlotRecipeConfig<"root" | "input" | "popoverContent" | "groupText" | "buttonAction" | "emptyText" | "contentLoading" | "infinityScroll", _pandacss_types.SlotRecipeVariantRecord<"root" | "input" | "popoverContent" | "groupText" | "buttonAction" | "emptyText" | "contentLoading" | "infinityScroll">>;
|
|
4
4
|
|
|
5
5
|
export { autocompleteSlotRecipe };
|