@goncharovv/layout 0.0.4 → 0.1.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/README.md +1 -69
- package/dist/components/Form/Fieldset.d.ts +7 -0
- package/dist/components/Form/Fieldset.js +16 -0
- package/dist/components/Form/Form.d.ts +7 -0
- package/dist/components/Form/Form.js +16 -0
- package/dist/components/Form/Form.module.css +6 -0
- package/dist/components/Form/FormActions.d.ts +7 -0
- package/dist/components/Form/FormActions.js +13 -0
- package/dist/components/Form/index.d.ts +3 -0
- package/dist/components/Form/index.js +3 -0
- package/dist/components/Stacks/HStack.d.ts +2 -2
- package/dist/components/Stacks/HStack.js +2 -3
- package/dist/components/Stacks/Stack.d.ts +7 -3
- package/dist/components/Stacks/Stack.js +15 -9
- package/dist/components/Stacks/Stack.module.css +22 -0
- package/dist/components/Stacks/VStack.d.ts +2 -2
- package/dist/components/Stacks/VStack.js +2 -3
- package/dist/components/Stacks/factory.d.ts +2 -2
- package/dist/components/Stacks/factory.js +0 -1
- package/dist/components/Stacks/index.d.ts +1 -1
- package/dist/components/Stacks/index.js +1 -2
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +1 -1
- package/dist/index.js +0 -1
- package/dist/shared/spacings/config.js +0 -1
- package/dist/shared/spacings/index.js +0 -1
- package/dist/shared/types/index.js +0 -1
- package/dist/styles/index.css +1 -0
- package/dist/styles/spacings.css +20 -0
- package/package.json +1 -1
- package/dist/components/Stacks/HStack.js.map +0 -1
- package/dist/components/Stacks/Stack.js.map +0 -1
- package/dist/components/Stacks/VStack.js.map +0 -1
- package/dist/components/Stacks/factory.js.map +0 -1
- package/dist/components/Stacks/index.js.map +0 -1
- package/dist/components/index.js.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/shared/spacings/config.js.map +0 -1
- package/dist/shared/spacings/index.js.map +0 -1
- package/dist/shared/types/index.js.map +0 -1
package/README.md
CHANGED
|
@@ -1,69 +1 @@
|
|
|
1
|
-
#
|
|
2
|
-
|
|
3
|
-
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
|
|
4
|
-
|
|
5
|
-
Currently, two official plugins are available:
|
|
6
|
-
|
|
7
|
-
- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react) uses [Babel](https://babeljs.io/) for Fast Refresh
|
|
8
|
-
- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh
|
|
9
|
-
|
|
10
|
-
## Expanding the ESLint configuration
|
|
11
|
-
|
|
12
|
-
If you are developing a production application, we recommend updating the configuration to enable type-aware lint rules:
|
|
13
|
-
|
|
14
|
-
```js
|
|
15
|
-
export default defineConfig([
|
|
16
|
-
globalIgnores(['dist']),
|
|
17
|
-
{
|
|
18
|
-
files: ['**/*.{ts,tsx}'],
|
|
19
|
-
extends: [
|
|
20
|
-
// Other configs...
|
|
21
|
-
|
|
22
|
-
// Remove tseslint.configs.recommended and replace with this
|
|
23
|
-
tseslint.configs.recommendedTypeChecked,
|
|
24
|
-
// Alternatively, use this for stricter rules
|
|
25
|
-
tseslint.configs.strictTypeChecked,
|
|
26
|
-
// Optionally, add this for stylistic rules
|
|
27
|
-
tseslint.configs.stylisticTypeChecked,
|
|
28
|
-
|
|
29
|
-
// Other configs...
|
|
30
|
-
],
|
|
31
|
-
languageOptions: {
|
|
32
|
-
parserOptions: {
|
|
33
|
-
project: ['./tsconfig.node.json', './tsconfig.app.json'],
|
|
34
|
-
tsconfigRootDir: import.meta.dirname,
|
|
35
|
-
},
|
|
36
|
-
// other options...
|
|
37
|
-
},
|
|
38
|
-
},
|
|
39
|
-
])
|
|
40
|
-
```
|
|
41
|
-
|
|
42
|
-
You can also install [eslint-plugin-react-x](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-x) and [eslint-plugin-react-dom](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-dom) for React-specific lint rules:
|
|
43
|
-
|
|
44
|
-
```js
|
|
45
|
-
// eslint.config.js
|
|
46
|
-
import reactX from 'eslint-plugin-react-x'
|
|
47
|
-
import reactDom from 'eslint-plugin-react-dom'
|
|
48
|
-
|
|
49
|
-
export default defineConfig([
|
|
50
|
-
globalIgnores(['dist']),
|
|
51
|
-
{
|
|
52
|
-
files: ['**/*.{ts,tsx}'],
|
|
53
|
-
extends: [
|
|
54
|
-
// Other configs...
|
|
55
|
-
// Enable lint rules for React
|
|
56
|
-
reactX.configs['recommended-typescript'],
|
|
57
|
-
// Enable lint rules for React DOM
|
|
58
|
-
reactDom.configs.recommended,
|
|
59
|
-
],
|
|
60
|
-
languageOptions: {
|
|
61
|
-
parserOptions: {
|
|
62
|
-
project: ['./tsconfig.node.json', './tsconfig.app.json'],
|
|
63
|
-
tsconfigRootDir: import.meta.dirname,
|
|
64
|
-
},
|
|
65
|
-
// other options...
|
|
66
|
-
},
|
|
67
|
-
},
|
|
68
|
-
])
|
|
69
|
-
```
|
|
1
|
+
# @goncharovv/layout
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ComponentProps, FunctionComponent } from 'react';
|
|
2
|
+
import { StackProps } from '../Stacks';
|
|
3
|
+
type StackFieldsetProps = Omit<StackProps<'fieldset'>, 'as'>;
|
|
4
|
+
export interface FieldsetProps extends StackFieldsetProps, Omit<ComponentProps<'fieldset'>, keyof StackFieldsetProps> {
|
|
5
|
+
}
|
|
6
|
+
export declare const Fieldset: FunctionComponent<FieldsetProps>;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import cn from 'classnames';
|
|
2
|
+
import { createStack } from '../Stacks/factory';
|
|
3
|
+
import { getStackClassesAndStyles } from '../Stacks/Stack';
|
|
4
|
+
import styles from './Form.module.css';
|
|
5
|
+
export const Fieldset = createStack('Fieldset', {
|
|
6
|
+
overrideProps: (props) => {
|
|
7
|
+
const { direction, horizontal, vertical: _, className, style, ...rest } = props;
|
|
8
|
+
const stackClassesAndStyles = getStackClassesAndStyles({ direction, horizontal, vertical: true, className, style });
|
|
9
|
+
return {
|
|
10
|
+
...rest,
|
|
11
|
+
as: 'fieldset',
|
|
12
|
+
className: cn(styles.fieldset, stackClassesAndStyles.className),
|
|
13
|
+
style: stackClassesAndStyles.style,
|
|
14
|
+
};
|
|
15
|
+
},
|
|
16
|
+
});
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ComponentProps, FunctionComponent } from 'react';
|
|
2
|
+
import { StackProps } from '../Stacks';
|
|
3
|
+
type StackFormProps = Omit<StackProps<'form'>, 'as'>;
|
|
4
|
+
export interface FormProps extends StackFormProps, Omit<ComponentProps<'form'>, keyof StackFormProps> {
|
|
5
|
+
}
|
|
6
|
+
export declare const Form: FunctionComponent<FormProps>;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import cn from 'classnames';
|
|
2
|
+
import { createStack } from '../Stacks/factory';
|
|
3
|
+
import { getStackClassesAndStyles } from '../Stacks/Stack';
|
|
4
|
+
import styles from './Form.module.css';
|
|
5
|
+
export const Form = createStack('Form', {
|
|
6
|
+
overrideProps: (props) => {
|
|
7
|
+
const { direction, horizontal, vertical: _, className, style, ...rest } = props;
|
|
8
|
+
const stackClassesAndStyles = getStackClassesAndStyles({ direction, horizontal, vertical: true, className, style });
|
|
9
|
+
return {
|
|
10
|
+
...rest,
|
|
11
|
+
as: 'form',
|
|
12
|
+
className: cn(styles.form, stackClassesAndStyles.className),
|
|
13
|
+
style: stackClassesAndStyles.style,
|
|
14
|
+
};
|
|
15
|
+
},
|
|
16
|
+
});
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ComponentProps, FunctionComponent } from 'react';
|
|
2
|
+
import { StackProps } from '../Stacks';
|
|
3
|
+
type StackFormProps = Omit<StackProps<'div'>, 'as'>;
|
|
4
|
+
export interface FormActionsProps extends StackFormProps, Omit<ComponentProps<'div'>, keyof StackFormProps> {
|
|
5
|
+
}
|
|
6
|
+
export declare const FormActions: FunctionComponent<FormActionsProps>;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { createStack } from '../Stacks/factory';
|
|
2
|
+
import { getStackClassesAndStyles } from '../Stacks/Stack';
|
|
3
|
+
export const FormActions = createStack('FormActions', {
|
|
4
|
+
overrideProps: (props) => {
|
|
5
|
+
const { direction, horizontal, vertical, className, style, ...rest } = props;
|
|
6
|
+
const stackClassesAndStyles = getStackClassesAndStyles({ direction, horizontal, vertical, className, style });
|
|
7
|
+
return {
|
|
8
|
+
as: 'div',
|
|
9
|
+
...rest,
|
|
10
|
+
...stackClassesAndStyles,
|
|
11
|
+
};
|
|
12
|
+
},
|
|
13
|
+
});
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { BaseStackProps } from './factory';
|
|
2
2
|
export interface HStackProps extends BaseStackProps {
|
|
3
|
-
|
|
3
|
+
reversed?: boolean;
|
|
4
4
|
}
|
|
5
5
|
export declare const HStack: <TElementType extends import("react").ElementType = "div">(props: import("./factory").StackPropsBuilder<TElementType, HStackProps, {
|
|
6
|
-
|
|
6
|
+
reversed?: boolean | undefined;
|
|
7
7
|
as?: "div" | undefined;
|
|
8
8
|
alignItems?: import("csstype").Property.AlignItems | undefined;
|
|
9
9
|
align?: import("csstype").Property.AlignItems | undefined;
|
|
@@ -3,13 +3,12 @@ import { createStack } from './factory';
|
|
|
3
3
|
import styles from './Stack.module.css';
|
|
4
4
|
export const HStack = createStack('HStack', {
|
|
5
5
|
overrideProps: (props) => {
|
|
6
|
-
const {
|
|
6
|
+
const { reversed, className, ...rest } = props;
|
|
7
7
|
return {
|
|
8
8
|
...rest,
|
|
9
9
|
className: cn(styles.horizontal, {
|
|
10
|
-
[styles.reversed]:
|
|
10
|
+
[styles.reversed]: reversed,
|
|
11
11
|
}, className),
|
|
12
12
|
};
|
|
13
13
|
},
|
|
14
14
|
});
|
|
15
|
-
//# sourceMappingURL=HStack.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { CSSProperties } from 'react';
|
|
1
|
+
import { CSSProperties, ElementType } from 'react';
|
|
2
2
|
import { BaseStackProps } from './factory';
|
|
3
3
|
export type StackDirection = 'vertical' | 'horizontal';
|
|
4
|
-
export interface StackProps extends BaseStackProps {
|
|
4
|
+
export interface StackProps<TElementType extends ElementType = 'div'> extends BaseStackProps<TElementType> {
|
|
5
5
|
vertical?: boolean;
|
|
6
6
|
horizontal?: boolean;
|
|
7
7
|
direction?: CSSProperties['flexDirection'];
|
|
8
8
|
}
|
|
9
|
-
export declare const Stack: <TElementType extends
|
|
9
|
+
export declare const Stack: <TElementType extends ElementType = "div">(props: import("./factory").StackPropsBuilder<TElementType, StackProps<"div">, {
|
|
10
10
|
vertical?: boolean | undefined;
|
|
11
11
|
horizontal?: boolean | undefined;
|
|
12
12
|
direction?: import("csstype").Property.FlexDirection | undefined;
|
|
@@ -23,3 +23,7 @@ export declare const Stack: <TElementType extends import("react").ElementType =
|
|
|
23
23
|
children?: import("react").ReactNode;
|
|
24
24
|
spacing?: import("../../shared/spacings").Spacing | undefined;
|
|
25
25
|
}>) => import("react").ReactNode;
|
|
26
|
+
export declare function getStackClassesAndStyles(props: Pick<StackProps, 'direction' | 'horizontal' | 'vertical' | 'className' | 'style'>): {
|
|
27
|
+
className: string;
|
|
28
|
+
style: CSSProperties;
|
|
29
|
+
};
|
|
@@ -3,17 +3,23 @@ import { createStack } from './factory';
|
|
|
3
3
|
import styles from './Stack.module.css';
|
|
4
4
|
export const Stack = createStack('Stack', {
|
|
5
5
|
overrideProps: (props) => {
|
|
6
|
-
const { direction, horizontal, vertical, className, ...rest } = props;
|
|
6
|
+
const { direction, horizontal, vertical, className, style, ...rest } = props;
|
|
7
7
|
return {
|
|
8
8
|
...rest,
|
|
9
|
-
className
|
|
10
|
-
[styles.vertical]: vertical,
|
|
11
|
-
[styles.horizontal]: horizontal,
|
|
12
|
-
}, className),
|
|
13
|
-
styles: {
|
|
14
|
-
flexDirection: direction,
|
|
15
|
-
},
|
|
9
|
+
...getStackClassesAndStyles({ direction, horizontal, vertical, className, style }),
|
|
16
10
|
};
|
|
17
11
|
},
|
|
18
12
|
});
|
|
19
|
-
|
|
13
|
+
export function getStackClassesAndStyles(props) {
|
|
14
|
+
const { direction, horizontal, vertical, className, style } = props;
|
|
15
|
+
return {
|
|
16
|
+
className: cn({
|
|
17
|
+
[styles.vertical]: vertical && !horizontal && !direction,
|
|
18
|
+
[styles.horizontal]: horizontal && !direction,
|
|
19
|
+
}, className),
|
|
20
|
+
style: {
|
|
21
|
+
flexDirection: direction,
|
|
22
|
+
...style,
|
|
23
|
+
},
|
|
24
|
+
};
|
|
25
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
.stack {
|
|
2
|
+
display: flex;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.vertical {
|
|
6
|
+
flex-direction: column;
|
|
7
|
+
}
|
|
8
|
+
.vertical.reversed {
|
|
9
|
+
flex-direction: column-reverse;;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.horizontal {
|
|
13
|
+
flex-direction: row;
|
|
14
|
+
}
|
|
15
|
+
.horizontal.reversed {
|
|
16
|
+
flex-direction: row-reverse;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.centered {
|
|
20
|
+
align-items: center;
|
|
21
|
+
justify-content: center;
|
|
22
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { BaseStackProps } from './factory';
|
|
2
2
|
export interface VStackProps extends BaseStackProps {
|
|
3
|
-
|
|
3
|
+
reversed?: boolean;
|
|
4
4
|
}
|
|
5
5
|
export declare const VStack: <TElementType extends import("react").ElementType = "div">(props: import("./factory").StackPropsBuilder<TElementType, VStackProps, {
|
|
6
|
-
|
|
6
|
+
reversed?: boolean | undefined;
|
|
7
7
|
as?: "div" | undefined;
|
|
8
8
|
alignItems?: import("csstype").Property.AlignItems | undefined;
|
|
9
9
|
align?: import("csstype").Property.AlignItems | undefined;
|
|
@@ -3,13 +3,12 @@ import { createStack } from './factory';
|
|
|
3
3
|
import styles from './Stack.module.css';
|
|
4
4
|
export const VStack = createStack('VStack', {
|
|
5
5
|
overrideProps: (props) => {
|
|
6
|
-
const {
|
|
6
|
+
const { reversed, className, ...rest } = props;
|
|
7
7
|
return {
|
|
8
8
|
...rest,
|
|
9
9
|
className: cn(styles.vertical, {
|
|
10
|
-
[styles.reversed]:
|
|
10
|
+
[styles.reversed]: reversed,
|
|
11
11
|
}, className),
|
|
12
12
|
};
|
|
13
13
|
},
|
|
14
14
|
});
|
|
15
|
-
//# sourceMappingURL=VStack.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ComponentProps, CSSProperties, ElementType, PropsWithChildren, ReactNode } from 'react';
|
|
2
2
|
import { PropsWithSpacing } from '../../shared/spacings';
|
|
3
3
|
import { Prettify } from '../../shared/types';
|
|
4
4
|
export interface BaseStackProps<TElementType extends ElementType = 'div'> extends PropsWithChildren, PropsWithSpacing {
|
|
@@ -39,7 +39,7 @@ export interface BaseStackProps<TElementType extends ElementType = 'div'> extend
|
|
|
39
39
|
*/
|
|
40
40
|
export type StackPropsBuilder<TElementType extends ElementType, TProps, _TPropsHint = Prettify<TProps>> = {
|
|
41
41
|
as?: TElementType;
|
|
42
|
-
} & Omit<TProps, 'as'> & Omit<
|
|
42
|
+
} & Omit<TProps, 'as'> & Omit<ComponentProps<TElementType>, keyof Omit<TProps, 'as'>>;
|
|
43
43
|
export declare function createStack<TProps extends BaseStackProps>(name: string, options: {
|
|
44
44
|
overrideProps?: (props: TProps) => BaseStackProps;
|
|
45
45
|
}): <TElementType extends ElementType = "div">(props: StackPropsBuilder<TElementType, TProps>) => ReactNode;
|
package/dist/components/index.js
CHANGED
package/dist/index.js
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import './spacings.css';
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* MUST keep in sync with the `shared/spacings/config.ts`
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
:root {
|
|
6
|
+
--spacing-small-xxs: 0px;
|
|
7
|
+
--spacing-small-xs: 2px;
|
|
8
|
+
--spacing-small-s: 4px;
|
|
9
|
+
--spacing-small-m: 6px;
|
|
10
|
+
--spacing-small-l: 8px;
|
|
11
|
+
--spacing-medium-xs: 12px;
|
|
12
|
+
--spacing-medium-s: 16px;
|
|
13
|
+
--spacing-medium-m: 20px;
|
|
14
|
+
--spacing-medium-l: 24px;
|
|
15
|
+
--spacing-large-xxs: 32px;
|
|
16
|
+
--spacing-large-xs: 40px;
|
|
17
|
+
--spacing-large-s: 48px;
|
|
18
|
+
--spacing-large-m: 64px;
|
|
19
|
+
--spacing-large-l: 80px;
|
|
20
|
+
}
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"HStack.js","sourceRoot":"","sources":["../../../lib/components/Stacks/HStack.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,YAAY,CAAC;AAE5B,OAAO,EAAkB,WAAW,EAAE,MAAM,WAAW,CAAC;AAExD,OAAO,MAAM,MAAM,oBAAoB,CAAC;AAOxC,MAAM,CAAC,MAAM,MAAM,GAAG,WAAW,CAAc,QAAQ,EAAE;IACvD,aAAa,EAAE,CAAC,KAAK,EAAE,EAAE;QACvB,MAAM,EAAE,OAAO,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,GAAG,KAAK,CAAC;QAE9C,OAAO;YACL,GAAG,IAAI;YACP,SAAS,EAAE,EAAE,CAAC,MAAM,CAAC,UAAU,EAAE;gBAC/B,CAAC,MAAM,CAAC,QAAQ,CAAC,EAAE,OAAO;aAC3B,EAAE,SAAS,CAAC;SACd,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Stack.js","sourceRoot":"","sources":["../../../lib/components/Stacks/Stack.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,YAAY,CAAC;AAE5B,OAAO,EAAkB,WAAW,EAAE,MAAM,WAAW,CAAC;AAExD,OAAO,MAAM,MAAM,oBAAoB,CAAC;AAYxC,MAAM,CAAC,MAAM,KAAK,GAAG,WAAW,CAAa,OAAO,EAAE;IACpD,aAAa,EAAE,CAAC,KAAK,EAAE,EAAE;QACvB,MAAM,EAAE,SAAS,EAAE,UAAU,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,GAAG,KAAK,CAAC;QAEtE,OAAO;YACL,GAAG,IAAI;YACP,SAAS,EAAE,EAAE,CACX;gBACE,CAAC,MAAM,CAAC,QAAQ,CAAC,EAAE,QAAQ;gBAC3B,CAAC,MAAM,CAAC,UAAU,CAAC,EAAE,UAAU;aAChC,EACD,SAAS,CACV;YACD,MAAM,EAAE;gBACN,aAAa,EAAE,SAAS;aACzB;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"VStack.js","sourceRoot":"","sources":["../../../lib/components/Stacks/VStack.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,YAAY,CAAC;AAE5B,OAAO,EAAkB,WAAW,EAAE,MAAM,WAAW,CAAC;AAExD,OAAO,MAAM,MAAM,oBAAoB,CAAC;AAQxC,MAAM,CAAC,MAAM,MAAM,GAAG,WAAW,CAAc,QAAQ,EAAE;IACvD,aAAa,EAAE,CAAC,KAAK,EAAE,EAAE;QACvB,MAAM,EAAE,OAAO,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,GAAG,KAAK,CAAC;QAE9C,OAAO;YACL,GAAG,IAAI;YACP,SAAS,EAAE,EAAE,CAAC,MAAM,CAAC,QAAQ,EAAE;gBAC7B,CAAC,MAAM,CAAC,QAAQ,CAAC,EAAE,OAAO;aAC3B,EAAE,SAAS,CAAC;SACd,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"factory.js","sourceRoot":"","sources":["../../../lib/components/Stacks/factory.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,MAAM,YAAY,CAAC;AAE5B,OAAO,EAAE,gBAAgB,EAAoB,MAAM,uBAAuB,CAAC;AAG3E,OAAO,MAAM,MAAM,oBAAoB,CAAC;AAoDxC,MAAM,UAAU,WAAW,CACzB,IAAY,EACZ,OAA+D;IAE/D,MAAM,SAAS,GAAG,SAAS,YAAY,CACrC,MAAwC;QAExC,MAAM,KAAK,GAAG,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC,MAAgB,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC;QAEvF,wDAAwD;QACxD,MAAM,EACJ,EAAE,EAAE,OAAO,GAAG,KAAK,EACnB,KAAK,EACL,UAAU,EACV,QAAQ,EACR,GAAG,EACH,OAAO,EACP,cAAc,EACd,OAAO,EACP,KAAK,EACL,IAAI,EACJ,SAAS,EACT,QAAQ,EACR,GAAG,IAAI,EACR,GAAG,KAAK,CAAC;QAEV,OAAO,CACL,KAAC,OAAO,OACF,IAAI,EACR,SAAS,EAAE,EAAE,CACX,MAAM,CAAC,KAAK,EACZ;gBACE,CAAC,MAAM,CAAC,QAAQ,CAAC,EAAE,QAAQ;aAC5B,EACD,SAAS,CACV,EACD,KAAK,EAAE;gBACL,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG;gBAClD,QAAQ,EAAE,IAAI,KAAK,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI;gBACvC,UAAU,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,UAAU,IAAI,KAAK,CAAC;gBACxD,cAAc,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,cAAc,IAAI,OAAO,CAAC;gBAClE,GAAG,KAAK;aACT,YAEA,QAAQ,GACD,CACX,CAAC;IACJ,CAAC,CAAC;IAEF,SAAS,CAAC,WAAW,GAAG,IAAI,CAAC;IAE7B;;OAEG;IACH,OAAO,SAEO,CAAC;AACjB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../lib/components/Stacks/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../lib/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC"}
|
package/dist/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../lib/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"config.js","sourceRoot":"","sources":["../../../lib/shared/spacings/config.ts"],"names":[],"mappings":"AAGA,EAAE;AACF,4CAA4C;AAC5C,EAAE;AACF,MAAM,CAAC,MAAM,QAAQ,GAAG;IACtB,MAAM,EAAE,CAAC;IACT,UAAU,EAAE,CAAC;IACb,SAAS,EAAE,CAAC;IACZ,SAAS,EAAE,CAAC;IACZ,SAAS,EAAE,CAAC;IACZ,WAAW,EAAE,EAAE;IACf,UAAU,EAAE,EAAE;IACd,UAAU,EAAE,EAAE;IACd,UAAU,EAAE,EAAE;IACd,WAAW,EAAE,EAAE;IACf,UAAU,EAAE,EAAE;IACd,SAAS,EAAE,EAAE;IACb,SAAS,EAAE,EAAE;IACb,SAAS,EAAE,EAAE;CACd,CAAC;AA4BF,MAAM,UAAU,UAAU,CAAC,OAA4B;IACrD,IAAI,CAAC,OAAO,EAAE,CAAC;QACb,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,OAAO,QAAQ,CAAC,OAAO,CAAC,CAAC;AAC3B,CAAC;AAED,MAAM,UAAU,gBAAgB,CAAC,OAA4B;IAC3D,OAAO;QACL,GAAG,EAAE,iBAAiB,OAAO,GAAG;KACjC,CAAC;AACJ,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../lib/shared/spacings/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../lib/shared/types/index.ts"],"names":[],"mappings":""}
|