@mekari/pixel3-styled-system 0.0.6 → 0.0.7-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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @mekari/pixel3-styled-system
2
2
 
3
+ ## 0.0.7-dev.0
4
+
5
+ ### Patch Changes
6
+
7
+ - 7653c0e: Added new recipe for carousel
8
+
3
9
  ## 0.0.6
4
10
 
5
11
  ### Patch Changes
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mekari/pixel3-styled-system",
3
3
  "description": "This package is auto-generated by Panda CSS",
4
- "version": "0.0.6",
4
+ "version": "0.0.7-dev.0",
5
5
  "type": "module",
6
6
  "publishConfig": {
7
7
  "access": "public"
@@ -0,0 +1,27 @@
1
+ /* eslint-disable */
2
+ import type { ConditionalValue } from '../types/index';
3
+ import type { DistributiveOmit, Pretty } from '../types/system-types';
4
+
5
+ interface CarouselSlotRecipeVariant {
6
+
7
+ }
8
+
9
+ type CarouselSlotRecipeVariantMap = {
10
+ [key in keyof CarouselSlotRecipeVariant]: Array<CarouselSlotRecipeVariant[key]>
11
+ }
12
+
13
+ export type CarouselSlotRecipeVariantProps = {
14
+ [key in keyof CarouselSlotRecipeVariant]?: ConditionalValue<CarouselSlotRecipeVariant[key]> | undefined
15
+ }
16
+
17
+ export interface CarouselSlotRecipeRecipe {
18
+ __type: CarouselSlotRecipeVariantProps
19
+ (props?: CarouselSlotRecipeVariantProps): Pretty<Record<"root" | "buttonRight" | "buttonLeft", string>>
20
+ raw: (props?: CarouselSlotRecipeVariantProps) => CarouselSlotRecipeVariantProps
21
+ variantMap: CarouselSlotRecipeVariantMap
22
+ variantKeys: Array<keyof CarouselSlotRecipeVariant>
23
+ splitVariantProps<Props extends CarouselSlotRecipeVariantProps>(props: Props): [CarouselSlotRecipeVariantProps, Pretty<DistributiveOmit<Props, keyof CarouselSlotRecipeVariantProps>>]
24
+ }
25
+
26
+
27
+ export declare const carouselSlotRecipe: CarouselSlotRecipeRecipe
@@ -0,0 +1,38 @@
1
+ import { getSlotCompoundVariant, memo, splitProps } from '../helpers.mjs';
2
+ import { createRecipe } from './create-recipe.mjs';
3
+
4
+ const carouselSlotRecipeDefaultVariants = {}
5
+ const carouselSlotRecipeCompoundVariants = []
6
+
7
+ const carouselSlotRecipeSlotNames = [
8
+ [
9
+ "root",
10
+ "carousel__root"
11
+ ],
12
+ [
13
+ "buttonRight",
14
+ "carousel__buttonRight"
15
+ ],
16
+ [
17
+ "buttonLeft",
18
+ "carousel__buttonLeft"
19
+ ]
20
+ ]
21
+ const carouselSlotRecipeSlotFns = /* @__PURE__ */ carouselSlotRecipeSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, carouselSlotRecipeDefaultVariants, getSlotCompoundVariant(carouselSlotRecipeCompoundVariants, slotName))])
22
+
23
+ const carouselSlotRecipeFn = memo((props = {}) => {
24
+ return Object.fromEntries(carouselSlotRecipeSlotFns.map(([slotName, slotFn]) => [slotName, slotFn(props)]))
25
+ })
26
+
27
+ const carouselSlotRecipeVariantKeys = []
28
+
29
+ export const carouselSlotRecipe = /* @__PURE__ */ Object.assign(carouselSlotRecipeFn, {
30
+ __recipe__: false,
31
+ __name__: 'carouselSlotRecipe',
32
+ raw: (props) => props,
33
+ variantKeys: carouselSlotRecipeVariantKeys,
34
+ variantMap: {},
35
+ splitVariantProps(props) {
36
+ return splitProps(props, carouselSlotRecipeVariantKeys)
37
+ },
38
+ })
@@ -45,4 +45,5 @@ export * from './banner-icon-slot-recipe';
45
45
  export * from './segmented-control-slot-recipe';
46
46
  export * from './toast-slot-recipe';
47
47
  export * from './broadcast-slot-recipe';
48
- export * from './rich-text-editor-slot-recipe';
48
+ export * from './rich-text-editor-slot-recipe';
49
+ export * from './carousel-slot-recipe';
package/recipes/index.mjs CHANGED
@@ -44,4 +44,5 @@ export * from './banner-icon-slot-recipe.mjs';
44
44
  export * from './segmented-control-slot-recipe.mjs';
45
45
  export * from './toast-slot-recipe.mjs';
46
46
  export * from './broadcast-slot-recipe.mjs';
47
- export * from './rich-text-editor-slot-recipe.mjs';
47
+ export * from './carousel-slot-recipe.mjs';
48
+ export * from './rich-text-editor-slot-recipe.mjs';