@rufous/ui 0.1.23 → 0.1.27

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.
@@ -31,6 +31,59 @@
31
31
  cursor: not-allowed;
32
32
  }
33
33
  .submit-btn {
34
+ display: -webkit-inline-box;
35
+ display: -webkit-inline-flex;
36
+ display: -ms-inline-flexbox;
37
+ display: inline-flex;
38
+ -webkit-align-items: center;
39
+ -webkit-box-align: center;
40
+ -ms-flex-align: center;
41
+ align-items: center;
42
+ -webkit-box-pack: center;
43
+ -ms-flex-pack: center;
44
+ -webkit-justify-content: center;
45
+ justify-content: center;
46
+ position: relative;
47
+ box-sizing: border-box;
48
+ -webkit-tap-highlight-color: transparent;
49
+ background-color: transparent;
50
+ outline: 0;
51
+ margin: 0;
52
+ cursor: pointer;
53
+ -webkit-user-select: none;
54
+ -moz-user-select: none;
55
+ -ms-user-select: none;
56
+ user-select: none;
57
+ vertical-align: middle;
58
+ -moz-appearance: none;
59
+ -webkit-appearance: none;
60
+ -webkit-text-decoration: none;
61
+ text-decoration: none;
62
+ color: inherit;
63
+ font-family:
64
+ "Roboto",
65
+ "Helvetica",
66
+ "Arial",
67
+ sans-serif;
68
+ font-weight: 500;
69
+ font-size: 0.875rem;
70
+ line-height: 1.75;
71
+ letter-spacing: 0.02857em;
72
+ min-width: 64px;
73
+ padding: 6px 8px;
74
+ border-radius: 4px;
75
+ -webkit-transition:
76
+ background-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,
77
+ box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,
78
+ border-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,
79
+ color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
80
+ transition:
81
+ background-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,
82
+ box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,
83
+ border-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,
84
+ color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
85
+ background: #a81c07;
86
+ border: 1px solid #a81c07;
34
87
  background-color: #9b1906;
35
88
  color: #fff;
36
89
  font-size: 12px;
@@ -0,0 +1,91 @@
1
+ /* lib/styles/dialog.css */
2
+ .dialog-overlay {
3
+ position: fixed;
4
+ inset: 0;
5
+ background: rgba(0, 0, 0, 0.5);
6
+ display: flex;
7
+ justify-content: center;
8
+ align-items: center;
9
+ z-index: 1300;
10
+ }
11
+ .dialog-container {
12
+ background: white;
13
+ border-radius: 8px;
14
+ max-height: 90vh;
15
+ display: flex;
16
+ flex-direction: column;
17
+ }
18
+ .dialog-title {
19
+ background: #fff;
20
+ padding: 8px 16px;
21
+ position: sticky;
22
+ top: 0;
23
+ display: flex;
24
+ justify-content: space-between;
25
+ align-items: center;
26
+ color: #707070;
27
+ z-index: 2;
28
+ }
29
+ .dialog-title h2 {
30
+ font-size: 1.125rem;
31
+ margin: 0;
32
+ }
33
+ .btn-close {
34
+ background: none;
35
+ border: none;
36
+ cursor: pointer;
37
+ }
38
+ .dialog-divider {
39
+ border-top: 1px solid #e0e0e0;
40
+ }
41
+ .dialog-body {
42
+ overflow: auto;
43
+ padding: 16px 30px;
44
+ flex: 1;
45
+ }
46
+ .dialog-footer {
47
+ display: flex;
48
+ gap: 8px;
49
+ padding: 8px 16px;
50
+ }
51
+ .btn-cancel {
52
+ border: 1px solid #a41b06;
53
+ border-radius: 34px;
54
+ padding: 7px 10px;
55
+ background: #fff;
56
+ color: #a41b06;
57
+ font-size: 12px;
58
+ cursor: pointer;
59
+ }
60
+ .btn-cancel:hover {
61
+ background: #f5f5f5;
62
+ }
63
+ .btn-confirm {
64
+ border-radius: 34px;
65
+ padding: 7px 16px;
66
+ background: #a21b07;
67
+ color: white;
68
+ font-size: 12px;
69
+ cursor: pointer;
70
+ border: none;
71
+ }
72
+ .btn-confirm:hover {
73
+ background: #a21b07;
74
+ }
75
+ .spinner {
76
+ border: 2px solid #f3f3f3;
77
+ border-top: 2px solid #c5c5c5;
78
+ border-radius: 50%;
79
+ width: 16px;
80
+ height: 16px;
81
+ animation: spin 1s linear infinite;
82
+ display: inline-block;
83
+ }
84
+ @keyframes spin {
85
+ 0% {
86
+ transform: rotate(0deg);
87
+ }
88
+ 100% {
89
+ transform: rotate(360deg);
90
+ }
91
+ }
@@ -0,0 +1,2 @@
1
+
2
+ export { }
@@ -0,0 +1,2 @@
1
+
2
+ export { }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@rufous/ui",
3
3
  "private": false,
4
- "version": "0.1.23",
4
+ "version": "0.1.27",
5
5
  "type": "module",
6
6
  "style": "./dist/style.css",
7
7
  "files": [
File without changes