beyond-system 0.1.4 → 0.1.5
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/components/react/Checkbox/Checkbox.styles.js +1 -1
- package/dist/components/react/Checkbox/Checkbox.variants.js +1 -1
- package/dist/components/react/DefaultButton/DefaultButton.js +1 -1
- package/dist/components/react/DefaultButton/DefaultButton.styles.js +1 -1
- package/dist/components/react/DefaultButton/DefaultButton.variants.js +2 -2
- package/dist/components/react/IconButton/IconButton.js +1 -1
- package/dist/components/react/IconButton/IconButton.styles.js +1 -1
- package/dist/components/react/IconButton/IconButton.variants.js +2 -2
- package/dist/components/react/Loader/Loader.d.ts +1 -1
- package/dist/components/react/Loader/Loader.js +1 -1
- package/dist/components/react/Loader/Loader.stories.js +1 -1
- package/dist/components/react/OutlineButton/OutlineButton.js +1 -1
- package/dist/components/react/OutlineButton/OutlineButton.styles.js +1 -1
- package/dist/components/react/OutlineButton/OutlineButton.variants.js +2 -2
- package/dist/components/react/RadioInput/RadioInput.styles.js +1 -1
- package/dist/components/react/RadioInput/RadioInput.variants.js +1 -1
- package/dist/components/react/Switch/Switch.styles.js +1 -1
- package/dist/components/react/Switch/Switch.variants.js +1 -1
- package/dist/components/react/TransparentButton/TransparentButton.styles.js +1 -1
- package/dist/components/react/TransparentButton/TransparentButton.variants.js +2 -2
- package/dist/stories/base-colors/base-colors.stories.js +1 -1
- package/dist/stories/gradients/gradients.stories.js +1 -1
- package/dist/stories/shadows/shadows.stories.js +1 -1
- package/package.json +5 -3
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import styled from 'styled-components';
|
|
2
2
|
import * as RadixCheckbox from '@radix-ui/react-checkbox';
|
|
3
|
-
import { COLORS } from '
|
|
3
|
+
import { COLORS } from '../../../colors';
|
|
4
4
|
export const CheckboxContainer = styled(RadixCheckbox.Root) `
|
|
5
5
|
all: unset;
|
|
6
6
|
display: flex;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __rest } from "tslib";
|
|
2
2
|
import React, { forwardRef } from 'react';
|
|
3
|
-
import { Loader } from '
|
|
3
|
+
import { Loader } from '../Loader';
|
|
4
4
|
import { DEFAULT_BUTTON_VARIANTS } from './DefaultButton.variants';
|
|
5
5
|
import { StyledButtonContainer } from './DefaultButton.styles';
|
|
6
6
|
const DefaultButton = forwardRef((_a, ref) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __rest } from "tslib";
|
|
2
2
|
import React, { forwardRef } from 'react';
|
|
3
|
-
import { Loader } from '
|
|
3
|
+
import { Loader } from '../Loader';
|
|
4
4
|
import { ICON_BUTTON_VARIANTS } from './IconButton.variants';
|
|
5
5
|
import { StyledButtonContainer } from './IconButton.styles';
|
|
6
6
|
const IconButton = forwardRef((_a, ref) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Loader as LoaderComponent } from './Loader';
|
|
3
|
-
import { COLORS } from '
|
|
3
|
+
import { COLORS } from '../../../colors';
|
|
4
4
|
export const Loader = (props) => {
|
|
5
5
|
return React.createElement(LoaderComponent, Object.assign({}, props));
|
|
6
6
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __rest } from "tslib";
|
|
2
2
|
import React, { forwardRef } from 'react';
|
|
3
|
-
import { Loader } from '
|
|
3
|
+
import { Loader } from '../Loader';
|
|
4
4
|
import { StyledButtonContainer } from './OutlineButton.styles';
|
|
5
5
|
import { OUTLINE_BUTTON_VARIANTS } from './OutlineButton.variants';
|
|
6
6
|
const OutlineButton = forwardRef((_a, ref) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import styled from 'styled-components';
|
|
2
2
|
import * as RadixSwitch from '@radix-ui/react-switch';
|
|
3
|
-
import { COLORS } from '
|
|
3
|
+
import { COLORS } from '../../../colors';
|
|
4
4
|
export const SwitchContainer = styled(RadixSwitch.Root) `
|
|
5
5
|
all: unset;
|
|
6
6
|
position: relative;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { COLORS } from '
|
|
2
|
+
import { COLORS } from '../../colors/base-colors';
|
|
3
3
|
import { BaseColorsContainer, StyledSquare } from './base-colors.stories.styles';
|
|
4
4
|
const getColorValue = (color) => {
|
|
5
5
|
const colorParts = color.split('.');
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { GRADIENTS } from '
|
|
2
|
+
import { GRADIENTS } from '../../colors/gradients';
|
|
3
3
|
import { BaseColorsContainer, StyledSquare } from './gradients.stories.styles';
|
|
4
4
|
const handleCopyToClipboard = (hex) => {
|
|
5
5
|
navigator.clipboard.writeText(hex);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { SHADOWS } from '
|
|
2
|
+
import { SHADOWS } from '../../colors/shadows';
|
|
3
3
|
import { BaseColorsContainer, StyledSquare } from './shadows.stories.styles';
|
|
4
4
|
const handleCopyToClipboard = (hex) => {
|
|
5
5
|
navigator.clipboard.writeText(hex);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "beyond-system",
|
|
3
3
|
"author": "Growth Machine",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.5",
|
|
5
5
|
"private": false,
|
|
6
6
|
"main": "./dist/index.js",
|
|
7
7
|
"module": "./dist/index.js",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"license": "MIT",
|
|
10
10
|
"scripts": {
|
|
11
11
|
"dev": "start-storybook -p 6006",
|
|
12
|
-
"build": "tsc",
|
|
12
|
+
"build": "tsc --project tsconfig.json && tscpaths -p tsconfig.json -s ./src -o ./dist",
|
|
13
13
|
"prepare": "npm run build",
|
|
14
14
|
"lint": "eslint .",
|
|
15
15
|
"storybook": "start-storybook -p 6006 -s public",
|
|
@@ -61,6 +61,8 @@
|
|
|
61
61
|
"eslint-plugin-prettier": "^4.2.1",
|
|
62
62
|
"eslint-plugin-storybook": "^0.6.11",
|
|
63
63
|
"prettier": "^2.8.6",
|
|
64
|
-
"tsconfig-paths
|
|
64
|
+
"tsconfig-paths": "^4.2.0",
|
|
65
|
+
"tsconfig-paths-webpack-plugin": "^4.0.1",
|
|
66
|
+
"tscpaths": "^0.0.9"
|
|
65
67
|
}
|
|
66
68
|
}
|