@stokelp/styled-system 2.48.2 → 2.49.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stokelp/styled-system",
3
- "version": "2.48.2",
3
+ "version": "2.49.1",
4
4
  "description": "Stokelp UI styled-system",
5
5
  "type": "module",
6
6
  "publishConfig": {
@@ -220,6 +220,7 @@
220
220
  "colorScheme]___[value:aromatic]___[recipe:chip"
221
221
  ],
222
222
  "breadcrumb": [],
223
+ "checkboxGroup": [],
223
224
  "button": [
224
225
  "size]___[value:lg]___[recipe:button",
225
226
  "variant]___[value:tertiary]___[recipe:button",
@@ -0,0 +1,28 @@
1
+ /* eslint-disable */
2
+ import type { ConditionalValue } from '../types/index';
3
+ import type { DistributiveOmit, Pretty } from '../types/system-types';
4
+
5
+ interface CheckboxGroupVariant {
6
+
7
+ }
8
+
9
+ type CheckboxGroupVariantMap = {
10
+ [key in keyof CheckboxGroupVariant]: Array<CheckboxGroupVariant[key]>
11
+ }
12
+
13
+ export type CheckboxGroupVariantProps = {
14
+ [key in keyof CheckboxGroupVariant]?: ConditionalValue<CheckboxGroupVariant[key]> | undefined
15
+ }
16
+
17
+ export interface CheckboxGroupRecipe {
18
+ __type: CheckboxGroupVariantProps
19
+ (props?: CheckboxGroupVariantProps): string
20
+ raw: (props?: CheckboxGroupVariantProps) => CheckboxGroupVariantProps
21
+ variantMap: CheckboxGroupVariantMap
22
+ variantKeys: Array<keyof CheckboxGroupVariant>
23
+ splitVariantProps<Props extends CheckboxGroupVariantProps>(props: Props): [CheckboxGroupVariantProps, Pretty<DistributiveOmit<Props, keyof CheckboxGroupVariantProps>>]
24
+ getVariantProps: (props?: CheckboxGroupVariantProps) => CheckboxGroupVariantProps
25
+ }
26
+
27
+
28
+ export declare const checkboxGroup: CheckboxGroupRecipe
@@ -0,0 +1,24 @@
1
+ import { memo, splitProps } from '../helpers.mjs';
2
+ import { createRecipe, mergeRecipes } from './create-recipe.mjs';
3
+
4
+ const checkboxGroupFn = /* @__PURE__ */ createRecipe('checkbox-group', {}, [])
5
+
6
+ const checkboxGroupVariantMap = {}
7
+
8
+ const checkboxGroupVariantKeys = Object.keys(checkboxGroupVariantMap)
9
+
10
+ export const checkboxGroup = /* @__PURE__ */ Object.assign(memo(checkboxGroupFn.recipeFn), {
11
+ __recipe__: true,
12
+ __name__: 'checkboxGroup',
13
+ __getCompoundVariantCss__: checkboxGroupFn.__getCompoundVariantCss__,
14
+ raw: (props) => props,
15
+ variantKeys: checkboxGroupVariantKeys,
16
+ variantMap: checkboxGroupVariantMap,
17
+ merge(recipe) {
18
+ return mergeRecipes(this, recipe)
19
+ },
20
+ splitVariantProps(props) {
21
+ return splitProps(props, checkboxGroupVariantKeys)
22
+ },
23
+ getVariantProps: checkboxGroupFn.getVariantProps,
24
+ })
@@ -20,6 +20,7 @@ export * from './icon';
20
20
  export * from './flag';
21
21
  export * from './avatar-group';
22
22
  export * from './tabs-chip';
23
+ export * from './checkbox-group';
23
24
  export * from './drawer';
24
25
  export * from './radio-button-group';
25
26
  export * from './radio-group';
package/recipes/index.mjs CHANGED
@@ -19,6 +19,7 @@ export * from './icon.mjs';
19
19
  export * from './flag.mjs';
20
20
  export * from './avatar-group.mjs';
21
21
  export * from './tabs-chip.mjs';
22
+ export * from './checkbox-group.mjs';
22
23
  export * from './drawer.mjs';
23
24
  export * from './radio-button-group.mjs';
24
25
  export * from './radio-group.mjs';