reaxify 1.3.0 → 1.3.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.
@@ -0,0 +1,47 @@
1
+ import { InputType } from '@storybook/core/csf';
2
+ export declare const COLORS: readonly ["primary", "secondary", "success", "info", "warning", "danger", "dark", "light"];
3
+ export declare const SIZES: readonly ["sm", "md", "lg"];
4
+ export declare const BUTTON_SIZES: readonly ["sm", "md", "lg", "icon"];
5
+ export declare const BADGE_VARIANTS: readonly ["solid", "outline", "soft"];
6
+ export declare const BUTTON_VARIANTS: readonly ["solid", "outline", "text", "soft"];
7
+ export declare const ALERT_VARIANTS: readonly ["solid", "outline", "soft"];
8
+ export declare const TYPOGRAPHY_VARIANTS: readonly ["heading-1", "heading-2", "heading-3", "heading-4", "heading-5", "heading-6", "body-1", "body-2", "body-3"];
9
+ export declare const DIVIDER_ORIENTATIONS: readonly ["horizontal", "vertical"];
10
+ export declare const DIVIDER_VARIANTS: readonly ["solid", "dashed", "dotted"];
11
+ export declare const STACK_DIRECTIONS: readonly ["row", "column"];
12
+ export declare const DRAWER_ANCHORS: readonly ["start", "end", "top", "bottom"];
13
+ export declare const TOOLTIP_PLACEMENTS: readonly ["top", "end", "bottom", "start"];
14
+ export declare const TOGGLE_TRIGGER_ON: readonly ["hover", "click", "contextMenu"];
15
+ export declare const BUTTON_GROUP_ORIENTATIONS: readonly ["horizontal", "vertical"];
16
+ export declare const ACCORDION_VARIANTS: readonly ["single", "multiple"];
17
+ type ArgControl = NonNullable<InputType["control"]>;
18
+ export declare function argType(description: string, defaultValue: string | number | boolean, control: ArgControl, options?: readonly string[]): InputType;
19
+ export declare const hidden: InputType;
20
+ export declare const actionHidden: InputType;
21
+ export declare const colorArgType: InputType;
22
+ export declare const sizeArgType: InputType;
23
+ export declare const buttonSizeArgType: InputType;
24
+ export declare const badgeVariantArgType: InputType;
25
+ export declare const buttonVariantArgType: InputType;
26
+ export declare const alertVariantArgType: InputType;
27
+ export declare const typographyVariantArgType: InputType;
28
+ export declare const dividerOrientationArgType: InputType;
29
+ export declare const dividerVariantArgType: InputType;
30
+ export declare const stackDirectionArgType: InputType;
31
+ export declare const drawerAnchorArgType: InputType;
32
+ export declare const tooltipPlacementArgType: InputType;
33
+ export declare const toggleTriggerOnArgType: InputType;
34
+ export declare const buttonGroupOrientationArgType: InputType;
35
+ export declare const accordionVariantArgType: InputType;
36
+ export declare function booleanArg(description: string, defaultValue: boolean): InputType;
37
+ export declare function textArg(description: string, defaultValue: string): InputType;
38
+ export declare function numberArg(description: string, defaultValue: number): InputType;
39
+ export declare function rangeArg(description: string, defaultValue: number, min: number, max: number, step?: number): InputType;
40
+ export declare const polymorphicHidden: {
41
+ as: InputType;
42
+ className: InputType;
43
+ ref: InputType;
44
+ children: InputType;
45
+ };
46
+ export type { InputType };
47
+ //# sourceMappingURL=argTypes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"argTypes.d.ts","sourceRoot":"","sources":["../../src/storybook/argTypes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAErD,eAAO,MAAM,MAAM,4FAST,CAAC;AAEX,eAAO,MAAM,KAAK,6BAA8B,CAAC;AAEjD,eAAO,MAAM,YAAY,qCAAsC,CAAC;AAEhE,eAAO,MAAM,cAAc,uCAAwC,CAAC;AAEpE,eAAO,MAAM,eAAe,+CAAgD,CAAC;AAE7E,eAAO,MAAM,cAAc,uCAAwC,CAAC;AAEpE,eAAO,MAAM,mBAAmB,uHAUtB,CAAC;AAEX,eAAO,MAAM,oBAAoB,qCAAsC,CAAC;AAExE,eAAO,MAAM,gBAAgB,wCAAyC,CAAC;AAEvE,eAAO,MAAM,gBAAgB,4BAA6B,CAAC;AAE3D,eAAO,MAAM,cAAc,4CAA6C,CAAC;AAEzE,eAAO,MAAM,kBAAkB,4CAA6C,CAAC;AAE7E,eAAO,MAAM,iBAAiB,4CAA6C,CAAC;AA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AAY,EAAE,MAAM,GACnB,SAAS,CAMX;AAED,wBAAgB,QAAQ,CACtB,WAAW,EAAE,MAAM,EACnB,YAAY,EAAE,MAAM,EACpB,GAAG,EAAE,MAAM,EACX,GAAG,EAAE,MAAM,EACX,IAAI,SAAI,GACP,SAAS,CAMX;AAED,eAAO,MAAM,iBAAiB;;;;;CAK7B,CAAC;AAEF,YAAY,EAAE,SAAS,EAAE,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { StoryObj } from '@storybook/react';
2
+ export declare const staticStoryParameters: {
3
+ controls: {
4
+ disable: boolean;
5
+ };
6
+ };
7
+ export declare function asStaticStory(render: StoryObj["render"]): StoryObj;
8
+ //# sourceMappingURL=parameters.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"parameters.d.ts","sourceRoot":"","sources":["../../src/storybook/parameters.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAEjD,eAAO,MAAM,qBAAqB;;;;CAEjC,CAAC;AAEF,wBAAgB,aAAa,CAAC,MAAM,EAAE,QAAQ,CAAC,QAAQ,CAAC,GAAG,QAAQ,CAKlE"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "reaxify",
3
3
  "private": false,
4
- "version": "1.3.0",
4
+ "version": "1.3.1",
5
5
  "type": "module",
6
6
  "types": "./dist/index.d.ts",
7
7
  "files": [