@endsoul/react-ui 0.1.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.
- package/dist/index.cjs +6 -0
- package/dist/index.d.ts +18 -0
- package/dist/index.js +1960 -0
- package/dist/style.css +2 -0
- package/package.json +106 -0
package/dist/style.css
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
|
|
2
|
+
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-border-style:solid;--tw-animation-delay:0s;--tw-animation-direction:normal;--tw-animation-duration:initial;--tw-animation-fill-mode:none;--tw-animation-iteration-count:1;--tw-enter-blur:0;--tw-enter-opacity:1;--tw-enter-rotate:0;--tw-enter-scale:1;--tw-enter-translate-x:0;--tw-enter-translate-y:0;--tw-exit-blur:0;--tw-exit-opacity:1;--tw-exit-rotate:0;--tw-exit-scale:1;--tw-exit-translate-x:0;--tw-exit-translate-y:0}}}@layer theme{:root,:host{--font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--radius-md:.375rem;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.fixed{position:fixed}.inline-flex{display:inline-flex}.h-9{height:calc(var(--spacing) * 9)}.cursor-pointer{cursor:pointer}.items-center{align-items:center}.justify-center{justify-content:center}.rounded-md{border-radius:var(--radius-md)}.border{border-style:var(--tw-border-style);border-width:1px}.px-4{padding-inline:calc(var(--spacing) * 4)}.py-2{padding-block:calc(var(--spacing) * 2)}}@property --tw-animation-delay{syntax:"*";inherits:false;initial-value:0s}@property --tw-animation-direction{syntax:"*";inherits:false;initial-value:normal}@property --tw-animation-duration{syntax:"*";inherits:false}@property --tw-animation-fill-mode{syntax:"*";inherits:false;initial-value:none}@property --tw-animation-iteration-count{syntax:"*";inherits:false;initial-value:1}@property --tw-enter-blur{syntax:"*";inherits:false;initial-value:0}@property --tw-enter-opacity{syntax:"*";inherits:false;initial-value:1}@property --tw-enter-rotate{syntax:"*";inherits:false;initial-value:0}@property --tw-enter-scale{syntax:"*";inherits:false;initial-value:1}@property --tw-enter-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-enter-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-blur{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-opacity{syntax:"*";inherits:false;initial-value:1}@property --tw-exit-rotate{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-scale{syntax:"*";inherits:false;initial-value:1}@property --tw-exit-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}
|
package/package.json
ADDED
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@endsoul/react-ui",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Reusable React UI component library",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"publishConfig": {
|
|
7
|
+
"access": "public"
|
|
8
|
+
},
|
|
9
|
+
"files": [
|
|
10
|
+
"dist"
|
|
11
|
+
],
|
|
12
|
+
"main": "./dist/index.cjs",
|
|
13
|
+
"module": "./dist/index.js",
|
|
14
|
+
"types": "./dist/index.d.ts",
|
|
15
|
+
"exports": {
|
|
16
|
+
".": {
|
|
17
|
+
"types": "./dist/index.d.ts",
|
|
18
|
+
"import": "./dist/index.js",
|
|
19
|
+
"require": "./dist/index.cjs"
|
|
20
|
+
},
|
|
21
|
+
"./style.css": "./dist/style.css"
|
|
22
|
+
},
|
|
23
|
+
"sideEffects": [
|
|
24
|
+
"**/*.css"
|
|
25
|
+
],
|
|
26
|
+
"type": "module",
|
|
27
|
+
"imports": {
|
|
28
|
+
"#/*": "./src/*"
|
|
29
|
+
},
|
|
30
|
+
"scripts": {
|
|
31
|
+
"dev": "vite dev --port 3000",
|
|
32
|
+
"build": "vite build && npm run build:css",
|
|
33
|
+
"build:css": "tailwindcss -i ./src/styles/globals.css -o ./dist/style.css --minify",
|
|
34
|
+
"preview": "vite preview",
|
|
35
|
+
"test": "vitest",
|
|
36
|
+
"test:ci": "vitest run",
|
|
37
|
+
"lint": "eslint",
|
|
38
|
+
"format": "prettier --write . && eslint --fix",
|
|
39
|
+
"check": "prettier --check .",
|
|
40
|
+
"storybook": "storybook dev -p 6006",
|
|
41
|
+
"build-storybook": "storybook build",
|
|
42
|
+
"changeset": "changeset",
|
|
43
|
+
"version-packages": "changeset version",
|
|
44
|
+
"release": "npm run build && changeset publish"
|
|
45
|
+
},
|
|
46
|
+
"dependencies": {
|
|
47
|
+
"class-variance-authority": "^0.7.1",
|
|
48
|
+
"clsx": "^2.1.1",
|
|
49
|
+
"tailwind-merge": "^3.0.2"
|
|
50
|
+
},
|
|
51
|
+
"peerDependencies": {
|
|
52
|
+
"react": "^19.0.0",
|
|
53
|
+
"react-dom": "^19.0.0"
|
|
54
|
+
},
|
|
55
|
+
"devDependencies": {
|
|
56
|
+
"@changesets/changelog-github": "^1.0.0",
|
|
57
|
+
"@changesets/cli": "^3.0.0",
|
|
58
|
+
"@eslint/eslintrc": "^3.2.0",
|
|
59
|
+
"@eslint/js": "^9.20.0",
|
|
60
|
+
"@microsoft/api-extractor": "^7.58.12",
|
|
61
|
+
"@storybook/addon-a11y": "^10.5.8",
|
|
62
|
+
"@storybook/addon-docs": "^10.5.8",
|
|
63
|
+
"@storybook/addon-vitest": "^10.5.8",
|
|
64
|
+
"@storybook/react-vite": "^10.5.8",
|
|
65
|
+
"@tailwindcss/cli": "^4.3.3",
|
|
66
|
+
"@tailwindcss/typography": "^0.5.16",
|
|
67
|
+
"@tailwindcss/vite": "^4.1.18",
|
|
68
|
+
"@testing-library/dom": "^10.4.1",
|
|
69
|
+
"@testing-library/jest-dom": "^7.0.0",
|
|
70
|
+
"@testing-library/react": "^16.3.0",
|
|
71
|
+
"@testing-library/user-event": "^14.6.1",
|
|
72
|
+
"@types/node": "^22.10.2",
|
|
73
|
+
"@types/react": "^19.2.0",
|
|
74
|
+
"@types/react-dom": "^19.2.0",
|
|
75
|
+
"@vitejs/plugin-react": "^6.0.1",
|
|
76
|
+
"@vitest/browser-playwright": "4.1.10",
|
|
77
|
+
"@vitest/coverage-v8": "4.1.10",
|
|
78
|
+
"@vitest/eslint-plugin": "^1.1.25",
|
|
79
|
+
"eslint": "^9.20.0",
|
|
80
|
+
"eslint-config-prettier": "^10.1.8",
|
|
81
|
+
"eslint-import-resolver-typescript": "^4.4.5",
|
|
82
|
+
"eslint-plugin-check-file": "^2.8.0",
|
|
83
|
+
"eslint-plugin-import": "^2.32.0",
|
|
84
|
+
"eslint-plugin-jest-dom": "^5.5.0",
|
|
85
|
+
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
86
|
+
"eslint-plugin-playwright": "^2.10.5",
|
|
87
|
+
"eslint-plugin-prettier": "^5.5.6",
|
|
88
|
+
"eslint-plugin-react": "^7.37.5",
|
|
89
|
+
"eslint-plugin-react-hooks": "^7.1.1",
|
|
90
|
+
"eslint-plugin-storybook": "^10.5.8",
|
|
91
|
+
"eslint-plugin-tailwindcss": "^4.2.0",
|
|
92
|
+
"eslint-plugin-testing-library": "^7.16.2",
|
|
93
|
+
"jsdom": "^28.1.0",
|
|
94
|
+
"playwright": "latest",
|
|
95
|
+
"prettier": "^3.8.1",
|
|
96
|
+
"react": "^19.2.0",
|
|
97
|
+
"react-dom": "^19.2.0",
|
|
98
|
+
"storybook": "^10.5.8",
|
|
99
|
+
"tailwindcss": "^4.1.18",
|
|
100
|
+
"tw-animate-css": "^1.3.6",
|
|
101
|
+
"typescript": "^6.0.2",
|
|
102
|
+
"vite": "^8.0.0",
|
|
103
|
+
"vite-plugin-dts": "^5.0.3",
|
|
104
|
+
"vitest": "^4.1.5"
|
|
105
|
+
}
|
|
106
|
+
}
|