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.
Files changed (24) hide show
  1. package/dist/components/react/Checkbox/Checkbox.styles.js +1 -1
  2. package/dist/components/react/Checkbox/Checkbox.variants.js +1 -1
  3. package/dist/components/react/DefaultButton/DefaultButton.js +1 -1
  4. package/dist/components/react/DefaultButton/DefaultButton.styles.js +1 -1
  5. package/dist/components/react/DefaultButton/DefaultButton.variants.js +2 -2
  6. package/dist/components/react/IconButton/IconButton.js +1 -1
  7. package/dist/components/react/IconButton/IconButton.styles.js +1 -1
  8. package/dist/components/react/IconButton/IconButton.variants.js +2 -2
  9. package/dist/components/react/Loader/Loader.d.ts +1 -1
  10. package/dist/components/react/Loader/Loader.js +1 -1
  11. package/dist/components/react/Loader/Loader.stories.js +1 -1
  12. package/dist/components/react/OutlineButton/OutlineButton.js +1 -1
  13. package/dist/components/react/OutlineButton/OutlineButton.styles.js +1 -1
  14. package/dist/components/react/OutlineButton/OutlineButton.variants.js +2 -2
  15. package/dist/components/react/RadioInput/RadioInput.styles.js +1 -1
  16. package/dist/components/react/RadioInput/RadioInput.variants.js +1 -1
  17. package/dist/components/react/Switch/Switch.styles.js +1 -1
  18. package/dist/components/react/Switch/Switch.variants.js +1 -1
  19. package/dist/components/react/TransparentButton/TransparentButton.styles.js +1 -1
  20. package/dist/components/react/TransparentButton/TransparentButton.variants.js +2 -2
  21. package/dist/stories/base-colors/base-colors.stories.js +1 -1
  22. package/dist/stories/gradients/gradients.stories.js +1 -1
  23. package/dist/stories/shadows/shadows.stories.js +1 -1
  24. 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 '@/colors';
3
+ import { COLORS } from '../../../colors';
4
4
  export const CheckboxContainer = styled(RadixCheckbox.Root) `
5
5
  all: unset;
6
6
  display: flex;
@@ -1,4 +1,4 @@
1
- import { COLORS } from '@/colors';
1
+ import { COLORS } from '../../../colors';
2
2
  export const DEFAULT_CHECKBOX_VARIANTS = {
3
3
  color: {
4
4
  primary: {
@@ -1,6 +1,6 @@
1
1
  import { __rest } from "tslib";
2
2
  import React, { forwardRef } from 'react';
3
- import { Loader } from '@/components/react/Loader';
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,5 +1,5 @@
1
1
  import styled from 'styled-components';
2
- import { COLORS, SHADOWS } from '@/colors';
2
+ import { COLORS, SHADOWS } from '../../../colors';
3
3
  export const StyledButtonContainer = styled.button `
4
4
  all: unset;
5
5
  position: relative;
@@ -1,5 +1,5 @@
1
- import { COLORS } from '@/colors';
2
- import { FONT, BORDER } from '@/web';
1
+ import { COLORS } from '../../../colors';
2
+ import { FONT, BORDER } from '../../../web';
3
3
  export const DEFAULT_BUTTON_VARIANTS = {
4
4
  color: {
5
5
  primary: {
@@ -1,6 +1,6 @@
1
1
  import { __rest } from "tslib";
2
2
  import React, { forwardRef } from 'react';
3
- import { Loader } from '@/components/react/Loader';
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,5 +1,5 @@
1
1
  import styled from 'styled-components';
2
- import { COLORS, SHADOWS } from '@/colors';
2
+ import { COLORS, SHADOWS } from '../../../colors';
3
3
  export const StyledButtonContainer = styled.button `
4
4
  all: unset;
5
5
  position: relative;
@@ -1,5 +1,5 @@
1
- import { COLORS } from '@/colors';
2
- import { FONT, BORDER } from '@/web';
1
+ import { COLORS } from '../../../colors';
2
+ import { FONT, BORDER } from '../../../web';
3
3
  export const ICON_BUTTON_VARIANTS = {
4
4
  color: {
5
5
  primary: {
@@ -1,4 +1,4 @@
1
- import { COLORS } from '@/colors';
1
+ import { COLORS } from '../../../colors';
2
2
  declare const LOADER_SIZES: {
3
3
  SM: string;
4
4
  MD: string;
@@ -1,5 +1,5 @@
1
1
  import styled from 'styled-components';
2
- import { COLORS } from '@/colors';
2
+ import { COLORS } from '../../../colors';
3
3
  const LOADER_SIZES = {
4
4
  SM: '14px',
5
5
  MD: '20px',
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { Loader as LoaderComponent } from './Loader';
3
- import { COLORS } from '@/colors';
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 '@/components/react/Loader';
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,5 +1,5 @@
1
1
  import styled from 'styled-components';
2
- import { COLORS } from '@/colors';
2
+ import { COLORS } from '../../../colors';
3
3
  export const StyledButtonContainer = styled.button `
4
4
  all: unset;
5
5
  position: relative;
@@ -1,5 +1,5 @@
1
- import { COLORS } from '@/colors';
2
- import { FONT, BORDER } from '@/web';
1
+ import { COLORS } from '../../../colors';
2
+ import { FONT, BORDER } from '../../../web';
3
3
  export const OUTLINE_BUTTON_VARIANTS = {
4
4
  color: {
5
5
  primary: {
@@ -1,5 +1,5 @@
1
1
  import styled from 'styled-components';
2
- import { COLORS } from '@/colors';
2
+ import { COLORS } from '../../../colors';
3
3
  export const StyledRadioInput = styled.input `
4
4
  transition: 0.1s ease-in-out;
5
5
  width: ${(props) => props.width};
@@ -1,4 +1,4 @@
1
- import { COLORS } from '@/colors';
1
+ import { COLORS } from '../../../colors';
2
2
  export const DEFAULT_RADIO_VARIANTS = {
3
3
  color: {
4
4
  primary: {
@@ -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 '@/colors';
3
+ import { COLORS } from '../../../colors';
4
4
  export const SwitchContainer = styled(RadixSwitch.Root) `
5
5
  all: unset;
6
6
  position: relative;
@@ -1,4 +1,4 @@
1
- import { COLORS } from '@/colors';
1
+ import { COLORS } from '../../../colors';
2
2
  export const DEFAULT_SWITCH_VARIANTS = {
3
3
  color: {
4
4
  primary: {
@@ -1,5 +1,5 @@
1
1
  import styled from 'styled-components';
2
- import { COLORS } from '@/colors';
2
+ import { COLORS } from '../../../colors';
3
3
  export const StyledButtonContainer = styled.button `
4
4
  all: unset;
5
5
 
@@ -1,5 +1,5 @@
1
- import { COLORS } from '@/colors';
2
- import { FONT } from '@/web';
1
+ import { COLORS } from '../../../colors';
2
+ import { FONT } from '../../../web';
3
3
  export const TRANSPARENT_BUTTON_VARIANTS = {
4
4
  color: {
5
5
  primary: {
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { COLORS } from '@/colors/base-colors';
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 '@/colors/gradients';
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 '@/colors/shadows';
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",
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-webpack-plugin": "^4.0.1"
64
+ "tsconfig-paths": "^4.2.0",
65
+ "tsconfig-paths-webpack-plugin": "^4.0.1",
66
+ "tscpaths": "^0.0.9"
65
67
  }
66
68
  }