@withnicer/ui 0.0.0-stage → 1.0.1
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/README.md +68 -2
- package/dist/index.d.ts +919 -0
- package/dist/index.js +5521 -0
- package/package.json +92 -4
- package/src/assets/avatar-placeholder-dark.svg +4 -0
- package/src/assets/avatar-placeholder-light.svg +4 -0
- package/src/assets/dropdown-black.svg +5 -0
- package/src/assets/dropdown-white.svg +5 -0
- package/src/assets/image-placeholder-dark.svg +12 -0
- package/src/assets/image-placeholder-light.svg +12 -0
- package/src/assets/lodging-placeholder.jpg +0 -0
- package/src/assets/spinner-black.png +0 -0
- package/src/assets/spinner-white.png +0 -0
- package/src/styles/fonts/TheSeasons-Regular.ttf +0 -0
- package/src/styles/fonts/TheSeasons-Regular.woff +0 -0
- package/src/styles/fonts/TheSeasons-Regular.woff2 +0 -0
- package/src/styles/icons/Icomoon.json +4117 -0
- package/src/styles/icons/fonts/icomoon.eot +0 -0
- package/src/styles/icons/fonts/icomoon.svg +221 -0
- package/src/styles/icons/fonts/icomoon.ttf +0 -0
- package/src/styles/icons/fonts/icomoon.woff +0 -0
- package/src/styles/icons/style.css +677 -0
- package/src/styles/reset.css +35 -0
- package/src/styles/styles.sass +2719 -0
- package/src/utils/dial-codes.json +1454 -0
package/package.json
CHANGED
|
@@ -1,6 +1,94 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@withnicer/ui",
|
|
3
|
-
"version": "
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "1.0.1",
|
|
4
|
+
"description": "Nicer's design system: React primitives, tokens and styles.",
|
|
5
|
+
"license": "UNLICENSED",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "git+https://github.com/withnicer/ui.git"
|
|
9
|
+
},
|
|
10
|
+
"files": [
|
|
11
|
+
"dist",
|
|
12
|
+
"src/styles",
|
|
13
|
+
"src/assets",
|
|
14
|
+
"!src/assets/cards",
|
|
15
|
+
"src/utils/dial-codes.json"
|
|
16
|
+
],
|
|
17
|
+
"type": "module",
|
|
18
|
+
"sideEffects": [
|
|
19
|
+
"*.sass",
|
|
20
|
+
"*.css"
|
|
21
|
+
],
|
|
22
|
+
"main": "./dist/index.js",
|
|
23
|
+
"types": "./dist/index.d.ts",
|
|
24
|
+
"exports": {
|
|
25
|
+
".": {
|
|
26
|
+
"types": "./dist/index.d.ts",
|
|
27
|
+
"import": "./dist/index.js"
|
|
28
|
+
},
|
|
29
|
+
"./styles.sass": "./src/styles/styles.sass",
|
|
30
|
+
"./dial-codes.json": "./src/utils/dial-codes.json",
|
|
31
|
+
"./fonts/*": "./src/styles/fonts/*"
|
|
32
|
+
},
|
|
33
|
+
"publishConfig": {
|
|
34
|
+
"access": "public"
|
|
35
|
+
},
|
|
36
|
+
"scripts": {
|
|
37
|
+
"prepare": "vp config --no-agent",
|
|
38
|
+
"release": "semantic-release"
|
|
39
|
+
},
|
|
40
|
+
"dependencies": {
|
|
41
|
+
"aws-rum-web": "^3.2.1",
|
|
42
|
+
"clsx": "^2.1.1",
|
|
43
|
+
"dayjs": "^1.11.23",
|
|
44
|
+
"react-error-boundary": "^6.1.3",
|
|
45
|
+
"react-joyride": "^3.2.0"
|
|
46
|
+
},
|
|
47
|
+
"devDependencies": {
|
|
48
|
+
"@types/node": "^26.2.0",
|
|
49
|
+
"@types/react": "^19.2.18",
|
|
50
|
+
"@types/react-dom": "^19.2.4",
|
|
51
|
+
"@vitejs/plugin-react": "^6.0.5",
|
|
52
|
+
"jsdom": "^30.0.1",
|
|
53
|
+
"react": "^19.2.8",
|
|
54
|
+
"react-dom": "^19.2.8",
|
|
55
|
+
"semantic-release": "^26.0.1",
|
|
56
|
+
"styled-components": "^6.5.3",
|
|
57
|
+
"typescript": "^7.0.2",
|
|
58
|
+
"ultracite": "7.11.1",
|
|
59
|
+
"vite": "npm:@voidzero-dev/vite-plus-core@8.3.8000",
|
|
60
|
+
"vite-plus": "1.7.0"
|
|
61
|
+
},
|
|
62
|
+
"peerDependencies": {
|
|
63
|
+
"react": "^19.2.8",
|
|
64
|
+
"react-dom": "^19.2.8",
|
|
65
|
+
"sass": "^1.102.0",
|
|
66
|
+
"styled-components": "^6.5.3"
|
|
67
|
+
},
|
|
68
|
+
"peerDependenciesMeta": {
|
|
69
|
+
"sass": {
|
|
70
|
+
"optional": true
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
"overrides": {
|
|
74
|
+
"vite": "npm:@voidzero-dev/vite-plus-core@8.3.8000"
|
|
75
|
+
},
|
|
76
|
+
"release": {
|
|
77
|
+
"branches": [
|
|
78
|
+
"main"
|
|
79
|
+
],
|
|
80
|
+
"plugins": [
|
|
81
|
+
"@semantic-release/commit-analyzer",
|
|
82
|
+
"@semantic-release/release-notes-generator",
|
|
83
|
+
"@semantic-release/npm",
|
|
84
|
+
[
|
|
85
|
+
"@semantic-release/github",
|
|
86
|
+
{
|
|
87
|
+
"failCommentCondition": false,
|
|
88
|
+
"successCommentCondition": false
|
|
89
|
+
}
|
|
90
|
+
]
|
|
91
|
+
]
|
|
92
|
+
},
|
|
93
|
+
"packageManager": "bun@1.3.14"
|
|
94
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<svg width="8" height="8" viewBox="0 0 8 8" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<g opacity="0.5">
|
|
3
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M3.64645 0.146447C3.84171 -0.0488155 4.15829 -0.0488155 4.35355 0.146447L6.35355 2.14645C6.54882 2.34171 6.54882 2.65829 6.35355 2.85355C6.15829 3.04882 5.84171 3.04882 5.64645 2.85355L4 1.20711L2.35355 2.85355C2.15829 3.04882 1.84171 3.04882 1.64645 2.85355C1.45118 2.65829 1.45118 2.34171 1.64645 2.14645L3.64645 0.146447ZM1.64645 5.14645C1.84171 4.95118 2.15829 4.95118 2.35355 5.14645L4 6.79289L5.64645 5.14645C5.84171 4.95118 6.15829 4.95118 6.35355 5.14645C6.54882 5.34171 6.54882 5.65829 6.35355 5.85355L4.35355 7.85355C4.15829 8.04882 3.84171 8.04882 3.64645 7.85355L1.64645 5.85355C1.45118 5.65829 1.45118 5.34171 1.64645 5.14645Z" fill="black"/>
|
|
4
|
+
</g>
|
|
5
|
+
</svg>
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<svg width="8" height="8" viewBox="0 0 8 8" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<g opacity="0.5">
|
|
3
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M3.64645 0.146447C3.84171 -0.0488155 4.15829 -0.0488155 4.35355 0.146447L6.35355 2.14645C6.54882 2.34171 6.54882 2.65829 6.35355 2.85355C6.15829 3.04882 5.84171 3.04882 5.64645 2.85355L4 1.20711L2.35355 2.85355C2.15829 3.04882 1.84171 3.04882 1.64645 2.85355C1.45118 2.65829 1.45118 2.34171 1.64645 2.14645L3.64645 0.146447ZM1.64645 5.14645C1.84171 4.95118 2.15829 4.95118 2.35355 5.14645L4 6.79289L5.64645 5.14645C5.84171 4.95118 6.15829 4.95118 6.35355 5.14645C6.54882 5.34171 6.54882 5.65829 6.35355 5.85355L4.35355 7.85355C4.15829 8.04882 3.84171 8.04882 3.64645 7.85355L1.64645 5.85355C1.45118 5.65829 1.45118 5.34171 1.64645 5.14645Z" fill="white"/>
|
|
4
|
+
</g>
|
|
5
|
+
</svg>
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<svg width="48" height="40" viewBox="0 0 48 40" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<defs>
|
|
3
|
+
<clipPath id="frame">
|
|
4
|
+
<rect width="48" height="40" rx="9"/>
|
|
5
|
+
</clipPath>
|
|
6
|
+
</defs>
|
|
7
|
+
<rect width="48" height="40" rx="9" fill="#303030"/>
|
|
8
|
+
<g clip-path="url(#frame)" fill="#3D3D3D">
|
|
9
|
+
<circle cx="35" cy="12.5" r="4.5"/>
|
|
10
|
+
<path d="M-2 40 16.6 20.4C17.9 19 20.1 19 21.4 20.4L33 32.6 36.6 28.9C37.9 27.6 40.1 27.6 41.4 28.9L52 40Z"/>
|
|
11
|
+
</g>
|
|
12
|
+
</svg>
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<svg width="48" height="40" viewBox="0 0 48 40" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<defs>
|
|
3
|
+
<clipPath id="frame">
|
|
4
|
+
<rect width="48" height="40" rx="9"/>
|
|
5
|
+
</clipPath>
|
|
6
|
+
</defs>
|
|
7
|
+
<rect width="48" height="40" rx="9" fill="#DBDBDB"/>
|
|
8
|
+
<g clip-path="url(#frame)" fill="#CCCCCC">
|
|
9
|
+
<circle cx="35" cy="12.5" r="4.5"/>
|
|
10
|
+
<path d="M-2 40 16.6 20.4C17.9 19 20.1 19 21.4 20.4L33 32.6 36.6 28.9C37.9 27.6 40.1 27.6 41.4 28.9L52 40Z"/>
|
|
11
|
+
</g>
|
|
12
|
+
</svg>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|