@sakura-ui/sakura-ui 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/package.json +4 -4
- package/packages/config/package.json +10 -10
- package/packages/core/package.json +14 -14
- package/packages/core/src/components/Button.tsx +31 -43
- package/packages/core/src/components/Card.tsx +1 -1
- package/packages/core/src/components/Code.tsx +1 -1
- package/packages/core/src/components/Heading.tsx +1 -1
- package/packages/core/src/components/Icon.tsx +9 -9
- package/packages/core/src/components/IconButton.tsx +38 -51
- package/packages/core/src/components/InfoCard.tsx +1 -1
- package/packages/core/src/components/Link.tsx +39 -36
- package/packages/core/src/components/List.tsx +1 -1
- package/packages/core/src/components/Pre.tsx +1 -1
- package/packages/core/src/components/Table.tsx +4 -4
- package/packages/forms/node_modules/.bin/autoprefixer +4 -4
- package/packages/forms/node_modules/.bin/jest +4 -4
- package/packages/forms/node_modules/.bin/tailwind +4 -4
- package/packages/forms/node_modules/.bin/tailwindcss +4 -4
- package/packages/forms/node_modules/.bin/ts-jest +4 -4
- package/packages/forms/node_modules/.bin/ts-node +4 -4
- package/packages/forms/node_modules/.bin/ts-node-cwd +4 -4
- package/packages/forms/node_modules/.bin/ts-node-esm +4 -4
- package/packages/forms/node_modules/.bin/ts-node-script +4 -4
- package/packages/forms/node_modules/.bin/ts-node-transpile-only +4 -4
- package/packages/forms/node_modules/.bin/ts-script +4 -4
- package/packages/forms/node_modules/.bin/tsc +4 -4
- package/packages/forms/node_modules/.bin/tsc-alias +4 -4
- package/packages/forms/node_modules/.bin/tsserver +4 -4
- package/packages/forms/node_modules/.bin/vite +4 -4
- package/packages/forms/package.json +15 -15
- package/packages/forms/src/components/Checkbox.tsx +7 -8
- package/packages/forms/src/components/FieldsetControl.tsx +1 -1
- package/packages/forms/src/components/LabelControl.tsx +1 -1
- package/packages/forms/src/components/Radio.tsx +5 -3
- package/packages/forms/src/components/Select.tsx +17 -10
- package/packages/forms/src/components/Text.tsx +3 -5
- package/packages/forms/src/components/Textarea.tsx +3 -5
- /package/packages/core/src/utils/{index.ts → class.ts} +0 -0
- /package/packages/forms/src/utils/{index.ts → class.ts} +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sakura-ui/sakura-ui",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5",
|
|
4
4
|
"keywords": [],
|
|
5
5
|
"author": "glassonion1",
|
|
6
6
|
"homepage": "https://github.com/glassonion1/sakura-ui",
|
|
@@ -13,9 +13,9 @@
|
|
|
13
13
|
"packages"
|
|
14
14
|
],
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@sakura-ui/
|
|
17
|
-
"@sakura-ui/
|
|
18
|
-
"@sakura-ui/forms": "0.0.
|
|
16
|
+
"@sakura-ui/config": "0.0.11",
|
|
17
|
+
"@sakura-ui/core": "0.0.4",
|
|
18
|
+
"@sakura-ui/forms": "0.0.6"
|
|
19
19
|
},
|
|
20
20
|
"peerDependencies": {
|
|
21
21
|
"react": "^18.2.0",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sakura-ui/config",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.11",
|
|
4
4
|
"main": "dist/index.cjs.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"exports": {
|
|
@@ -35,16 +35,16 @@
|
|
|
35
35
|
"tailwindcss": "^3.2.7"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@types/jest": "^29.
|
|
39
|
-
"@types/node": "^18.
|
|
40
|
-
"autoprefixer": "^10.4.
|
|
41
|
-
"jest": "^29.
|
|
38
|
+
"@types/jest": "^29.5.1",
|
|
39
|
+
"@types/node": "^18.16.15",
|
|
40
|
+
"autoprefixer": "^10.4.14",
|
|
41
|
+
"jest": "^29.5.0",
|
|
42
42
|
"npm-run-all": "^4.1.5",
|
|
43
|
-
"postcss": "^8.4.
|
|
44
|
-
"tailwindcss": "^3.2
|
|
45
|
-
"ts-jest": "^29.0
|
|
43
|
+
"postcss": "^8.4.23",
|
|
44
|
+
"tailwindcss": "^3.3.2",
|
|
45
|
+
"ts-jest": "^29.1.0",
|
|
46
46
|
"ts-node": "^10.9.1",
|
|
47
|
-
"typescript": "^5.0.
|
|
48
|
-
"vite": "^4.
|
|
47
|
+
"typescript": "^5.0.4",
|
|
48
|
+
"vite": "^4.3.9"
|
|
49
49
|
}
|
|
50
50
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sakura-ui/core",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -39,22 +39,22 @@
|
|
|
39
39
|
"tailwindcss": "^3.2.7"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@types/jest": "^29.
|
|
43
|
-
"@types/node": "^18.
|
|
44
|
-
"@types/react": "^18.
|
|
45
|
-
"@types/react-dom": "^18.
|
|
46
|
-
"@vitejs/plugin-react-swc": "^3.
|
|
47
|
-
"autoprefixer": "^10.4.
|
|
48
|
-
"jest": "^29.
|
|
42
|
+
"@types/jest": "^29.5.1",
|
|
43
|
+
"@types/node": "^18.16.15",
|
|
44
|
+
"@types/react": "^18.2.7",
|
|
45
|
+
"@types/react-dom": "^18.2.4",
|
|
46
|
+
"@vitejs/plugin-react-swc": "^3.3.1",
|
|
47
|
+
"autoprefixer": "^10.4.14",
|
|
48
|
+
"jest": "^29.5.0",
|
|
49
49
|
"npm-run-all": "^4.1.5",
|
|
50
|
-
"postcss": "^8.4.
|
|
50
|
+
"postcss": "^8.4.23",
|
|
51
51
|
"react": "^18.2.0",
|
|
52
52
|
"react-dom": "^18.2.0",
|
|
53
|
-
"tailwindcss": "^3.2
|
|
54
|
-
"ts-jest": "^29.0
|
|
53
|
+
"tailwindcss": "^3.3.2",
|
|
54
|
+
"ts-jest": "^29.1.0",
|
|
55
55
|
"ts-node": "^10.9.1",
|
|
56
|
-
"tsc-alias": "^1.8.
|
|
57
|
-
"typescript": "^5.0.
|
|
58
|
-
"vite": "^4.
|
|
56
|
+
"tsc-alias": "^1.8.6",
|
|
57
|
+
"typescript": "^5.0.4",
|
|
58
|
+
"vite": "^4.3.9"
|
|
59
59
|
}
|
|
60
60
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react'
|
|
2
|
-
import { cx } from '../utils'
|
|
2
|
+
import { cx } from '../utils/class'
|
|
3
3
|
|
|
4
4
|
export interface ButtonProps extends React.ComponentPropsWithoutRef<'button'> {
|
|
5
5
|
variant?: 'primary' | 'secondary'
|
|
@@ -14,51 +14,39 @@ export const Button = React.forwardRef<HTMLButtonElement, ButtonProps>(
|
|
|
14
14
|
const align = textAlign ?? 'center'
|
|
15
15
|
|
|
16
16
|
const style = `
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
17
|
+
inline-block
|
|
18
|
+
p-4
|
|
19
|
+
text-base
|
|
20
|
+
font-bold
|
|
21
|
+
rounded-lg
|
|
22
|
+
text-${align}
|
|
23
|
+
cursor-pointer
|
|
24
|
+
whitespace-nowrap
|
|
25
|
+
border
|
|
26
|
+
border-solid
|
|
27
|
+
border-sea-600
|
|
28
|
+
focus:outline
|
|
29
|
+
focus:outline-2
|
|
30
|
+
focus:outline-wood-500
|
|
31
|
+
disabled:border-sumi-500
|
|
32
|
+
disabled:cursor-not-allowed
|
|
33
|
+
`
|
|
26
34
|
|
|
27
35
|
const primary = `
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
focus:outline
|
|
36
|
-
focus:outline-2
|
|
37
|
-
focus:outline-wood-500
|
|
38
|
-
disabled:bg-sumi-500
|
|
39
|
-
disabled:text-white-1000
|
|
40
|
-
disabled:border
|
|
41
|
-
disabled:border-solid
|
|
42
|
-
disabled:border-sumi-500
|
|
43
|
-
disabled:cursor-not-allowed
|
|
44
|
-
`
|
|
36
|
+
text-white-1000
|
|
37
|
+
bg-sea-600
|
|
38
|
+
hover:enabled:bg-sea-700
|
|
39
|
+
active:enabled:bg-sea-800
|
|
40
|
+
disabled:bg-sumi-500
|
|
41
|
+
disabled:text-white-1000
|
|
42
|
+
`
|
|
45
43
|
const secondary = `
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
focus:outline
|
|
53
|
-
focus:outline-2
|
|
54
|
-
focus:outline-wood-500
|
|
55
|
-
disabled:hover:bg-white-1000
|
|
56
|
-
disabled:text-sumi-500
|
|
57
|
-
disabled:border
|
|
58
|
-
disabled:border-solid
|
|
59
|
-
disabled:border-sumi-500
|
|
60
|
-
disabled:cursor-not-allowed
|
|
61
|
-
`
|
|
44
|
+
text-sea-600
|
|
45
|
+
bg-transparent
|
|
46
|
+
hover:enabled:bg-sea-100
|
|
47
|
+
active:enabled:bg-sea-200
|
|
48
|
+
disabled:text-sumi-500
|
|
49
|
+
`
|
|
62
50
|
|
|
63
51
|
const styles = {
|
|
64
52
|
primary: primary,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react'
|
|
2
|
-
import { cx } from '../utils'
|
|
2
|
+
import { cx } from '../utils/class'
|
|
3
3
|
|
|
4
4
|
export interface IconProps extends React.ComponentProps<'span'> {
|
|
5
5
|
icon: string
|
|
@@ -9,14 +9,14 @@ export const Icon = React.forwardRef<HTMLElement, IconProps>((props, ref) => {
|
|
|
9
9
|
const { className, icon, ...restProps } = props
|
|
10
10
|
|
|
11
11
|
const style = `
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
12
|
+
inline-block
|
|
13
|
+
align-middle
|
|
14
|
+
font-icon
|
|
15
|
+
text-2xl
|
|
16
|
+
font-light
|
|
17
|
+
leading-none
|
|
18
|
+
antialiased
|
|
19
|
+
mb-1
|
|
20
20
|
`
|
|
21
21
|
|
|
22
22
|
return (
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react'
|
|
2
|
-
import { cx } from '../utils'
|
|
2
|
+
import { cx } from '../utils/class'
|
|
3
3
|
|
|
4
4
|
export interface IconButtonProps extends React.ComponentProps<'button'> {
|
|
5
5
|
variant?: 'primary' | 'secondary'
|
|
@@ -17,51 +17,38 @@ export const IconButton = React.forwardRef<HTMLButtonElement, IconButtonProps>(
|
|
|
17
17
|
const align = 'center'
|
|
18
18
|
|
|
19
19
|
const style = `
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
20
|
+
inline-block
|
|
21
|
+
p-4
|
|
22
|
+
text-base
|
|
23
|
+
font-bold
|
|
24
|
+
rounded-lg
|
|
25
|
+
text-${align}
|
|
26
|
+
cursor-pointer
|
|
27
|
+
whitespace-nowrap
|
|
28
|
+
border
|
|
29
|
+
border-solid
|
|
30
|
+
border-sea-600
|
|
31
|
+
focus:outline
|
|
32
|
+
focus:outline-2
|
|
33
|
+
focus:outline-wood-500
|
|
34
|
+
disabled:border-sumi-500
|
|
35
|
+
disabled:cursor-not-allowed
|
|
36
|
+
`
|
|
29
37
|
|
|
30
38
|
const primary = `
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
focus:outline
|
|
39
|
-
focus:outline-2
|
|
40
|
-
focus:outline-wood-500
|
|
41
|
-
disabled:bg-sumi-500
|
|
42
|
-
disabled:text-white-1000
|
|
43
|
-
disabled:border
|
|
44
|
-
disabled:border-solid
|
|
45
|
-
disabled:border-sumi-500
|
|
46
|
-
disabled:cursor-not-allowed
|
|
47
|
-
`
|
|
39
|
+
text-white-1000
|
|
40
|
+
bg-sea-600
|
|
41
|
+
hover:enabled:bg-sea-700
|
|
42
|
+
active:enabled:bg-sea-800
|
|
43
|
+
disabled:bg-sumi-500
|
|
44
|
+
disabled:text-white-1000
|
|
45
|
+
`
|
|
48
46
|
const secondary = `
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
active:bg-sea-100
|
|
55
|
-
focus:outline
|
|
56
|
-
focus:outline-2
|
|
57
|
-
focus:outline-wood-500
|
|
58
|
-
disabled:hover:bg-white-1000
|
|
59
|
-
disabled:text-sumi-500
|
|
60
|
-
disabled:border
|
|
61
|
-
disabled:border-solid
|
|
62
|
-
disabled:border-sumi-500
|
|
63
|
-
disabled:cursor-not-allowed
|
|
64
|
-
`
|
|
47
|
+
text-sea-600
|
|
48
|
+
hover:enabled:bg-sea-100
|
|
49
|
+
active:enabled:bg-sea-200
|
|
50
|
+
disabled:text-sumi-500
|
|
51
|
+
`
|
|
65
52
|
|
|
66
53
|
const styles = {
|
|
67
54
|
primary: primary,
|
|
@@ -69,14 +56,14 @@ export const IconButton = React.forwardRef<HTMLButtonElement, IconButtonProps>(
|
|
|
69
56
|
}
|
|
70
57
|
|
|
71
58
|
const iconStyle = `
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
59
|
+
inline-block
|
|
60
|
+
align-middle
|
|
61
|
+
font-icon
|
|
62
|
+
text-2xl
|
|
63
|
+
font-light
|
|
64
|
+
leading-4
|
|
65
|
+
antialiased
|
|
66
|
+
mb-1
|
|
80
67
|
`
|
|
81
68
|
|
|
82
69
|
return (
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import React from 'react'
|
|
2
|
-
import { cx } from '../utils'
|
|
3
|
-
|
|
4
|
-
export interface LinkProps extends React.ComponentProps<'a'> {}
|
|
2
|
+
import { cx } from '../utils/class'
|
|
5
3
|
|
|
6
4
|
const getFileType = (url: string) => {
|
|
7
5
|
const converted = url.toLowerCase()
|
|
@@ -30,44 +28,49 @@ const getFileType = (url: string) => {
|
|
|
30
28
|
return null
|
|
31
29
|
}
|
|
32
30
|
|
|
33
|
-
export
|
|
34
|
-
const { className, children, ...restProps } = props
|
|
35
|
-
const href = props.href ?? ''
|
|
36
|
-
const fileType = getFileType(href)
|
|
31
|
+
export interface LinkProps extends React.ComponentProps<'a'> {}
|
|
37
32
|
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
underline-offset-[0.1em]
|
|
44
|
-
hover:text-sea-800
|
|
45
|
-
active:text-sea-800
|
|
46
|
-
visited:text-sea-900
|
|
47
|
-
focus:outline
|
|
48
|
-
focus:outline-2
|
|
49
|
-
focus:outline-wood-500
|
|
50
|
-
disabled:border-sumi-500
|
|
51
|
-
`
|
|
33
|
+
export const Link = React.forwardRef<HTMLAnchorElement, LinkProps>(
|
|
34
|
+
(props, ref) => {
|
|
35
|
+
const { className, children, ...restProps } = props
|
|
36
|
+
const href = props.href ?? ''
|
|
37
|
+
const fileType = getFileType(href)
|
|
52
38
|
|
|
53
|
-
|
|
39
|
+
const style = `
|
|
40
|
+
rounded-sm
|
|
41
|
+
cursor-pointer
|
|
42
|
+
text-sea-600
|
|
43
|
+
underline
|
|
44
|
+
underline-offset-[0.1em]
|
|
45
|
+
hover:text-sea-800
|
|
46
|
+
active:text-sea-800
|
|
47
|
+
visited:text-sea-900
|
|
48
|
+
focus:outline
|
|
49
|
+
focus:outline-2
|
|
50
|
+
focus:outline-wood-500
|
|
51
|
+
disabled:border-sumi-500
|
|
52
|
+
`
|
|
53
|
+
|
|
54
|
+
if (href.startsWith('http')) {
|
|
55
|
+
return (
|
|
56
|
+
<a
|
|
57
|
+
className={cx(style, className)}
|
|
58
|
+
href={href}
|
|
59
|
+
target="_blank"
|
|
60
|
+
rel="noopener noreferrer"
|
|
61
|
+
{...restProps}
|
|
62
|
+
ref={ref}
|
|
63
|
+
>
|
|
64
|
+
{children}
|
|
65
|
+
{fileType ? `(${fileType})` : null}
|
|
66
|
+
</a>
|
|
67
|
+
)
|
|
68
|
+
}
|
|
54
69
|
return (
|
|
55
|
-
<a
|
|
56
|
-
className={cx(style, className)}
|
|
57
|
-
href={href}
|
|
58
|
-
target="_blank"
|
|
59
|
-
rel="noopener noreferrer"
|
|
60
|
-
{...restProps}
|
|
61
|
-
>
|
|
70
|
+
<a className={cx(style, className)} href={href} {...restProps} ref={ref}>
|
|
62
71
|
{children}
|
|
63
72
|
{fileType ? `(${fileType})` : null}
|
|
64
73
|
</a>
|
|
65
74
|
)
|
|
66
75
|
}
|
|
67
|
-
|
|
68
|
-
<a className={cx(style, className)} href={href} {...restProps}>
|
|
69
|
-
{children}
|
|
70
|
-
{fileType ? `(${fileType})` : null}
|
|
71
|
-
</a>
|
|
72
|
-
)
|
|
73
|
-
}
|
|
76
|
+
)
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import React from 'react'
|
|
2
|
-
import { cx } from '../utils'
|
|
2
|
+
import { cx } from '../utils/class'
|
|
3
3
|
|
|
4
4
|
export interface TableProps extends React.ComponentProps<'table'> {}
|
|
5
5
|
|
|
6
6
|
const styleBorder = `
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
border
|
|
8
|
+
border-collapse
|
|
9
|
+
border-sumi-900
|
|
10
10
|
`
|
|
11
11
|
|
|
12
12
|
export const Table = (props: TableProps) => {
|
|
@@ -6,12 +6,12 @@ case `uname` in
|
|
|
6
6
|
esac
|
|
7
7
|
|
|
8
8
|
if [ -z "$NODE_PATH" ]; then
|
|
9
|
-
export NODE_PATH="/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/autoprefixer@10.4.
|
|
9
|
+
export NODE_PATH="/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/autoprefixer@10.4.14_postcss@8.4.23/node_modules/autoprefixer/bin/node_modules:/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/autoprefixer@10.4.14_postcss@8.4.23/node_modules/autoprefixer/node_modules:/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/autoprefixer@10.4.14_postcss@8.4.23/node_modules:/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/node_modules"
|
|
10
10
|
else
|
|
11
|
-
export NODE_PATH="/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/autoprefixer@10.4.
|
|
11
|
+
export NODE_PATH="/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/autoprefixer@10.4.14_postcss@8.4.23/node_modules/autoprefixer/bin/node_modules:/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/autoprefixer@10.4.14_postcss@8.4.23/node_modules/autoprefixer/node_modules:/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/autoprefixer@10.4.14_postcss@8.4.23/node_modules:/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
|
-
exec "$basedir/node" "$basedir/../../../../node_modules/.pnpm/autoprefixer@10.4.
|
|
14
|
+
exec "$basedir/node" "$basedir/../../../../node_modules/.pnpm/autoprefixer@10.4.14_postcss@8.4.23/node_modules/autoprefixer/bin/autoprefixer" "$@"
|
|
15
15
|
else
|
|
16
|
-
exec node "$basedir/../../../../node_modules/.pnpm/autoprefixer@10.4.
|
|
16
|
+
exec node "$basedir/../../../../node_modules/.pnpm/autoprefixer@10.4.14_postcss@8.4.23/node_modules/autoprefixer/bin/autoprefixer" "$@"
|
|
17
17
|
fi
|
|
@@ -6,12 +6,12 @@ case `uname` in
|
|
|
6
6
|
esac
|
|
7
7
|
|
|
8
8
|
if [ -z "$NODE_PATH" ]; then
|
|
9
|
-
export NODE_PATH="/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/jest@29.
|
|
9
|
+
export NODE_PATH="/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/jest@29.5.0_@types+node@18.16.15_ts-node@10.9.1/node_modules/jest/bin/node_modules:/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/jest@29.5.0_@types+node@18.16.15_ts-node@10.9.1/node_modules/jest/node_modules:/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/jest@29.5.0_@types+node@18.16.15_ts-node@10.9.1/node_modules:/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/node_modules"
|
|
10
10
|
else
|
|
11
|
-
export NODE_PATH="/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/jest@29.
|
|
11
|
+
export NODE_PATH="/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/jest@29.5.0_@types+node@18.16.15_ts-node@10.9.1/node_modules/jest/bin/node_modules:/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/jest@29.5.0_@types+node@18.16.15_ts-node@10.9.1/node_modules/jest/node_modules:/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/jest@29.5.0_@types+node@18.16.15_ts-node@10.9.1/node_modules:/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
|
-
exec "$basedir/node" "$basedir/../../../../node_modules/.pnpm/jest@29.
|
|
14
|
+
exec "$basedir/node" "$basedir/../../../../node_modules/.pnpm/jest@29.5.0_@types+node@18.16.15_ts-node@10.9.1/node_modules/jest/bin/jest.js" "$@"
|
|
15
15
|
else
|
|
16
|
-
exec node "$basedir/../../../../node_modules/.pnpm/jest@29.
|
|
16
|
+
exec node "$basedir/../../../../node_modules/.pnpm/jest@29.5.0_@types+node@18.16.15_ts-node@10.9.1/node_modules/jest/bin/jest.js" "$@"
|
|
17
17
|
fi
|
|
@@ -6,12 +6,12 @@ case `uname` in
|
|
|
6
6
|
esac
|
|
7
7
|
|
|
8
8
|
if [ -z "$NODE_PATH" ]; then
|
|
9
|
-
export NODE_PATH="/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/tailwindcss@3.
|
|
9
|
+
export NODE_PATH="/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/tailwindcss@3.3.2_ts-node@10.9.1/node_modules/tailwindcss/lib/node_modules:/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/tailwindcss@3.3.2_ts-node@10.9.1/node_modules/tailwindcss/node_modules:/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/tailwindcss@3.3.2_ts-node@10.9.1/node_modules:/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/node_modules"
|
|
10
10
|
else
|
|
11
|
-
export NODE_PATH="/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/tailwindcss@3.
|
|
11
|
+
export NODE_PATH="/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/tailwindcss@3.3.2_ts-node@10.9.1/node_modules/tailwindcss/lib/node_modules:/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/tailwindcss@3.3.2_ts-node@10.9.1/node_modules/tailwindcss/node_modules:/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/tailwindcss@3.3.2_ts-node@10.9.1/node_modules:/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
|
-
exec "$basedir/node" "$basedir/../../../../node_modules/.pnpm/tailwindcss@3.
|
|
14
|
+
exec "$basedir/node" "$basedir/../../../../node_modules/.pnpm/tailwindcss@3.3.2_ts-node@10.9.1/node_modules/tailwindcss/lib/cli.js" "$@"
|
|
15
15
|
else
|
|
16
|
-
exec node "$basedir/../../../../node_modules/.pnpm/tailwindcss@3.
|
|
16
|
+
exec node "$basedir/../../../../node_modules/.pnpm/tailwindcss@3.3.2_ts-node@10.9.1/node_modules/tailwindcss/lib/cli.js" "$@"
|
|
17
17
|
fi
|
|
@@ -6,12 +6,12 @@ case `uname` in
|
|
|
6
6
|
esac
|
|
7
7
|
|
|
8
8
|
if [ -z "$NODE_PATH" ]; then
|
|
9
|
-
export NODE_PATH="/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/tailwindcss@3.
|
|
9
|
+
export NODE_PATH="/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/tailwindcss@3.3.2_ts-node@10.9.1/node_modules/tailwindcss/lib/node_modules:/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/tailwindcss@3.3.2_ts-node@10.9.1/node_modules/tailwindcss/node_modules:/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/tailwindcss@3.3.2_ts-node@10.9.1/node_modules:/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/node_modules"
|
|
10
10
|
else
|
|
11
|
-
export NODE_PATH="/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/tailwindcss@3.
|
|
11
|
+
export NODE_PATH="/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/tailwindcss@3.3.2_ts-node@10.9.1/node_modules/tailwindcss/lib/node_modules:/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/tailwindcss@3.3.2_ts-node@10.9.1/node_modules/tailwindcss/node_modules:/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/tailwindcss@3.3.2_ts-node@10.9.1/node_modules:/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
|
-
exec "$basedir/node" "$basedir/../../../../node_modules/.pnpm/tailwindcss@3.
|
|
14
|
+
exec "$basedir/node" "$basedir/../../../../node_modules/.pnpm/tailwindcss@3.3.2_ts-node@10.9.1/node_modules/tailwindcss/lib/cli.js" "$@"
|
|
15
15
|
else
|
|
16
|
-
exec node "$basedir/../../../../node_modules/.pnpm/tailwindcss@3.
|
|
16
|
+
exec node "$basedir/../../../../node_modules/.pnpm/tailwindcss@3.3.2_ts-node@10.9.1/node_modules/tailwindcss/lib/cli.js" "$@"
|
|
17
17
|
fi
|
|
@@ -6,12 +6,12 @@ case `uname` in
|
|
|
6
6
|
esac
|
|
7
7
|
|
|
8
8
|
if [ -z "$NODE_PATH" ]; then
|
|
9
|
-
export NODE_PATH="/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/ts-jest@29.
|
|
9
|
+
export NODE_PATH="/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/ts-jest@29.1.0_@babel+core@7.21.8_@jest+types@29.5.0_jest@29.5.0_typescript@5.0.4/node_modules/ts-jest/node_modules:/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/ts-jest@29.1.0_@babel+core@7.21.8_@jest+types@29.5.0_jest@29.5.0_typescript@5.0.4/node_modules:/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/node_modules"
|
|
10
10
|
else
|
|
11
|
-
export NODE_PATH="/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/ts-jest@29.
|
|
11
|
+
export NODE_PATH="/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/ts-jest@29.1.0_@babel+core@7.21.8_@jest+types@29.5.0_jest@29.5.0_typescript@5.0.4/node_modules/ts-jest/node_modules:/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/ts-jest@29.1.0_@babel+core@7.21.8_@jest+types@29.5.0_jest@29.5.0_typescript@5.0.4/node_modules:/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
|
-
exec "$basedir/node" "$basedir/../../../../node_modules/.pnpm/ts-jest@29.
|
|
14
|
+
exec "$basedir/node" "$basedir/../../../../node_modules/.pnpm/ts-jest@29.1.0_@babel+core@7.21.8_@jest+types@29.5.0_jest@29.5.0_typescript@5.0.4/node_modules/ts-jest/cli.js" "$@"
|
|
15
15
|
else
|
|
16
|
-
exec node "$basedir/../../../../node_modules/.pnpm/ts-jest@29.
|
|
16
|
+
exec node "$basedir/../../../../node_modules/.pnpm/ts-jest@29.1.0_@babel+core@7.21.8_@jest+types@29.5.0_jest@29.5.0_typescript@5.0.4/node_modules/ts-jest/cli.js" "$@"
|
|
17
17
|
fi
|
|
@@ -6,12 +6,12 @@ case `uname` in
|
|
|
6
6
|
esac
|
|
7
7
|
|
|
8
8
|
if [ -z "$NODE_PATH" ]; then
|
|
9
|
-
export NODE_PATH="/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/ts-node@10.9.1_@types+node@18.
|
|
9
|
+
export NODE_PATH="/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/ts-node@10.9.1_@types+node@18.16.15_typescript@5.0.4/node_modules/ts-node/dist/node_modules:/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/ts-node@10.9.1_@types+node@18.16.15_typescript@5.0.4/node_modules/ts-node/node_modules:/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/ts-node@10.9.1_@types+node@18.16.15_typescript@5.0.4/node_modules:/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/node_modules"
|
|
10
10
|
else
|
|
11
|
-
export NODE_PATH="/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/ts-node@10.9.1_@types+node@18.
|
|
11
|
+
export NODE_PATH="/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/ts-node@10.9.1_@types+node@18.16.15_typescript@5.0.4/node_modules/ts-node/dist/node_modules:/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/ts-node@10.9.1_@types+node@18.16.15_typescript@5.0.4/node_modules/ts-node/node_modules:/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/ts-node@10.9.1_@types+node@18.16.15_typescript@5.0.4/node_modules:/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
|
-
exec "$basedir/node" "$basedir/../../../../node_modules/.pnpm/ts-node@10.9.1_@types+node@18.
|
|
14
|
+
exec "$basedir/node" "$basedir/../../../../node_modules/.pnpm/ts-node@10.9.1_@types+node@18.16.15_typescript@5.0.4/node_modules/ts-node/dist/bin.js" "$@"
|
|
15
15
|
else
|
|
16
|
-
exec node "$basedir/../../../../node_modules/.pnpm/ts-node@10.9.1_@types+node@18.
|
|
16
|
+
exec node "$basedir/../../../../node_modules/.pnpm/ts-node@10.9.1_@types+node@18.16.15_typescript@5.0.4/node_modules/ts-node/dist/bin.js" "$@"
|
|
17
17
|
fi
|
|
@@ -6,12 +6,12 @@ case `uname` in
|
|
|
6
6
|
esac
|
|
7
7
|
|
|
8
8
|
if [ -z "$NODE_PATH" ]; then
|
|
9
|
-
export NODE_PATH="/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/ts-node@10.9.1_@types+node@18.
|
|
9
|
+
export NODE_PATH="/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/ts-node@10.9.1_@types+node@18.16.15_typescript@5.0.4/node_modules/ts-node/dist/node_modules:/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/ts-node@10.9.1_@types+node@18.16.15_typescript@5.0.4/node_modules/ts-node/node_modules:/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/ts-node@10.9.1_@types+node@18.16.15_typescript@5.0.4/node_modules:/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/node_modules"
|
|
10
10
|
else
|
|
11
|
-
export NODE_PATH="/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/ts-node@10.9.1_@types+node@18.
|
|
11
|
+
export NODE_PATH="/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/ts-node@10.9.1_@types+node@18.16.15_typescript@5.0.4/node_modules/ts-node/dist/node_modules:/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/ts-node@10.9.1_@types+node@18.16.15_typescript@5.0.4/node_modules/ts-node/node_modules:/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/ts-node@10.9.1_@types+node@18.16.15_typescript@5.0.4/node_modules:/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
|
-
exec "$basedir/node" "$basedir/../../../../node_modules/.pnpm/ts-node@10.9.1_@types+node@18.
|
|
14
|
+
exec "$basedir/node" "$basedir/../../../../node_modules/.pnpm/ts-node@10.9.1_@types+node@18.16.15_typescript@5.0.4/node_modules/ts-node/dist/bin-cwd.js" "$@"
|
|
15
15
|
else
|
|
16
|
-
exec node "$basedir/../../../../node_modules/.pnpm/ts-node@10.9.1_@types+node@18.
|
|
16
|
+
exec node "$basedir/../../../../node_modules/.pnpm/ts-node@10.9.1_@types+node@18.16.15_typescript@5.0.4/node_modules/ts-node/dist/bin-cwd.js" "$@"
|
|
17
17
|
fi
|
|
@@ -6,12 +6,12 @@ case `uname` in
|
|
|
6
6
|
esac
|
|
7
7
|
|
|
8
8
|
if [ -z "$NODE_PATH" ]; then
|
|
9
|
-
export NODE_PATH="/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/ts-node@10.9.1_@types+node@18.
|
|
9
|
+
export NODE_PATH="/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/ts-node@10.9.1_@types+node@18.16.15_typescript@5.0.4/node_modules/ts-node/dist/node_modules:/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/ts-node@10.9.1_@types+node@18.16.15_typescript@5.0.4/node_modules/ts-node/node_modules:/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/ts-node@10.9.1_@types+node@18.16.15_typescript@5.0.4/node_modules:/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/node_modules"
|
|
10
10
|
else
|
|
11
|
-
export NODE_PATH="/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/ts-node@10.9.1_@types+node@18.
|
|
11
|
+
export NODE_PATH="/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/ts-node@10.9.1_@types+node@18.16.15_typescript@5.0.4/node_modules/ts-node/dist/node_modules:/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/ts-node@10.9.1_@types+node@18.16.15_typescript@5.0.4/node_modules/ts-node/node_modules:/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/ts-node@10.9.1_@types+node@18.16.15_typescript@5.0.4/node_modules:/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
|
-
exec "$basedir/node" "$basedir/../../../../node_modules/.pnpm/ts-node@10.9.1_@types+node@18.
|
|
14
|
+
exec "$basedir/node" "$basedir/../../../../node_modules/.pnpm/ts-node@10.9.1_@types+node@18.16.15_typescript@5.0.4/node_modules/ts-node/dist/bin-esm.js" "$@"
|
|
15
15
|
else
|
|
16
|
-
exec node "$basedir/../../../../node_modules/.pnpm/ts-node@10.9.1_@types+node@18.
|
|
16
|
+
exec node "$basedir/../../../../node_modules/.pnpm/ts-node@10.9.1_@types+node@18.16.15_typescript@5.0.4/node_modules/ts-node/dist/bin-esm.js" "$@"
|
|
17
17
|
fi
|
|
@@ -6,12 +6,12 @@ case `uname` in
|
|
|
6
6
|
esac
|
|
7
7
|
|
|
8
8
|
if [ -z "$NODE_PATH" ]; then
|
|
9
|
-
export NODE_PATH="/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/ts-node@10.9.1_@types+node@18.
|
|
9
|
+
export NODE_PATH="/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/ts-node@10.9.1_@types+node@18.16.15_typescript@5.0.4/node_modules/ts-node/dist/node_modules:/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/ts-node@10.9.1_@types+node@18.16.15_typescript@5.0.4/node_modules/ts-node/node_modules:/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/ts-node@10.9.1_@types+node@18.16.15_typescript@5.0.4/node_modules:/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/node_modules"
|
|
10
10
|
else
|
|
11
|
-
export NODE_PATH="/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/ts-node@10.9.1_@types+node@18.
|
|
11
|
+
export NODE_PATH="/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/ts-node@10.9.1_@types+node@18.16.15_typescript@5.0.4/node_modules/ts-node/dist/node_modules:/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/ts-node@10.9.1_@types+node@18.16.15_typescript@5.0.4/node_modules/ts-node/node_modules:/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/ts-node@10.9.1_@types+node@18.16.15_typescript@5.0.4/node_modules:/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
|
-
exec "$basedir/node" "$basedir/../../../../node_modules/.pnpm/ts-node@10.9.1_@types+node@18.
|
|
14
|
+
exec "$basedir/node" "$basedir/../../../../node_modules/.pnpm/ts-node@10.9.1_@types+node@18.16.15_typescript@5.0.4/node_modules/ts-node/dist/bin-script.js" "$@"
|
|
15
15
|
else
|
|
16
|
-
exec node "$basedir/../../../../node_modules/.pnpm/ts-node@10.9.1_@types+node@18.
|
|
16
|
+
exec node "$basedir/../../../../node_modules/.pnpm/ts-node@10.9.1_@types+node@18.16.15_typescript@5.0.4/node_modules/ts-node/dist/bin-script.js" "$@"
|
|
17
17
|
fi
|
|
@@ -6,12 +6,12 @@ case `uname` in
|
|
|
6
6
|
esac
|
|
7
7
|
|
|
8
8
|
if [ -z "$NODE_PATH" ]; then
|
|
9
|
-
export NODE_PATH="/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/ts-node@10.9.1_@types+node@18.
|
|
9
|
+
export NODE_PATH="/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/ts-node@10.9.1_@types+node@18.16.15_typescript@5.0.4/node_modules/ts-node/dist/node_modules:/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/ts-node@10.9.1_@types+node@18.16.15_typescript@5.0.4/node_modules/ts-node/node_modules:/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/ts-node@10.9.1_@types+node@18.16.15_typescript@5.0.4/node_modules:/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/node_modules"
|
|
10
10
|
else
|
|
11
|
-
export NODE_PATH="/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/ts-node@10.9.1_@types+node@18.
|
|
11
|
+
export NODE_PATH="/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/ts-node@10.9.1_@types+node@18.16.15_typescript@5.0.4/node_modules/ts-node/dist/node_modules:/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/ts-node@10.9.1_@types+node@18.16.15_typescript@5.0.4/node_modules/ts-node/node_modules:/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/ts-node@10.9.1_@types+node@18.16.15_typescript@5.0.4/node_modules:/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
|
-
exec "$basedir/node" "$basedir/../../../../node_modules/.pnpm/ts-node@10.9.1_@types+node@18.
|
|
14
|
+
exec "$basedir/node" "$basedir/../../../../node_modules/.pnpm/ts-node@10.9.1_@types+node@18.16.15_typescript@5.0.4/node_modules/ts-node/dist/bin-transpile.js" "$@"
|
|
15
15
|
else
|
|
16
|
-
exec node "$basedir/../../../../node_modules/.pnpm/ts-node@10.9.1_@types+node@18.
|
|
16
|
+
exec node "$basedir/../../../../node_modules/.pnpm/ts-node@10.9.1_@types+node@18.16.15_typescript@5.0.4/node_modules/ts-node/dist/bin-transpile.js" "$@"
|
|
17
17
|
fi
|
|
@@ -6,12 +6,12 @@ case `uname` in
|
|
|
6
6
|
esac
|
|
7
7
|
|
|
8
8
|
if [ -z "$NODE_PATH" ]; then
|
|
9
|
-
export NODE_PATH="/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/ts-node@10.9.1_@types+node@18.
|
|
9
|
+
export NODE_PATH="/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/ts-node@10.9.1_@types+node@18.16.15_typescript@5.0.4/node_modules/ts-node/dist/node_modules:/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/ts-node@10.9.1_@types+node@18.16.15_typescript@5.0.4/node_modules/ts-node/node_modules:/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/ts-node@10.9.1_@types+node@18.16.15_typescript@5.0.4/node_modules:/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/node_modules"
|
|
10
10
|
else
|
|
11
|
-
export NODE_PATH="/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/ts-node@10.9.1_@types+node@18.
|
|
11
|
+
export NODE_PATH="/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/ts-node@10.9.1_@types+node@18.16.15_typescript@5.0.4/node_modules/ts-node/dist/node_modules:/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/ts-node@10.9.1_@types+node@18.16.15_typescript@5.0.4/node_modules/ts-node/node_modules:/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/ts-node@10.9.1_@types+node@18.16.15_typescript@5.0.4/node_modules:/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
|
-
exec "$basedir/node" "$basedir/../../../../node_modules/.pnpm/ts-node@10.9.1_@types+node@18.
|
|
14
|
+
exec "$basedir/node" "$basedir/../../../../node_modules/.pnpm/ts-node@10.9.1_@types+node@18.16.15_typescript@5.0.4/node_modules/ts-node/dist/bin-script-deprecated.js" "$@"
|
|
15
15
|
else
|
|
16
|
-
exec node "$basedir/../../../../node_modules/.pnpm/ts-node@10.9.1_@types+node@18.
|
|
16
|
+
exec node "$basedir/../../../../node_modules/.pnpm/ts-node@10.9.1_@types+node@18.16.15_typescript@5.0.4/node_modules/ts-node/dist/bin-script-deprecated.js" "$@"
|
|
17
17
|
fi
|
|
@@ -6,12 +6,12 @@ case `uname` in
|
|
|
6
6
|
esac
|
|
7
7
|
|
|
8
8
|
if [ -z "$NODE_PATH" ]; then
|
|
9
|
-
export NODE_PATH="/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/typescript@5.0.
|
|
9
|
+
export NODE_PATH="/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/bin/node_modules:/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/node_modules:/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/typescript@5.0.4/node_modules:/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/node_modules"
|
|
10
10
|
else
|
|
11
|
-
export NODE_PATH="/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/typescript@5.0.
|
|
11
|
+
export NODE_PATH="/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/bin/node_modules:/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/node_modules:/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/typescript@5.0.4/node_modules:/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
|
-
exec "$basedir/node" "$basedir/../../../../node_modules/.pnpm/typescript@5.0.
|
|
14
|
+
exec "$basedir/node" "$basedir/../../../../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/bin/tsc" "$@"
|
|
15
15
|
else
|
|
16
|
-
exec node "$basedir/../../../../node_modules/.pnpm/typescript@5.0.
|
|
16
|
+
exec node "$basedir/../../../../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/bin/tsc" "$@"
|
|
17
17
|
fi
|
|
@@ -6,12 +6,12 @@ case `uname` in
|
|
|
6
6
|
esac
|
|
7
7
|
|
|
8
8
|
if [ -z "$NODE_PATH" ]; then
|
|
9
|
-
export NODE_PATH="/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/tsc-alias@1.8.
|
|
9
|
+
export NODE_PATH="/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/tsc-alias@1.8.6/node_modules/tsc-alias/dist/bin/node_modules:/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/tsc-alias@1.8.6/node_modules/tsc-alias/dist/node_modules:/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/tsc-alias@1.8.6/node_modules/tsc-alias/node_modules:/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/tsc-alias@1.8.6/node_modules:/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/node_modules"
|
|
10
10
|
else
|
|
11
|
-
export NODE_PATH="/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/tsc-alias@1.8.
|
|
11
|
+
export NODE_PATH="/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/tsc-alias@1.8.6/node_modules/tsc-alias/dist/bin/node_modules:/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/tsc-alias@1.8.6/node_modules/tsc-alias/dist/node_modules:/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/tsc-alias@1.8.6/node_modules/tsc-alias/node_modules:/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/tsc-alias@1.8.6/node_modules:/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
|
-
exec "$basedir/node" "$basedir/../../../../node_modules/.pnpm/tsc-alias@1.8.
|
|
14
|
+
exec "$basedir/node" "$basedir/../../../../node_modules/.pnpm/tsc-alias@1.8.6/node_modules/tsc-alias/dist/bin/index.js" "$@"
|
|
15
15
|
else
|
|
16
|
-
exec node "$basedir/../../../../node_modules/.pnpm/tsc-alias@1.8.
|
|
16
|
+
exec node "$basedir/../../../../node_modules/.pnpm/tsc-alias@1.8.6/node_modules/tsc-alias/dist/bin/index.js" "$@"
|
|
17
17
|
fi
|
|
@@ -6,12 +6,12 @@ case `uname` in
|
|
|
6
6
|
esac
|
|
7
7
|
|
|
8
8
|
if [ -z "$NODE_PATH" ]; then
|
|
9
|
-
export NODE_PATH="/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/typescript@5.0.
|
|
9
|
+
export NODE_PATH="/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/bin/node_modules:/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/node_modules:/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/typescript@5.0.4/node_modules:/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/node_modules"
|
|
10
10
|
else
|
|
11
|
-
export NODE_PATH="/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/typescript@5.0.
|
|
11
|
+
export NODE_PATH="/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/bin/node_modules:/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/node_modules:/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/typescript@5.0.4/node_modules:/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
|
-
exec "$basedir/node" "$basedir/../../../../node_modules/.pnpm/typescript@5.0.
|
|
14
|
+
exec "$basedir/node" "$basedir/../../../../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/bin/tsserver" "$@"
|
|
15
15
|
else
|
|
16
|
-
exec node "$basedir/../../../../node_modules/.pnpm/typescript@5.0.
|
|
16
|
+
exec node "$basedir/../../../../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/bin/tsserver" "$@"
|
|
17
17
|
fi
|
|
@@ -6,12 +6,12 @@ case `uname` in
|
|
|
6
6
|
esac
|
|
7
7
|
|
|
8
8
|
if [ -z "$NODE_PATH" ]; then
|
|
9
|
-
export NODE_PATH="/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/vite@4.
|
|
9
|
+
export NODE_PATH="/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/vite@4.3.9_@types+node@18.16.15/node_modules/vite/bin/node_modules:/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/vite@4.3.9_@types+node@18.16.15/node_modules/vite/node_modules:/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/vite@4.3.9_@types+node@18.16.15/node_modules:/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/node_modules"
|
|
10
10
|
else
|
|
11
|
-
export NODE_PATH="/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/vite@4.
|
|
11
|
+
export NODE_PATH="/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/vite@4.3.9_@types+node@18.16.15/node_modules/vite/bin/node_modules:/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/vite@4.3.9_@types+node@18.16.15/node_modules/vite/node_modules:/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/vite@4.3.9_@types+node@18.16.15/node_modules:/Users/t.fujita/Documents/Repos/sakura-ui/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
|
-
exec "$basedir/node" "$basedir/../../../../node_modules/.pnpm/vite@4.
|
|
14
|
+
exec "$basedir/node" "$basedir/../../../../node_modules/.pnpm/vite@4.3.9_@types+node@18.16.15/node_modules/vite/bin/vite.js" "$@"
|
|
15
15
|
else
|
|
16
|
-
exec node "$basedir/../../../../node_modules/.pnpm/vite@4.
|
|
16
|
+
exec node "$basedir/../../../../node_modules/.pnpm/vite@4.3.9_@types+node@18.16.15/node_modules/vite/bin/vite.js" "$@"
|
|
17
17
|
fi
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sakura-ui/forms",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.6",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -42,24 +42,24 @@
|
|
|
42
42
|
"@jest/types": "^29.5.0",
|
|
43
43
|
"@testing-library/jest-dom": "^5.16.5",
|
|
44
44
|
"@testing-library/react": "^14.0.0",
|
|
45
|
-
"@types/jest": "^29.
|
|
46
|
-
"@types/node": "^18.
|
|
47
|
-
"@types/react": "^18.
|
|
48
|
-
"@types/react-dom": "^18.
|
|
49
|
-
"@types/testing-library__jest-dom": "^5.14.
|
|
50
|
-
"@vitejs/plugin-react-swc": "^3.
|
|
51
|
-
"autoprefixer": "^10.4.
|
|
52
|
-
"jest": "^29.
|
|
45
|
+
"@types/jest": "^29.5.1",
|
|
46
|
+
"@types/node": "^18.16.15",
|
|
47
|
+
"@types/react": "^18.2.7",
|
|
48
|
+
"@types/react-dom": "^18.2.4",
|
|
49
|
+
"@types/testing-library__jest-dom": "^5.14.6",
|
|
50
|
+
"@vitejs/plugin-react-swc": "^3.3.1",
|
|
51
|
+
"autoprefixer": "^10.4.14",
|
|
52
|
+
"jest": "^29.5.0",
|
|
53
53
|
"jest-environment-jsdom": "^29.5.0",
|
|
54
54
|
"npm-run-all": "^4.1.5",
|
|
55
|
-
"postcss": "^8.4.
|
|
55
|
+
"postcss": "^8.4.23",
|
|
56
56
|
"react": "^18.2.0",
|
|
57
57
|
"react-dom": "^18.2.0",
|
|
58
|
-
"tailwindcss": "^3.2
|
|
59
|
-
"ts-jest": "^29.0
|
|
58
|
+
"tailwindcss": "^3.3.2",
|
|
59
|
+
"ts-jest": "^29.1.0",
|
|
60
60
|
"ts-node": "^10.9.1",
|
|
61
|
-
"tsc-alias": "^1.8.
|
|
62
|
-
"typescript": "^5.0.
|
|
63
|
-
"vite": "^4.
|
|
61
|
+
"tsc-alias": "^1.8.6",
|
|
62
|
+
"typescript": "^5.0.4",
|
|
63
|
+
"vite": "^4.3.9"
|
|
64
64
|
}
|
|
65
65
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react'
|
|
2
|
-
import { cx } from '../utils'
|
|
2
|
+
import { cx } from '../utils/class'
|
|
3
3
|
import { ControllerContext } from './context'
|
|
4
4
|
|
|
5
5
|
export interface CheckboxProps extends React.ComponentProps<'input'> {}
|
|
@@ -24,12 +24,11 @@ export const Checkbox = React.forwardRef<HTMLInputElement, CheckboxProps>(
|
|
|
24
24
|
`
|
|
25
25
|
|
|
26
26
|
const styleInput = `
|
|
27
|
-
hidden
|
|
28
27
|
peer
|
|
28
|
+
hidden
|
|
29
29
|
`
|
|
30
30
|
|
|
31
31
|
const styleCheck = `
|
|
32
|
-
inline-block
|
|
33
32
|
bg-clip-content
|
|
34
33
|
w-6 h-6
|
|
35
34
|
ml-1
|
|
@@ -38,8 +37,11 @@ export const Checkbox = React.forwardRef<HTMLInputElement, CheckboxProps>(
|
|
|
38
37
|
border
|
|
39
38
|
border-solid
|
|
40
39
|
border-sumi-900
|
|
40
|
+
fill-transparent
|
|
41
|
+
peer-checked:fill-white-1000
|
|
41
42
|
peer-checked:bg-sea-600
|
|
42
43
|
peer-checked:border-none
|
|
44
|
+
peer-disabled:border-sumi-500
|
|
43
45
|
`
|
|
44
46
|
|
|
45
47
|
return (
|
|
@@ -56,13 +58,10 @@ export const Checkbox = React.forwardRef<HTMLInputElement, CheckboxProps>(
|
|
|
56
58
|
/>
|
|
57
59
|
<span className={styleCheck}>
|
|
58
60
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24">
|
|
59
|
-
<path
|
|
60
|
-
fill="#fff"
|
|
61
|
-
d="m9.55 17.65-5.325-5.325 1.05-1.075 4.275 4.275 9.175-9.175 1.05 1.075Z"
|
|
62
|
-
/>
|
|
61
|
+
<path d="m9.55 17.65-5.325-5.325 1.05-1.075 4.275 4.275 9.175-9.175 1.05 1.075Z" />
|
|
63
62
|
</svg>
|
|
64
63
|
</span>
|
|
65
|
-
{children}
|
|
64
|
+
<span className="peer-disabled:text-sumi-500">{children}</span>
|
|
66
65
|
</span>
|
|
67
66
|
</label>
|
|
68
67
|
)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react'
|
|
2
|
-
import { cx } from '../utils'
|
|
2
|
+
import { cx } from '../utils/class'
|
|
3
3
|
import { ControllerContext } from './context'
|
|
4
4
|
|
|
5
5
|
export interface Props extends React.ComponentPropsWithoutRef<'input'> {}
|
|
@@ -20,10 +20,11 @@ export const Radio = React.forwardRef<HTMLInputElement, Props>((props, ref) => {
|
|
|
20
20
|
cursor-pointer
|
|
21
21
|
py-2
|
|
22
22
|
mr-4
|
|
23
|
+
|
|
23
24
|
`
|
|
24
25
|
const styleInput = `
|
|
25
|
-
hidden
|
|
26
26
|
peer
|
|
27
|
+
hidden
|
|
27
28
|
`
|
|
28
29
|
|
|
29
30
|
const styleRadio = `
|
|
@@ -38,6 +39,7 @@ export const Radio = React.forwardRef<HTMLInputElement, Props>((props, ref) => {
|
|
|
38
39
|
border-sumi-900
|
|
39
40
|
peer-checked:bg-sea-600
|
|
40
41
|
peer-checked:border-sea-600
|
|
42
|
+
peer-disabled:border-sumi-500
|
|
41
43
|
`
|
|
42
44
|
return (
|
|
43
45
|
<label htmlFor={newProps.id} className={cx(style, className)}>
|
|
@@ -52,7 +54,7 @@ export const Radio = React.forwardRef<HTMLInputElement, Props>((props, ref) => {
|
|
|
52
54
|
ref={ref}
|
|
53
55
|
/>
|
|
54
56
|
<span className={styleRadio}></span>
|
|
55
|
-
{children}
|
|
57
|
+
<span className="peer-disabled:text-sumi-500">{children}</span>
|
|
56
58
|
</span>
|
|
57
59
|
</label>
|
|
58
60
|
)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react'
|
|
2
|
-
import { cx } from '../utils'
|
|
2
|
+
import { cx } from '../utils/class'
|
|
3
3
|
import { ControllerContext } from './context'
|
|
4
4
|
|
|
5
5
|
export interface SelectProps extends React.ComponentPropsWithoutRef<'select'> {}
|
|
@@ -15,6 +15,7 @@ export const Select = React.forwardRef<HTMLSelectElement, SelectProps>(
|
|
|
15
15
|
const invalidStyle = ctx.isInvalid ? 'border-sun-800' : 'border-sumi-900'
|
|
16
16
|
|
|
17
17
|
const style = `
|
|
18
|
+
peer
|
|
18
19
|
cursor-pointer
|
|
19
20
|
appearance-none
|
|
20
21
|
text-base
|
|
@@ -27,10 +28,21 @@ export const Select = React.forwardRef<HTMLSelectElement, SelectProps>(
|
|
|
27
28
|
focus:outline
|
|
28
29
|
focus:outline-2
|
|
29
30
|
focus:outline-wood-500
|
|
31
|
+
disabled:bg-transparent
|
|
32
|
+
disabled:text-sumi-500
|
|
33
|
+
disabled:border-sumi-500
|
|
34
|
+
`
|
|
35
|
+
|
|
36
|
+
const styleArrow = `
|
|
37
|
+
flex items-center
|
|
38
|
+
absolute inset-y-0 right-0
|
|
39
|
+
px-2
|
|
40
|
+
pointer-events-none
|
|
41
|
+
peer-disabled:fill-sumi-500
|
|
30
42
|
`
|
|
31
43
|
|
|
32
44
|
return (
|
|
33
|
-
<
|
|
45
|
+
<label className="inline-block relative">
|
|
34
46
|
<select
|
|
35
47
|
id={restProps.id ?? ctx.id}
|
|
36
48
|
className={cx(style, invalidStyle, props.className)}
|
|
@@ -42,17 +54,12 @@ export const Select = React.forwardRef<HTMLSelectElement, SelectProps>(
|
|
|
42
54
|
>
|
|
43
55
|
{children}
|
|
44
56
|
</select>
|
|
45
|
-
<span className=
|
|
46
|
-
<svg
|
|
47
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
48
|
-
className="fill-sumi-900"
|
|
49
|
-
height="24"
|
|
50
|
-
width="24"
|
|
51
|
-
>
|
|
57
|
+
<span className={styleArrow}>
|
|
58
|
+
<svg xmlns="http://www.w3.org/2000/svg" height="24" width="24">
|
|
52
59
|
<path d="M12 15.05 6.35 9.4 7.4 8.35l4.6 4.6 4.6-4.6 1.05 1.05Z" />
|
|
53
60
|
</svg>
|
|
54
61
|
</span>
|
|
55
|
-
</
|
|
62
|
+
</label>
|
|
56
63
|
)
|
|
57
64
|
}
|
|
58
65
|
)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react'
|
|
2
|
-
import { cx } from '../utils'
|
|
2
|
+
import { cx } from '../utils/class'
|
|
3
3
|
import { ControllerContext } from './context'
|
|
4
4
|
|
|
5
5
|
export interface TextProps extends React.ComponentPropsWithoutRef<'input'> {}
|
|
@@ -22,10 +22,8 @@ export const Text = React.forwardRef<HTMLInputElement, TextProps>(
|
|
|
22
22
|
focus:outline
|
|
23
23
|
focus:outline-2
|
|
24
24
|
focus:outline-wood-500
|
|
25
|
-
disabled:bg-
|
|
26
|
-
disabled:text-
|
|
27
|
-
disabled:border
|
|
28
|
-
disabled:border-solid
|
|
25
|
+
disabled:bg-transparent
|
|
26
|
+
disabled:text-sumi-500
|
|
29
27
|
disabled:border-sumi-500
|
|
30
28
|
`
|
|
31
29
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react'
|
|
2
|
-
import { cx } from '../utils'
|
|
2
|
+
import { cx } from '../utils/class'
|
|
3
3
|
import { ControllerContext } from './context'
|
|
4
4
|
|
|
5
5
|
export interface TextareaProps
|
|
@@ -24,10 +24,8 @@ export const Textarea = React.forwardRef<HTMLTextAreaElement, TextareaProps>(
|
|
|
24
24
|
focus:outline
|
|
25
25
|
focus:outline-2
|
|
26
26
|
focus:outline-wood-500
|
|
27
|
-
disabled:bg-
|
|
28
|
-
disabled:text-
|
|
29
|
-
disabled:border
|
|
30
|
-
disabled:border-solid
|
|
27
|
+
disabled:bg-transparent
|
|
28
|
+
disabled:text-sumi-500
|
|
31
29
|
disabled:border-sumi-500
|
|
32
30
|
`
|
|
33
31
|
|
|
File without changes
|
|
File without changes
|