@lotte-innovate/ui-component-test 0.1.12 → 0.2.0

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,5 @@
1
1
  import React from 'react';
2
+ import '@radix-ui/themes/styles.css';
2
3
  import { VariantProps } from 'class-variance-authority';
3
4
  import { IColor } from '../../../lib/types';
4
5
  export interface SkeletonProps extends VariantProps<typeof separatorVariants> {
@@ -22,6 +22,7 @@ var __rest = (this && this.__rest) || function (s, e) {
22
22
  };
23
23
  import { jsx as _jsx } from "react/jsx-runtime";
24
24
  import React from 'react';
25
+ import '@radix-ui/themes/styles.css';
25
26
  import { cva } from 'class-variance-authority';
26
27
  import { Theme, Skeleton as SkeletonTheme } from '@radix-ui/themes';
27
28
  import { cn } from '../../../lib/utils/utils';
@@ -1,4 +1,5 @@
1
1
  import React from 'react';
2
+ import '@radix-ui/themes/styles.css';
2
3
  import { VariantProps } from 'class-variance-authority';
3
4
  import { IScaling } from '../../../lib/types';
4
5
  export interface SliderProps extends VariantProps<typeof sliderVariants> {
@@ -22,6 +22,7 @@ var __rest = (this && this.__rest) || function (s, e) {
22
22
  };
23
23
  import { jsx as _jsx } from "react/jsx-runtime";
24
24
  import React from 'react';
25
+ import '@radix-ui/themes/styles.css';
25
26
  import { cva } from 'class-variance-authority';
26
27
  import { cn } from '../../../lib/utils/utils';
27
28
  import { radiusVariants } from '../../../lib/constants';
@@ -1,4 +1,5 @@
1
1
  import React from 'react';
2
+ import '@radix-ui/themes/styles.css';
2
3
  import { VariantProps } from 'class-variance-authority';
3
4
  import { TextField as TextFieldTheme } from '@radix-ui/themes';
4
5
  import { IScaling } from '../../../lib/types';
@@ -22,6 +22,7 @@ var __rest = (this && this.__rest) || function (s, e) {
22
22
  };
23
23
  import { jsx as _jsx } from "react/jsx-runtime";
24
24
  import React from 'react';
25
+ import '@radix-ui/themes/styles.css';
25
26
  import { cva } from 'class-variance-authority';
26
27
  import { cn } from '../../../lib/utils/utils';
27
28
  import { bgColorStyle, radiusVariants } from '../../../lib/constants';
package/package.json CHANGED
@@ -1,14 +1,13 @@
1
1
  {
2
2
  "name": "@lotte-innovate/ui-component-test",
3
3
  "description": "Lotte UI Library",
4
- "version": "0.1.12",
4
+ "version": "0.2.0",
5
5
  "private": false,
6
6
  "type": "module",
7
7
  "files": [
8
8
  "dist/lib",
9
9
  "dist/tailwind.config.d.ts",
10
- "dist/tailwind.config.js",
11
- "dist/globals.css"
10
+ "dist/tailwind.config.js"
12
11
  ],
13
12
  "main": "dist/lib/index.js",
14
13
  "module": "dist/lib/index.js",
@@ -37,19 +36,15 @@
37
36
  },
38
37
  "scripts": {
39
38
  "dev": "next dev",
40
- "lint": "next lint",
39
+ "build": "next build && tsc",
41
40
  "prepare": "next build",
42
41
  "start": "next start",
42
+ "lint": "next lint",
43
43
  "storybook": "cross-env NODE_OPTIONS='--max-old-space-size=8192' storybook dev -p 6006",
44
- "chromatic": "cross-env npx chromatic --project-token=$CHROMATIC_PROJECT_TOKEN",
45
- "compile": "tsc --jsx react-jsx",
46
- "build": "next build && npm run compile",
47
- "build:css": "npx tailwindcss -i src/app/globals.css -o dist/globals.css",
48
44
  "build-storybook": "storybook build",
49
- "clean": "rimraf dist && mkdir dist",
50
- "update-tailwind": "node update-tailwind-import.js",
51
- "build:all": "npm run clean && npm run compile && node src/utils/move.js && npm run build:css && tsc-alias && npm run update-tailwind",
52
- "publish:npm": "npm run build:all && npm publish"
45
+ "move-files": "mv dist/src/lib dist/lib && rm -rf dist/src",
46
+ "publish:npm": "rimraf dist && mkdir dist && tsc && npm run move-files && tsc-alias && node update-tailwind-import.js",
47
+ "chromatic": "cross-env npx chromatic --project-token=$CHROMATIC_PROJECT_TOKEN"
53
48
  },
54
49
  "dependencies": {
55
50
  "@babel/runtime": "^7.24.7",