@mekari/pixel3-theme 0.1.1 → 0.2.0-dev.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/index.js +66 -36
- package/dist/index.mjs +36 -6
- package/dist/recipes/index.d.mts +2 -1
- package/dist/recipes/index.d.ts +2 -1
- package/dist/recipes/tabs.d.mts +2 -2
- package/dist/recipes/tabs.d.ts +2 -2
- package/dist/recipes/tour.d.mts +5 -0
- package/dist/recipes/tour.d.ts +5 -0
- package/package.json +3 -3
- package/src/conditions.ts +1 -1
- package/src/index.ts +1 -0
- package/src/recipes/index.ts +5 -3
- package/src/recipes/tabs.ts +4 -4
- package/src/recipes/tour.ts +29 -0
package/dist/index.js
CHANGED
|
@@ -25,7 +25,7 @@ __export(theme_exports, {
|
|
|
25
25
|
module.exports = __toCommonJS(theme_exports);
|
|
26
26
|
|
|
27
27
|
// src/index.ts
|
|
28
|
-
var
|
|
28
|
+
var import_dev54 = require("@pandacss/dev");
|
|
29
29
|
|
|
30
30
|
// src/breakpoints.ts
|
|
31
31
|
var breakpoints = {
|
|
@@ -39,7 +39,7 @@ var breakpoints = {
|
|
|
39
39
|
var conditions = {
|
|
40
40
|
extend: {
|
|
41
41
|
disabled: "&:is(:disabled, [disabled], [aria-disabled=true], [data-disabled])",
|
|
42
|
-
invalid: "&:is(
|
|
42
|
+
invalid: "&:is([aria-invalid=true], [data-invalid])",
|
|
43
43
|
checked: "&:is(:checked, [data-checked], [aria-checked=true], [data-state=checked])",
|
|
44
44
|
indeterminate: "&:is(:indeterminate, [data-indeterminate], [aria-checked=mixed], [data-state=indeterminate])",
|
|
45
45
|
closed: "&:is([data-state=closed])",
|
|
@@ -1612,9 +1612,9 @@ var tabRecipe = (0, import_dev16.defineRecipe)({
|
|
|
1612
1612
|
isSelected: false
|
|
1613
1613
|
}
|
|
1614
1614
|
});
|
|
1615
|
-
var
|
|
1616
|
-
className: "selected-border",
|
|
1617
|
-
jsx: ["
|
|
1615
|
+
var tabSelectedBorderRecipe = (0, import_dev16.defineRecipe)({
|
|
1616
|
+
className: "tab-selected-border",
|
|
1617
|
+
jsx: ["MpTabSelectedBorder", "mp-tab-selected-border"],
|
|
1618
1618
|
base: {
|
|
1619
1619
|
position: "absolute",
|
|
1620
1620
|
bottom: "-2px",
|
|
@@ -4214,6 +4214,34 @@ var sliderSlotRecipe = (0, import_dev40.defineSlotRecipe)({
|
|
|
4214
4214
|
}
|
|
4215
4215
|
});
|
|
4216
4216
|
|
|
4217
|
+
// src/recipes/tour.ts
|
|
4218
|
+
var import_dev41 = require("@pandacss/dev");
|
|
4219
|
+
var tourSlotRecipe = (0, import_dev41.defineSlotRecipe)({
|
|
4220
|
+
className: "tour",
|
|
4221
|
+
jsx: ["MpTour", "mp-tour"],
|
|
4222
|
+
slots: ["root", "overlay", "panel"],
|
|
4223
|
+
base: {
|
|
4224
|
+
root: {},
|
|
4225
|
+
overlay: {
|
|
4226
|
+
zIndex: "9998",
|
|
4227
|
+
position: "fixed",
|
|
4228
|
+
top: "0",
|
|
4229
|
+
right: "0",
|
|
4230
|
+
bottom: "0",
|
|
4231
|
+
left: "0",
|
|
4232
|
+
width: "full",
|
|
4233
|
+
height: "full",
|
|
4234
|
+
background: "overlay"
|
|
4235
|
+
},
|
|
4236
|
+
panel: {
|
|
4237
|
+
zIndex: "9999"
|
|
4238
|
+
}
|
|
4239
|
+
},
|
|
4240
|
+
variants: {},
|
|
4241
|
+
compoundVariants: [],
|
|
4242
|
+
defaultVariants: {}
|
|
4243
|
+
});
|
|
4244
|
+
|
|
4217
4245
|
// src/recipes/index.ts
|
|
4218
4246
|
var recipes = {
|
|
4219
4247
|
buttonRecipe,
|
|
@@ -4228,7 +4256,7 @@ var recipes = {
|
|
|
4228
4256
|
textareaRecipe,
|
|
4229
4257
|
tooltipRecipe,
|
|
4230
4258
|
tabRecipe,
|
|
4231
|
-
|
|
4259
|
+
tabSelectedBorderRecipe,
|
|
4232
4260
|
tableRecipe,
|
|
4233
4261
|
tableContainerRecipe,
|
|
4234
4262
|
dividerRecipe,
|
|
@@ -4286,12 +4314,13 @@ var slotRecipes = {
|
|
|
4286
4314
|
timelineAccordionSlotRecipe,
|
|
4287
4315
|
tabListSlotRecipe,
|
|
4288
4316
|
colorPickerSlotRecipe,
|
|
4289
|
-
sliderSlotRecipe
|
|
4317
|
+
sliderSlotRecipe,
|
|
4318
|
+
tourSlotRecipe
|
|
4290
4319
|
};
|
|
4291
4320
|
|
|
4292
4321
|
// src/text-styles.ts
|
|
4293
|
-
var
|
|
4294
|
-
var textStyles = (0,
|
|
4322
|
+
var import_dev42 = require("@pandacss/dev");
|
|
4323
|
+
var textStyles = (0, import_dev42.defineTextStyles)({
|
|
4295
4324
|
overline: { value: { fontSize: "xs", lineHeight: "xs" } },
|
|
4296
4325
|
body: {
|
|
4297
4326
|
sm: { value: { fontSize: "sm", lineHeight: "2xl" } },
|
|
@@ -4325,11 +4354,11 @@ var textStyles = (0, import_dev41.defineTextStyles)({
|
|
|
4325
4354
|
});
|
|
4326
4355
|
|
|
4327
4356
|
// src/tokens/index.ts
|
|
4328
|
-
var
|
|
4357
|
+
var import_dev53 = require("@pandacss/dev");
|
|
4329
4358
|
|
|
4330
4359
|
// src/tokens/borders.ts
|
|
4331
|
-
var
|
|
4332
|
-
var borders =
|
|
4360
|
+
var import_dev43 = require("@pandacss/dev");
|
|
4361
|
+
var borders = import_dev43.defineTokens.borders({
|
|
4333
4362
|
none: { value: "none" },
|
|
4334
4363
|
sm: { value: "1px" },
|
|
4335
4364
|
md: { value: "1.5px" },
|
|
@@ -4337,8 +4366,8 @@ var borders = import_dev42.defineTokens.borders({
|
|
|
4337
4366
|
});
|
|
4338
4367
|
|
|
4339
4368
|
// src/tokens/colors.ts
|
|
4340
|
-
var
|
|
4341
|
-
var colors =
|
|
4369
|
+
var import_dev44 = require("@pandacss/dev");
|
|
4370
|
+
var colors = import_dev44.defineTokens.colors({
|
|
4342
4371
|
currentcolor: {
|
|
4343
4372
|
value: "currentcolor"
|
|
4344
4373
|
},
|
|
@@ -4484,16 +4513,16 @@ var colors = import_dev43.defineTokens.colors({
|
|
|
4484
4513
|
});
|
|
4485
4514
|
|
|
4486
4515
|
// src/tokens/durations.ts
|
|
4487
|
-
var
|
|
4488
|
-
var durations =
|
|
4516
|
+
var import_dev45 = require("@pandacss/dev");
|
|
4517
|
+
var durations = import_dev45.defineTokens.durations({
|
|
4489
4518
|
slow: { value: "100ms" },
|
|
4490
4519
|
normal: { value: "250ms" },
|
|
4491
4520
|
fast: { value: "300ms" }
|
|
4492
4521
|
});
|
|
4493
4522
|
|
|
4494
4523
|
// src/tokens/opacity.ts
|
|
4495
|
-
var
|
|
4496
|
-
var opacity =
|
|
4524
|
+
var import_dev46 = require("@pandacss/dev");
|
|
4525
|
+
var opacity = import_dev46.defineTokens.opacity({
|
|
4497
4526
|
0: { value: 0 },
|
|
4498
4527
|
40: { value: 0.4 },
|
|
4499
4528
|
60: { value: 0.6 },
|
|
@@ -4501,8 +4530,8 @@ var opacity = import_dev45.defineTokens.opacity({
|
|
|
4501
4530
|
});
|
|
4502
4531
|
|
|
4503
4532
|
// src/tokens/radii.ts
|
|
4504
|
-
var
|
|
4505
|
-
var radii =
|
|
4533
|
+
var import_dev47 = require("@pandacss/dev");
|
|
4534
|
+
var radii = import_dev47.defineTokens.radii({
|
|
4506
4535
|
none: { value: "0" },
|
|
4507
4536
|
xs: { value: "0.125rem" },
|
|
4508
4537
|
sm: { value: "0.25rem" },
|
|
@@ -4513,8 +4542,8 @@ var radii = import_dev46.defineTokens.radii({
|
|
|
4513
4542
|
});
|
|
4514
4543
|
|
|
4515
4544
|
// src/tokens/shadows.ts
|
|
4516
|
-
var
|
|
4517
|
-
var shadows =
|
|
4545
|
+
var import_dev48 = require("@pandacss/dev");
|
|
4546
|
+
var shadows = import_dev48.defineTokens.shadows({
|
|
4518
4547
|
xs: {
|
|
4519
4548
|
value: ["0px 0px 2px 0px rgba(0, 0, 0, 0.12)", "0px 2px 4px 0px rgba(0, 0, 0, 0.14)"]
|
|
4520
4549
|
},
|
|
@@ -4554,8 +4583,8 @@ var shadows = import_dev47.defineTokens.shadows({
|
|
|
4554
4583
|
});
|
|
4555
4584
|
|
|
4556
4585
|
// src/tokens/sizes.ts
|
|
4557
|
-
var
|
|
4558
|
-
var sizes =
|
|
4586
|
+
var import_dev49 = require("@pandacss/dev");
|
|
4587
|
+
var sizes = import_dev49.defineTokens.sizes({
|
|
4559
4588
|
0: { value: "0" },
|
|
4560
4589
|
0.25: { value: "0.0625rem" },
|
|
4561
4590
|
0.5: { value: "0.125rem" },
|
|
@@ -4584,8 +4613,8 @@ var sizes = import_dev48.defineTokens.sizes({
|
|
|
4584
4613
|
});
|
|
4585
4614
|
|
|
4586
4615
|
// src/tokens/spacing.ts
|
|
4587
|
-
var
|
|
4588
|
-
var spacing =
|
|
4616
|
+
var import_dev50 = require("@pandacss/dev");
|
|
4617
|
+
var spacing = import_dev50.defineTokens.spacing({
|
|
4589
4618
|
0: { value: "0" },
|
|
4590
4619
|
0.5: { value: "0.125rem" },
|
|
4591
4620
|
1: { value: "0.25rem" },
|
|
@@ -4606,8 +4635,8 @@ var spacing = import_dev49.defineTokens.spacing({
|
|
|
4606
4635
|
});
|
|
4607
4636
|
|
|
4608
4637
|
// src/tokens/z-index.ts
|
|
4609
|
-
var
|
|
4610
|
-
var zIndex =
|
|
4638
|
+
var import_dev51 = require("@pandacss/dev");
|
|
4639
|
+
var zIndex = import_dev51.defineTokens.zIndex({
|
|
4611
4640
|
hide: { value: -1 },
|
|
4612
4641
|
base: { value: 0 },
|
|
4613
4642
|
docked: { value: 10 },
|
|
@@ -4619,8 +4648,8 @@ var zIndex = import_dev50.defineTokens.zIndex({
|
|
|
4619
4648
|
});
|
|
4620
4649
|
|
|
4621
4650
|
// src/tokens/typography.ts
|
|
4622
|
-
var
|
|
4623
|
-
var fonts =
|
|
4651
|
+
var import_dev52 = require("@pandacss/dev");
|
|
4652
|
+
var fonts = import_dev52.defineTokens.fonts({
|
|
4624
4653
|
body: {
|
|
4625
4654
|
value: '"Inter", -apple-system, BlinkMacSystemFont, Helvetica, Arial, sans-serif, Segoe UI, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"'
|
|
4626
4655
|
},
|
|
@@ -4628,7 +4657,7 @@ var fonts = import_dev51.defineTokens.fonts({
|
|
|
4628
4657
|
value: 'SFMono-Regular, Menlo, Monaco,Consolas, "Liberation Mono", "Courier New", monospace'
|
|
4629
4658
|
}
|
|
4630
4659
|
});
|
|
4631
|
-
var fontSizes =
|
|
4660
|
+
var fontSizes = import_dev52.defineTokens.fontSizes({
|
|
4632
4661
|
xs: { value: "0.625rem" },
|
|
4633
4662
|
sm: { value: "0.75rem" },
|
|
4634
4663
|
md: { value: "0.875rem" },
|
|
@@ -4636,12 +4665,12 @@ var fontSizes = import_dev51.defineTokens.fontSizes({
|
|
|
4636
4665
|
xl: { value: "1.25rem" },
|
|
4637
4666
|
"2xl": { value: "1.5rem" }
|
|
4638
4667
|
});
|
|
4639
|
-
var fontWeights =
|
|
4668
|
+
var fontWeights = import_dev52.defineTokens.fontWeights({
|
|
4640
4669
|
regular: { value: "400" },
|
|
4641
4670
|
semiBold: { value: "600" },
|
|
4642
4671
|
bold: { value: "800" }
|
|
4643
4672
|
});
|
|
4644
|
-
var lineHeights =
|
|
4673
|
+
var lineHeights = import_dev52.defineTokens.lineHeights({
|
|
4645
4674
|
xs: { value: 1.2 },
|
|
4646
4675
|
sm: { value: 1.34 },
|
|
4647
4676
|
md: { value: 1.4 },
|
|
@@ -4650,7 +4679,7 @@ var lineHeights = import_dev51.defineTokens.lineHeights({
|
|
|
4650
4679
|
"2xl": { value: 1.67 },
|
|
4651
4680
|
"3xl": { value: 1.71 }
|
|
4652
4681
|
});
|
|
4653
|
-
var letterSpacings =
|
|
4682
|
+
var letterSpacings = import_dev52.defineTokens.letterSpacings({
|
|
4654
4683
|
tighter: { value: "-0.05em" },
|
|
4655
4684
|
tight: { value: "-0.025em" },
|
|
4656
4685
|
normal: { value: "0" },
|
|
@@ -4660,7 +4689,7 @@ var letterSpacings = import_dev51.defineTokens.letterSpacings({
|
|
|
4660
4689
|
});
|
|
4661
4690
|
|
|
4662
4691
|
// src/tokens/index.ts
|
|
4663
|
-
var tokens = (0,
|
|
4692
|
+
var tokens = (0, import_dev53.defineTokens)({
|
|
4664
4693
|
borders,
|
|
4665
4694
|
colors,
|
|
4666
4695
|
durations,
|
|
@@ -4678,7 +4707,8 @@ var tokens = (0, import_dev52.defineTokens)({
|
|
|
4678
4707
|
});
|
|
4679
4708
|
|
|
4680
4709
|
// src/index.ts
|
|
4681
|
-
var preset = (0,
|
|
4710
|
+
var preset = (0, import_dev54.definePreset)({
|
|
4711
|
+
name: "@mekari/pixel3-theme",
|
|
4682
4712
|
theme: {
|
|
4683
4713
|
extend: {
|
|
4684
4714
|
breakpoints,
|
package/dist/index.mjs
CHANGED
|
@@ -13,7 +13,7 @@ var breakpoints = {
|
|
|
13
13
|
var conditions = {
|
|
14
14
|
extend: {
|
|
15
15
|
disabled: "&:is(:disabled, [disabled], [aria-disabled=true], [data-disabled])",
|
|
16
|
-
invalid: "&:is(
|
|
16
|
+
invalid: "&:is([aria-invalid=true], [data-invalid])",
|
|
17
17
|
checked: "&:is(:checked, [data-checked], [aria-checked=true], [data-state=checked])",
|
|
18
18
|
indeterminate: "&:is(:indeterminate, [data-indeterminate], [aria-checked=mixed], [data-state=indeterminate])",
|
|
19
19
|
closed: "&:is([data-state=closed])",
|
|
@@ -1586,9 +1586,9 @@ var tabRecipe = defineRecipe9({
|
|
|
1586
1586
|
isSelected: false
|
|
1587
1587
|
}
|
|
1588
1588
|
});
|
|
1589
|
-
var
|
|
1590
|
-
className: "selected-border",
|
|
1591
|
-
jsx: ["
|
|
1589
|
+
var tabSelectedBorderRecipe = defineRecipe9({
|
|
1590
|
+
className: "tab-selected-border",
|
|
1591
|
+
jsx: ["MpTabSelectedBorder", "mp-tab-selected-border"],
|
|
1592
1592
|
base: {
|
|
1593
1593
|
position: "absolute",
|
|
1594
1594
|
bottom: "-2px",
|
|
@@ -4188,6 +4188,34 @@ var sliderSlotRecipe = defineSlotRecipe28({
|
|
|
4188
4188
|
}
|
|
4189
4189
|
});
|
|
4190
4190
|
|
|
4191
|
+
// src/recipes/tour.ts
|
|
4192
|
+
import { defineSlotRecipe as defineSlotRecipe29 } from "@pandacss/dev";
|
|
4193
|
+
var tourSlotRecipe = defineSlotRecipe29({
|
|
4194
|
+
className: "tour",
|
|
4195
|
+
jsx: ["MpTour", "mp-tour"],
|
|
4196
|
+
slots: ["root", "overlay", "panel"],
|
|
4197
|
+
base: {
|
|
4198
|
+
root: {},
|
|
4199
|
+
overlay: {
|
|
4200
|
+
zIndex: "9998",
|
|
4201
|
+
position: "fixed",
|
|
4202
|
+
top: "0",
|
|
4203
|
+
right: "0",
|
|
4204
|
+
bottom: "0",
|
|
4205
|
+
left: "0",
|
|
4206
|
+
width: "full",
|
|
4207
|
+
height: "full",
|
|
4208
|
+
background: "overlay"
|
|
4209
|
+
},
|
|
4210
|
+
panel: {
|
|
4211
|
+
zIndex: "9999"
|
|
4212
|
+
}
|
|
4213
|
+
},
|
|
4214
|
+
variants: {},
|
|
4215
|
+
compoundVariants: [],
|
|
4216
|
+
defaultVariants: {}
|
|
4217
|
+
});
|
|
4218
|
+
|
|
4191
4219
|
// src/recipes/index.ts
|
|
4192
4220
|
var recipes = {
|
|
4193
4221
|
buttonRecipe,
|
|
@@ -4202,7 +4230,7 @@ var recipes = {
|
|
|
4202
4230
|
textareaRecipe,
|
|
4203
4231
|
tooltipRecipe,
|
|
4204
4232
|
tabRecipe,
|
|
4205
|
-
|
|
4233
|
+
tabSelectedBorderRecipe,
|
|
4206
4234
|
tableRecipe,
|
|
4207
4235
|
tableContainerRecipe,
|
|
4208
4236
|
dividerRecipe,
|
|
@@ -4260,7 +4288,8 @@ var slotRecipes = {
|
|
|
4260
4288
|
timelineAccordionSlotRecipe,
|
|
4261
4289
|
tabListSlotRecipe,
|
|
4262
4290
|
colorPickerSlotRecipe,
|
|
4263
|
-
sliderSlotRecipe
|
|
4291
|
+
sliderSlotRecipe,
|
|
4292
|
+
tourSlotRecipe
|
|
4264
4293
|
};
|
|
4265
4294
|
|
|
4266
4295
|
// src/text-styles.ts
|
|
@@ -4653,6 +4682,7 @@ var tokens = defineTokens11({
|
|
|
4653
4682
|
|
|
4654
4683
|
// src/index.ts
|
|
4655
4684
|
var preset = definePreset({
|
|
4685
|
+
name: "@mekari/pixel3-theme",
|
|
4656
4686
|
theme: {
|
|
4657
4687
|
extend: {
|
|
4658
4688
|
breakpoints,
|
package/dist/recipes/index.d.mts
CHANGED
|
@@ -13,7 +13,7 @@ declare const recipes: {
|
|
|
13
13
|
textareaRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
|
|
14
14
|
tooltipRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
|
|
15
15
|
tabRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
|
|
16
|
-
|
|
16
|
+
tabSelectedBorderRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
|
|
17
17
|
tableRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
|
|
18
18
|
tableContainerRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
|
|
19
19
|
dividerRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
|
|
@@ -72,6 +72,7 @@ declare const slotRecipes: {
|
|
|
72
72
|
tabListSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
73
73
|
colorPickerSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
74
74
|
sliderSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
75
|
+
tourSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
75
76
|
};
|
|
76
77
|
|
|
77
78
|
export { recipes, slotRecipes };
|
package/dist/recipes/index.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ declare const recipes: {
|
|
|
13
13
|
textareaRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
|
|
14
14
|
tooltipRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
|
|
15
15
|
tabRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
|
|
16
|
-
|
|
16
|
+
tabSelectedBorderRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
|
|
17
17
|
tableRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
|
|
18
18
|
tableContainerRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
|
|
19
19
|
dividerRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
|
|
@@ -72,6 +72,7 @@ declare const slotRecipes: {
|
|
|
72
72
|
tabListSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
73
73
|
colorPickerSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
74
74
|
sliderSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
75
|
+
tourSlotRecipe: _pandacss_types.SlotRecipeConfig;
|
|
75
76
|
};
|
|
76
77
|
|
|
77
78
|
export { recipes, slotRecipes };
|
package/dist/recipes/tabs.d.mts
CHANGED
|
@@ -2,6 +2,6 @@ import * as _pandacss_dev from '@pandacss/dev';
|
|
|
2
2
|
|
|
3
3
|
declare const tabListSlotRecipe: _pandacss_dev.SlotRecipeConfig;
|
|
4
4
|
declare const tabRecipe: _pandacss_dev.RecipeConfig<_pandacss_dev.RecipeVariantRecord>;
|
|
5
|
-
declare const
|
|
5
|
+
declare const tabSelectedBorderRecipe: _pandacss_dev.RecipeConfig<_pandacss_dev.RecipeVariantRecord>;
|
|
6
6
|
|
|
7
|
-
export {
|
|
7
|
+
export { tabListSlotRecipe, tabRecipe, tabSelectedBorderRecipe };
|
package/dist/recipes/tabs.d.ts
CHANGED
|
@@ -2,6 +2,6 @@ import * as _pandacss_dev from '@pandacss/dev';
|
|
|
2
2
|
|
|
3
3
|
declare const tabListSlotRecipe: _pandacss_dev.SlotRecipeConfig;
|
|
4
4
|
declare const tabRecipe: _pandacss_dev.RecipeConfig<_pandacss_dev.RecipeVariantRecord>;
|
|
5
|
-
declare const
|
|
5
|
+
declare const tabSelectedBorderRecipe: _pandacss_dev.RecipeConfig<_pandacss_dev.RecipeVariantRecord>;
|
|
6
6
|
|
|
7
|
-
export {
|
|
7
|
+
export { tabListSlotRecipe, tabRecipe, tabSelectedBorderRecipe };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mekari/pixel3-theme",
|
|
3
3
|
"description": "Theme for mekari pixel 3",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.2.0-dev.1",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"files": [
|
|
@@ -9,13 +9,13 @@
|
|
|
9
9
|
"src"
|
|
10
10
|
],
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@pandacss/dev": "^0.
|
|
12
|
+
"@pandacss/dev": "^0.45.0"
|
|
13
13
|
},
|
|
14
14
|
"peerDependencies": {
|
|
15
15
|
"vue": "^3.4.9"
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
|
-
"@pandacss/types": "^0.
|
|
18
|
+
"@pandacss/types": "^0.45.0",
|
|
19
19
|
"vue": "^3.4.9"
|
|
20
20
|
},
|
|
21
21
|
"publishConfig": {
|
package/src/conditions.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export const conditions = {
|
|
2
2
|
extend: {
|
|
3
3
|
disabled: '&:is(:disabled, [disabled], [aria-disabled=true], [data-disabled])',
|
|
4
|
-
invalid: '&:is(
|
|
4
|
+
invalid: '&:is([aria-invalid=true], [data-invalid])',
|
|
5
5
|
checked: '&:is(:checked, [data-checked], [aria-checked=true], [data-state=checked])',
|
|
6
6
|
indeterminate:
|
|
7
7
|
'&:is(:indeterminate, [data-indeterminate], [aria-checked=mixed], [data-state=indeterminate])',
|
package/src/index.ts
CHANGED
package/src/recipes/index.ts
CHANGED
|
@@ -11,7 +11,7 @@ import { popoverContentRecipe, popoverListRecipe, popoverListItemRecipe } from '
|
|
|
11
11
|
import { badgeRecipe } from './badge'
|
|
12
12
|
import { textareaRecipe } from './textarea'
|
|
13
13
|
import { tooltipRecipe } from './tooltip'
|
|
14
|
-
import { tabListSlotRecipe, tabRecipe,
|
|
14
|
+
import { tabListSlotRecipe, tabRecipe, tabSelectedBorderRecipe } from './tabs'
|
|
15
15
|
import { checkboxSlotRecipe } from './checkbox'
|
|
16
16
|
import { radioSlotRecipe } from './radio'
|
|
17
17
|
import { sharedSlotRecipe } from './shared'
|
|
@@ -62,6 +62,7 @@ import {
|
|
|
62
62
|
} from './banner'
|
|
63
63
|
import { colorPickerSlotRecipe } from './color-picker'
|
|
64
64
|
import { sliderSlotRecipe } from './slider'
|
|
65
|
+
import { tourSlotRecipe } from './tour'
|
|
65
66
|
|
|
66
67
|
export const recipes = {
|
|
67
68
|
buttonRecipe,
|
|
@@ -76,7 +77,7 @@ export const recipes = {
|
|
|
76
77
|
textareaRecipe,
|
|
77
78
|
tooltipRecipe,
|
|
78
79
|
tabRecipe,
|
|
79
|
-
|
|
80
|
+
tabSelectedBorderRecipe,
|
|
80
81
|
tableRecipe,
|
|
81
82
|
tableContainerRecipe,
|
|
82
83
|
dividerRecipe,
|
|
@@ -135,5 +136,6 @@ export const slotRecipes = {
|
|
|
135
136
|
timelineAccordionSlotRecipe,
|
|
136
137
|
tabListSlotRecipe,
|
|
137
138
|
colorPickerSlotRecipe,
|
|
138
|
-
sliderSlotRecipe
|
|
139
|
+
sliderSlotRecipe,
|
|
140
|
+
tourSlotRecipe
|
|
139
141
|
}
|
package/src/recipes/tabs.ts
CHANGED
|
@@ -132,9 +132,9 @@ const tabRecipe = defineRecipe({
|
|
|
132
132
|
}
|
|
133
133
|
})
|
|
134
134
|
|
|
135
|
-
const
|
|
136
|
-
className: 'selected-border',
|
|
137
|
-
jsx: ['
|
|
135
|
+
const tabSelectedBorderRecipe = defineRecipe({
|
|
136
|
+
className: 'tab-selected-border',
|
|
137
|
+
jsx: ['MpTabSelectedBorder', 'mp-tab-selected-border'],
|
|
138
138
|
base: {
|
|
139
139
|
position: 'absolute',
|
|
140
140
|
bottom: '-2px',
|
|
@@ -218,4 +218,4 @@ const selectedBorderRecipe = defineRecipe({
|
|
|
218
218
|
}
|
|
219
219
|
})
|
|
220
220
|
|
|
221
|
-
export { tabListSlotRecipe, tabRecipe,
|
|
221
|
+
export { tabListSlotRecipe, tabRecipe, tabSelectedBorderRecipe }
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { defineSlotRecipe } from '@pandacss/dev'
|
|
2
|
+
|
|
3
|
+
const tourSlotRecipe = defineSlotRecipe({
|
|
4
|
+
className: 'tour',
|
|
5
|
+
jsx: ['MpTour', 'mp-tour'],
|
|
6
|
+
slots: ['root', 'overlay', 'panel'],
|
|
7
|
+
base: {
|
|
8
|
+
root: {},
|
|
9
|
+
overlay: {
|
|
10
|
+
zIndex: '9998',
|
|
11
|
+
position: 'fixed',
|
|
12
|
+
top: '0',
|
|
13
|
+
right: '0',
|
|
14
|
+
bottom: '0',
|
|
15
|
+
left: '0',
|
|
16
|
+
width: 'full',
|
|
17
|
+
height: 'full',
|
|
18
|
+
background: 'overlay'
|
|
19
|
+
},
|
|
20
|
+
panel: {
|
|
21
|
+
zIndex: '9999'
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
variants: {},
|
|
25
|
+
compoundVariants: [],
|
|
26
|
+
defaultVariants: {}
|
|
27
|
+
})
|
|
28
|
+
|
|
29
|
+
export { tourSlotRecipe }
|