Skip to content

Commit

Permalink
Merge branch 'main' into 176-migrate-customclassswitcher-core-functio…
Browse files Browse the repository at this point in the history
…n-to-typescript
  • Loading branch information
kotAPI authored Jan 5, 2024
2 parents 49152d5 + 9a10209 commit 4a5e8f2
Show file tree
Hide file tree
Showing 44 changed files with 1,440 additions and 1,722 deletions.
2,966 changes: 1,361 additions & 1,605 deletions package-lock.json

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@
"rollup-plugin-banner2": "^1.2.2",
"rollup-plugin-peer-deps-external": "^2.2.4",
"rollup-plugin-postcss": "^4.0.2",
"rollup-plugin-preserve-directives": "^0.2.0",
"sass-loader": "^13.3.2",
"storybook": "^7.4.0",
"tailwindcss": "^3.3.3",
Expand Down
2 changes: 1 addition & 1 deletion rollup.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import alias from '@rollup/plugin-alias';
import path from 'path';
import fs from 'fs';

// import preserveDirectives from 'rollup-plugin-preserve-directives';


import banner2 from 'rollup-plugin-banner2';

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
73 changes: 0 additions & 73 deletions src/colors/index.js

This file was deleted.

68 changes: 68 additions & 0 deletions src/colors/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
import gray from './gray';
import mauve from './mauve';
import slate from './slate';
import sage from './sage';
import olive from './olive';
import sand from './sand';
import tomato from './tomato';
import red from './red';
import ruby from './ruby';
import crimson from './crimson';
import pink from './pink';
import plum from './plum';
import purple from './purple';
import violet from './violet';
import iris from './iris';
import indigo from './indigo';
import blue from './blue';
import cyan from './cyan';
import teal from './teal';
import jade from './jade';
import green from './green';
import grass from './grass';
import brown from './brown';
import bronze from './bronze';
import gold from './gold';
import sky from './sky';
import mint from './mint';
import lime from './lime';
import yellow from './yellow';
import amber from './amber';
import orange from './orange';

const colors = {
gray: gray,
mauve: mauve,
slate: slate,
sage: sage,
olive: olive,
sand: sand,
tomato: tomato,
red: red,
ruby: ruby,
crimson: crimson,
pink: pink,
plum: plum,
purple: purple,
violet: violet,
iris: iris,
indigo: indigo,
blue: blue,
cyan: cyan,
teal: teal,
jade: jade,
green: green,
grass: grass,
brown: brown,
bronze: bronze,
gold: gold,
sky: sky,
mint: mint,
lime: lime,
yellow: yellow,
amber: amber,
orange: orange,

} as const;

export default colors;
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 3 additions & 1 deletion src/components/tools/SandboxEditor/SandboxEditor.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/components/ui/Badge/Badge.stories.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Badge from './Badge';
import {Separator} from '~/';
import Separator from '../Separator/Separator';
import SandboxEditor from '~/components/tools/SandboxEditor/SandboxEditor';

const ArrowIcon = ({className}) => {
Expand Down
3 changes: 2 additions & 1 deletion src/components/ui/Dropdown/Dropdown.stories.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@

import {Dropdown, Heading} from '~/';
import Heading from '~/components/ui/Heading/Heading';
import Dropdown from '~/components/ui/Dropdown/Dropdown';
import SandboxEditor from '~/components/tools/SandboxEditor/SandboxEditor';

// More on how to set up stories at: https://storybook.js.org/docs/react/writing-stories/introduction#default-export
Expand Down
3 changes: 2 additions & 1 deletion src/components/ui/Em/Em.stories.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import Em from './Em';
import {Heading} from '~/';
import Heading from '../Heading/Heading';

import SandboxEditor from '~/components/tools/SandboxEditor/SandboxEditor';

// More on how to set up stories at: https://storybook.js.org/docs/react/writing-stories/introduction#default-export
Expand Down
1 change: 0 additions & 1 deletion src/components/ui/Link/Link.stories.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import Link from './Link';
import {Text} from '~/';
import SandboxEditor from '~/components/tools/SandboxEditor/SandboxEditor';

// More on how to set up stories at: https://storybook.js.org/docs/react/writing-stories/introduction#default-export
Expand Down
5 changes: 1 addition & 4 deletions src/components/ui/Quote/Quote.stories.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
import Quote from './Quote';
import {Text} from '~/';
import Text from '~/components/ui/Text/Text';
import SandboxEditor from '~/components/tools/SandboxEditor/SandboxEditor';

const ArrowIcon = ({className}) => {
return <svg className={className} width="16" height="16" viewBox="0 0 15 15" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M8.14645 3.14645C8.34171 2.95118 8.65829 2.95118 8.85355 3.14645L12.8536 7.14645C13.0488 7.34171 13.0488 7.65829 12.8536 7.85355L8.85355 11.8536C8.65829 12.0488 8.34171 12.0488 8.14645 11.8536C7.95118 11.6583 7.95118 11.3417 8.14645 11.1464L11.2929 8H2.5C2.22386 8 2 7.77614 2 7.5C2 7.22386 2.22386 7 2.5 7H11.2929L8.14645 3.85355C7.95118 3.65829 7.95118 3.34171 8.14645 3.14645Z" fill="currentColor" fillRule="evenodd" clipRule="evenodd"></path></svg>;
};

// More on how to set up stories at: https://storybook.js.org/docs/react/writing-stories/introduction#default-export
export default {
Expand Down
2 changes: 1 addition & 1 deletion src/components/ui/Tooltip/Tooltip.stories.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

import {Tooltip, Heading} from '~/';
import Tooltip from './Tooltip';
import SandboxEditor from '~/components/tools/SandboxEditor/SandboxEditor';
import ScrollPlayground from '~/components/tools/ScrollPlayground/ScrollPlayground';

Expand Down
32 changes: 0 additions & 32 deletions src/index.js

This file was deleted.

0 comments on commit 4a5e8f2

Please sign in to comment.