@soul-refiner/design-system 0.1.34 → 0.1.35

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.
@@ -1,4 +1,4 @@
1
- import { BackgroundColor, BorderRadius, Color, Elevation, Flex, Margin, Padding, Styleable, TextClamp, TypographyStyle, TypographyWeight } from 'types';
1
+ import { BackgroundColor, BorderRadius, Color, Elevation, Flex, Margin, Padding, Styleable, TextClamp, TypographyStyle, TypographyWeight } from '../types';
2
2
  export declare namespace Styles {
3
3
  const backgroundColor: import("styled-components").RuleSet<BackgroundColor>;
4
4
  const borderRadius: import("styled-components").RuleSet<BorderRadius>;
@@ -3,7 +3,7 @@ import styled, { css } from 'styled-components';
3
3
  import { Styles } from '../../../common';
4
4
  import { P } from '../../';
5
5
  import { Box } from '../../atoms/box/box';
6
- import { ChevronDown, ChevronUp } from 'icons';
6
+ import { ChevronDown, ChevronUp } from '../../../icons';
7
7
  const LG_ICON_SIZE = 20;
8
8
  const LG_ICON_SIZE_WO_CHILDREN = 24;
9
9
  const LG_FONT_SIZE = 16;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { COLORS } from 'common';
2
+ import { COLORS } from '../../../common';
3
3
  type UploadTypes = 'audio' | 'image' | 'file' | 'video';
4
4
  export interface UploadProps extends React.PropsWithChildren {
5
5
  background: (typeof COLORS)[number] | string;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import styled from 'styled-components';
3
- import { COLORS } from 'common';
3
+ import { COLORS } from '../../../common';
4
4
  import { Box, Button, P } from '../../';
5
5
  import { UploadAudio, UploadFile, UploadImage, UploadVideo, } from '../../../icons';
6
6
  export const Upload = ({ background = 'hue-blue-3', borderColor = 'hue-blue-2', children, iconColor = 'primary-blue-2', multiple, onDrop, size = 'large', subtext, text, type, }) => {
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import styled from 'styled-components';
3
- import { Styles } from 'common';
3
+ import { Styles } from '../../../common';
4
4
  export const P = ({ as = 'p', children, $fontSize = 16, $lineHeight = 24, $textAlign = 'left', ...rest }) => (React.createElement(StyledP, { as: as, "$fontSize": $fontSize, "$lineHeight": $lineHeight, "$textAlign": $textAlign, ...rest }, children));
5
5
  const StyledP = styled.p `
6
6
  margin: 0px;
@@ -1,4 +1,4 @@
1
- import { Color, Styleable, TextClamp, TypographyStyle, TypographyWeight } from 'types';
1
+ import { Color, Styleable, TextClamp, TypographyStyle, TypographyWeight } from '../../../types';
2
2
  export type TypographyProps = Pick<React.HTMLAttributes<HTMLParagraphElement>, 'children' | 'className' | 'dangerouslySetInnerHTML' | 'id' | 'onBlur' | 'onBlurCapture' | 'onClick' | 'onChange' | 'onCopy' | 'onCut' | 'onKeyDown' | 'onKeyDownCapture' | 'onKeyUp' | 'onKeyUpCapture' | 'onMouseDown' | 'onMouseDownCapture' | 'onMouseEnter' | 'onMouseLeave' | 'onMouseOut' | 'onMouseOver'> & {
3
3
  value?: string;
4
4
  href?: string;
@@ -1,5 +1,5 @@
1
1
  import styled from 'styled-components';
2
- import { Styles } from 'common';
2
+ import { Styles } from '../../../common';
3
3
  export const Typography = styled.p `
4
4
  margin: 0px;
5
5
  font-family: Inter;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soul-refiner/design-system",
3
- "version": "0.1.34",
3
+ "version": "0.1.35",
4
4
  "main": "dist/index.js",
5
5
  "license": "MIT",
6
6
  "publishConfig": {
@@ -11,7 +11,7 @@ import {
11
11
  TextClamp,
12
12
  TypographyStyle,
13
13
  TypographyWeight,
14
- } from 'types';
14
+ } from '../types';
15
15
  import { colorReference } from './colors';
16
16
 
17
17
  export namespace Styles {
@@ -3,7 +3,7 @@ import styled, { css } from 'styled-components';
3
3
  import { Styles } from '../../../common';
4
4
  import { P } from '../../';
5
5
  import { Box } from '../../atoms/box/box';
6
- import { ChevronDown, ChevronUp } from 'icons';
6
+ import { ChevronDown, ChevronUp } from '../../../icons';
7
7
 
8
8
  const LG_ICON_SIZE = 20;
9
9
  const LG_ICON_SIZE_WO_CHILDREN = 24;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import styled from 'styled-components';
3
- import { COLORS } from 'common';
3
+ import { COLORS } from '../../../common';
4
4
  import { Box, Button, P } from '../../';
5
5
  import {
6
6
  UploadAudio,
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import styled from 'styled-components';
3
3
  import { TypographyProps } from './typography';
4
- import { Styles } from 'common';
4
+ import { Styles } from '../../../common';
5
5
 
6
6
  export interface CommonProps extends TypographyProps {
7
7
  as?: React.ElementType;
@@ -1,12 +1,12 @@
1
1
  import styled from 'styled-components';
2
- import { Styles } from 'common';
2
+ import { Styles } from '../../../common';
3
3
  import {
4
4
  Color,
5
5
  Styleable,
6
6
  TextClamp,
7
7
  TypographyStyle,
8
8
  TypographyWeight,
9
- } from 'types';
9
+ } from '../../../types';
10
10
 
11
11
  export type TypographyProps = Pick<
12
12
  React.HTMLAttributes<HTMLParagraphElement>,