ar-design 0.2.97 → 0.2.99
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 +223 -0
- package/dist/assets/css/components/data-display/diagram/styles.css +113 -0
- package/dist/assets/css/components/feedback/tooltip/styles.css +1 -0
- package/dist/assets/css/core/variants/borderless.css +45 -56
- package/dist/assets/css/core/variants/dashed.css +11 -22
- package/dist/assets/css/core/variants/outlined.css +11 -22
- package/dist/assets/css/core/variants/surface.css +11 -22
- package/dist/components/charts/pie/index.js +1 -0
- package/dist/components/data-display/diagram/IProps.d.ts +48 -0
- package/dist/components/data-display/diagram/IProps.js +1 -0
- package/dist/components/data-display/diagram/index.d.ts +4 -0
- package/dist/components/data-display/diagram/index.js +258 -0
- package/dist/components/data-display/dnd/index.js +0 -12
- package/dist/components/data-display/table/FilterPopup.js +1 -0
- package/dist/components/form/upload/Dropzone.js +1 -0
- package/dist/components/form/upload/index.js +1 -0
- package/dist/components/icons/Compiler.js +19 -17
- package/dist/components/navigation/breadcrumb/index.js +1 -0
- package/dist/index.d.ts +2 -1
- package/dist/index.js +2 -1
- package/dist/libs/core/application/hooks/index.js +1 -0
- package/dist/libs/core/service/Api.d.ts +5 -8
- package/dist/libs/core/service/Api.js +15 -7
- package/dist/libs/core/service/index.d.ts +5 -8
- package/dist/libs/core/service/index.js +2 -5
- package/dist/libs/types/index.d.ts +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -0,0 +1,223 @@
|
|
|
1
|
+
# AR Design
|
|
2
|
+
|
|
3
|
+
[](https://www.npmjs.com/package/ar-design)
|
|
4
|
+
[](https://github.com/kaancetin-f/ar-design/blob/main/LICENSE)
|
|
5
|
+
[](https://www.typescriptlang.org/)
|
|
6
|
+
|
|
7
|
+
AR Design, React ve Next.js uygulamaları için geliştirilmiş modern, esnek ve kullanıcı dostu bir UI kütüphanesidir. TypeScript ile yazılmış olup, kapsamlı bileşen koleksiyonu ve özelleştirilebilir tasarım sistemi sunar.
|
|
8
|
+
|
|
9
|
+
## 🚀 Özellikler
|
|
10
|
+
|
|
11
|
+
- **Modern Tasarım**: Güncel tasarım trendlerine uygun, temiz ve minimal arayüz
|
|
12
|
+
- **TypeScript Desteği**: Tam TypeScript desteği ile tip güvenliği
|
|
13
|
+
- **Responsive Tasarım**: Tüm cihazlarda mükemmel görünüm
|
|
14
|
+
- **Özelleştirilebilir**: CSS değişkenleri ile kolay özelleştirme
|
|
15
|
+
- **Erişilebilirlik**: WCAG standartlarına uygun bileşenler
|
|
16
|
+
- **Performans**: Optimize edilmiş bundle boyutu ve hızlı render
|
|
17
|
+
- **Modüler Yapı**: İhtiyacınız olan bileşenleri ayrı ayrı import edebilme
|
|
18
|
+
|
|
19
|
+
## 📦 Kurulum
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
npm install ar-design
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
veya
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
yarn add ar-design
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
## 🔧 Gereksinimler
|
|
32
|
+
|
|
33
|
+
- React >= 18.0.0
|
|
34
|
+
- React DOM >= 18.0.0
|
|
35
|
+
|
|
36
|
+
## 🎯 Hızlı Başlangıç
|
|
37
|
+
|
|
38
|
+
```tsx
|
|
39
|
+
import { Button, Input, Card } from 'ar-design';
|
|
40
|
+
|
|
41
|
+
function App() {
|
|
42
|
+
return (
|
|
43
|
+
<div>
|
|
44
|
+
<Card>
|
|
45
|
+
<Input placeholder="Adınızı girin" />
|
|
46
|
+
<Button variant="filled" color="primary">
|
|
47
|
+
Gönder
|
|
48
|
+
</Button>
|
|
49
|
+
</Card>
|
|
50
|
+
</div>
|
|
51
|
+
);
|
|
52
|
+
}
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
## 📚 Bileşenler
|
|
56
|
+
|
|
57
|
+
### Form Elemanları
|
|
58
|
+
|
|
59
|
+
- **Button** - Çoklu varyant ve boyut seçenekleri
|
|
60
|
+
- **ButtonAction** - Aksiyon butonları
|
|
61
|
+
- **ButtonGroup** - Buton grupları
|
|
62
|
+
- **Checkbox** - Onay kutuları
|
|
63
|
+
- **DatePicker** - Tarih seçici
|
|
64
|
+
- **Input** - Metin giriş alanları
|
|
65
|
+
- **InputTag** - Etiket giriş alanları
|
|
66
|
+
- **Radio** - Radyo butonları
|
|
67
|
+
- **Select** - Açılır liste
|
|
68
|
+
- **Switch** - Anahtar düğmeleri
|
|
69
|
+
- **TextEditor** - Zengin metin editörü
|
|
70
|
+
- **Upload** - Dosya yükleme
|
|
71
|
+
|
|
72
|
+
### Veri Görüntüleme
|
|
73
|
+
|
|
74
|
+
- **Card** - Kart bileşenleri
|
|
75
|
+
- **Chip** - Etiket bileşenleri
|
|
76
|
+
- **Divider** - Ayırıcı çizgiler
|
|
77
|
+
- **DnD** - Sürükle-bırak
|
|
78
|
+
- **Paper** - Kağıt bileşenleri
|
|
79
|
+
- **SyntaxHighlighter** - Kod vurgulayıcı
|
|
80
|
+
- **Table** - Tablo bileşenleri
|
|
81
|
+
- **Tabs** - Sekme bileşenleri
|
|
82
|
+
- **Typography** - Tipografi bileşenleri
|
|
83
|
+
|
|
84
|
+
### Geri Bildirim
|
|
85
|
+
|
|
86
|
+
- **Alert** - Uyarı mesajları
|
|
87
|
+
- **Drawer** - Çekmece bileşenleri
|
|
88
|
+
- **Modal** - Modal pencereler
|
|
89
|
+
- **Popover** - Açılır ipuçları
|
|
90
|
+
- **Progress** - İlerleme çubukları
|
|
91
|
+
- **Tooltip** - İpucu balonları
|
|
92
|
+
|
|
93
|
+
### Navigasyon
|
|
94
|
+
|
|
95
|
+
- **Breadcrumb** - Gezinti kırıntıları
|
|
96
|
+
- **Menu** - Menü bileşenleri
|
|
97
|
+
- **Steps** - Adım göstergeleri
|
|
98
|
+
|
|
99
|
+
### Düzen
|
|
100
|
+
|
|
101
|
+
- **Layout** - Sayfa düzeni
|
|
102
|
+
- **Grid** - Izgara sistemi
|
|
103
|
+
|
|
104
|
+
## 📖 Detaylı Kullanım Kılavuzu
|
|
105
|
+
|
|
106
|
+
Bileşenlerin detaylı kullanım örnekleri için aşağıdaki dokümantasyon dosyalarını inceleyin:
|
|
107
|
+
|
|
108
|
+
- [Form Bileşenleri](./docs/form-components.md) - Button, Input, Select, DatePicker vb.
|
|
109
|
+
- [Veri Görüntüleme Bileşenleri](./docs/data-display-components.md) - Table, Card, Typography vb.
|
|
110
|
+
- [Geri Bildirim Bileşenleri](./docs/feedback-components.md) - Alert, Modal, Progress vb.
|
|
111
|
+
- [Navigasyon Bileşenleri](./docs/navigation-components.md) - Menu, Breadcrumb, Steps vb.
|
|
112
|
+
- [Düzen Bileşenleri](./docs/layout-components.md) - Layout, Grid vb.
|
|
113
|
+
- [Grafik Bileşenleri](./docs/chart-components.md) - Pie Chart vb.
|
|
114
|
+
- [Ortak Özellikler](./docs/common-properties.md) - Varyantlar, renkler, boyutlar vb.
|
|
115
|
+
|
|
116
|
+
## 🎨 Tema ve Özelleştirme
|
|
117
|
+
|
|
118
|
+
AR Design, CSS değişkenleri kullanarak kolay özelleştirme imkanı sunar:
|
|
119
|
+
|
|
120
|
+
```css
|
|
121
|
+
:root {
|
|
122
|
+
--primary: #007bff;
|
|
123
|
+
--secondary: #6c757d;
|
|
124
|
+
--success: #28a745;
|
|
125
|
+
--warning: #ffc107;
|
|
126
|
+
--danger: #dc3545;
|
|
127
|
+
--border-radius: 0.5rem;
|
|
128
|
+
}
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
## 🔧 Geliştirme
|
|
132
|
+
|
|
133
|
+
### Projeyi Klonlama
|
|
134
|
+
|
|
135
|
+
```bash
|
|
136
|
+
git clone https://github.com/kaancetin-f/ar-design.git
|
|
137
|
+
cd ar-design
|
|
138
|
+
npm install
|
|
139
|
+
```
|
|
140
|
+
|
|
141
|
+
### Build İşlemi
|
|
142
|
+
|
|
143
|
+
```bash
|
|
144
|
+
npm run build
|
|
145
|
+
```
|
|
146
|
+
|
|
147
|
+
### CSS Loader
|
|
148
|
+
|
|
149
|
+
```bash
|
|
150
|
+
npm run css-loader
|
|
151
|
+
```
|
|
152
|
+
|
|
153
|
+
## 📦 Modüler Import
|
|
154
|
+
|
|
155
|
+
AR Design, modüler import desteği sunar:
|
|
156
|
+
|
|
157
|
+
```tsx
|
|
158
|
+
// Tüm bileşenler
|
|
159
|
+
import { Button, Input, Card } from 'ar-design';
|
|
160
|
+
|
|
161
|
+
// Sadece belirli kategoriler
|
|
162
|
+
import { Button, Input } from 'ar-design';
|
|
163
|
+
|
|
164
|
+
// Servis ve yardımcı fonksiyonlar
|
|
165
|
+
import { Api } from 'ar-design/@service';
|
|
166
|
+
import { Config } from 'ar-design/@config';
|
|
167
|
+
import { useNotification } from 'ar-design/@hooks';
|
|
168
|
+
|
|
169
|
+
// Stil dosyaları
|
|
170
|
+
import 'ar-design/@styles';
|
|
171
|
+
```
|
|
172
|
+
|
|
173
|
+
## 🌍 Çoklu Dil Desteği
|
|
174
|
+
|
|
175
|
+
AR Design, çoklu dil desteği sunar:
|
|
176
|
+
|
|
177
|
+
```tsx
|
|
178
|
+
import { LanguageProvider } from 'ar-design/@config';
|
|
179
|
+
|
|
180
|
+
function App() {
|
|
181
|
+
return (
|
|
182
|
+
<LanguageProvider language="tr">
|
|
183
|
+
{/* Uygulama içeriği */}
|
|
184
|
+
</LanguageProvider>
|
|
185
|
+
);
|
|
186
|
+
}
|
|
187
|
+
```
|
|
188
|
+
|
|
189
|
+
## 📄 Lisans
|
|
190
|
+
|
|
191
|
+
Bu proje [MIT Lisansı](LICENSE) altında lisanslanmıştır.
|
|
192
|
+
|
|
193
|
+
## 👨💻 Geliştirici
|
|
194
|
+
|
|
195
|
+
**Kaan ÇETİN**
|
|
196
|
+
|
|
197
|
+
- GitHub: [@kaancetin-f](https://github.com/kaancetin-f)
|
|
198
|
+
- NPM: [ar-design](https://www.npmjs.com/package/ar-design)
|
|
199
|
+
|
|
200
|
+
## 🤝 Katkıda Bulunma
|
|
201
|
+
|
|
202
|
+
1. Bu repository'yi fork edin
|
|
203
|
+
2. Feature branch oluşturun (`git checkout -b feature/amazing-feature`)
|
|
204
|
+
3. Değişikliklerinizi commit edin (`git commit -m 'Add some amazing feature'`)
|
|
205
|
+
4. Branch'inizi push edin (`git push origin feature/amazing-feature`)
|
|
206
|
+
5. Pull Request oluşturun
|
|
207
|
+
|
|
208
|
+
## 📝 Changelog
|
|
209
|
+
|
|
210
|
+
Detaylı değişiklik geçmişi için [CHANGELOG.md](CHANGELOG.md) dosyasını inceleyin.
|
|
211
|
+
|
|
212
|
+
## 🐛 Hata Bildirimi
|
|
213
|
+
|
|
214
|
+
Hata bildirimi için [GitHub Issues](https://github.com/kaancetin-f/ar-design/issues) sayfasını kullanın.
|
|
215
|
+
|
|
216
|
+
## 📞 Destek
|
|
217
|
+
|
|
218
|
+
Sorularınız için:
|
|
219
|
+
- GitHub Issues: [Issues](https://github.com/kaancetin-f/ar-design/issues)
|
|
220
|
+
|
|
221
|
+
---
|
|
222
|
+
|
|
223
|
+
⭐ Bu projeyi beğendiyseniz yıldız vermeyi unutmayın!
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
.ar-diagram {
|
|
2
|
+
position: absolute;
|
|
3
|
+
inset: 0;
|
|
4
|
+
overflow: hidden;
|
|
5
|
+
|
|
6
|
+
> .content {
|
|
7
|
+
position: absolute;
|
|
8
|
+
inset: 0;
|
|
9
|
+
background-color: var(--gray-100);
|
|
10
|
+
background-image: radial-gradient(circle, var(--gray-400) 1px, transparent 1px);
|
|
11
|
+
background-size: 20px 20px;
|
|
12
|
+
background-repeat: repeat;
|
|
13
|
+
height: 100%;
|
|
14
|
+
border: 1px solid var(--gray-200);
|
|
15
|
+
cursor: grab;
|
|
16
|
+
overflow: hidden;
|
|
17
|
+
z-index: 1;
|
|
18
|
+
|
|
19
|
+
&:active {
|
|
20
|
+
cursor: grabbing;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
> .nodes-wrapper {
|
|
24
|
+
position: absolute;
|
|
25
|
+
top: 0;
|
|
26
|
+
left: 0;
|
|
27
|
+
|
|
28
|
+
> .edges {
|
|
29
|
+
position: absolute;
|
|
30
|
+
inset: 0;
|
|
31
|
+
|
|
32
|
+
> .edge,
|
|
33
|
+
.edge-temp {
|
|
34
|
+
position: absolute;
|
|
35
|
+
overflow: visible;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
> .nodes {
|
|
40
|
+
.node {
|
|
41
|
+
position: absolute;
|
|
42
|
+
background-color: var(--white);
|
|
43
|
+
padding: 0.5rem 1rem;
|
|
44
|
+
border-radius: var(--border-radius-sm);
|
|
45
|
+
box-shadow: 0px 10px 5px -5px rgba(var(--black-rgb), 0.1);
|
|
46
|
+
cursor: grab;
|
|
47
|
+
user-select: none;
|
|
48
|
+
|
|
49
|
+
&:active {
|
|
50
|
+
cursor: grabbing;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
> .port {
|
|
54
|
+
position: absolute;
|
|
55
|
+
left: 50%;
|
|
56
|
+
transform: translateX(-50%);
|
|
57
|
+
background-color: var(--white);
|
|
58
|
+
width: 0.5rem;
|
|
59
|
+
height: 0.5rem;
|
|
60
|
+
border: solid 1px var(--purple-500);
|
|
61
|
+
border-radius: var(--border-radius-pill);
|
|
62
|
+
z-index: 2;
|
|
63
|
+
cursor: crosshair;
|
|
64
|
+
|
|
65
|
+
&.top {
|
|
66
|
+
top: -5px;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
&.bottom {
|
|
70
|
+
bottom: -5px;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
> span {
|
|
75
|
+
color: var(--gray-700);
|
|
76
|
+
font-family: var(--system);
|
|
77
|
+
text-wrap: nowrap;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
> .zoom-buttons {
|
|
85
|
+
position: absolute;
|
|
86
|
+
right: 2rem;
|
|
87
|
+
bottom: 2rem;
|
|
88
|
+
background-color: var(--white);
|
|
89
|
+
padding: 0.25rem 0.5rem;
|
|
90
|
+
border-radius: var(--border-radius-sm);
|
|
91
|
+
box-shadow: 0px 10px 5px -5px rgba(var(--black-rgb), 0.1);
|
|
92
|
+
z-index: 5;
|
|
93
|
+
user-select: none;
|
|
94
|
+
|
|
95
|
+
.zoom-percent {
|
|
96
|
+
background-color: var(--gray-100);
|
|
97
|
+
padding: 0.4rem 0;
|
|
98
|
+
width: 3rem;
|
|
99
|
+
border-radius: var(--border-radius-sm);
|
|
100
|
+
font-family: var(--system);
|
|
101
|
+
text-align: center;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
@keyframes moveLine {
|
|
107
|
+
0% {
|
|
108
|
+
background-position: 0 0;
|
|
109
|
+
}
|
|
110
|
+
100% {
|
|
111
|
+
background-position: 20px 0;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* #region BLUE */
|
|
2
2
|
.borderless:not(.disabled) {
|
|
3
3
|
&.blue {
|
|
4
|
-
color: var(--blue-500);
|
|
4
|
+
color: var(--blue-500-500);
|
|
5
5
|
|
|
6
6
|
&.active {
|
|
7
7
|
animation: clicked-blue ease-in-out 750ms 0s 1 normal both;
|
|
@@ -14,16 +14,15 @@ iframe.borderless:not(.disabled) {
|
|
|
14
14
|
&.blue {
|
|
15
15
|
&:focus,
|
|
16
16
|
&.focused {
|
|
17
|
-
border-color: var(--);
|
|
18
|
-
box-shadow: 0 0 0 3.5px rgba(var(
|
|
17
|
+
border-color: var(--white);
|
|
18
|
+
box-shadow: 0 0 0 3.5px rgba(var(--white-rgb), 0.25);
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
button.borderless:not(.disabled) {
|
|
24
24
|
&.blue {
|
|
25
|
-
&:hover
|
|
26
|
-
&:focus {
|
|
25
|
+
&:hover {
|
|
27
26
|
background-color: var(--blue-500);
|
|
28
27
|
color: var(--white)
|
|
29
28
|
}
|
|
@@ -35,7 +34,7 @@ button.borderless:not(.disabled) {
|
|
|
35
34
|
/* #region PURPLE */
|
|
36
35
|
.borderless:not(.disabled) {
|
|
37
36
|
&.purple {
|
|
38
|
-
color: var(--purple-500);
|
|
37
|
+
color: var(--purple-500-500);
|
|
39
38
|
|
|
40
39
|
&.active {
|
|
41
40
|
animation: clicked-purple ease-in-out 750ms 0s 1 normal both;
|
|
@@ -48,16 +47,15 @@ iframe.borderless:not(.disabled) {
|
|
|
48
47
|
&.purple {
|
|
49
48
|
&:focus,
|
|
50
49
|
&.focused {
|
|
51
|
-
border-color: var(--);
|
|
52
|
-
box-shadow: 0 0 0 3.5px rgba(var(
|
|
50
|
+
border-color: var(--white);
|
|
51
|
+
box-shadow: 0 0 0 3.5px rgba(var(--white-rgb), 0.25);
|
|
53
52
|
}
|
|
54
53
|
}
|
|
55
54
|
}
|
|
56
55
|
|
|
57
56
|
button.borderless:not(.disabled) {
|
|
58
57
|
&.purple {
|
|
59
|
-
&:hover
|
|
60
|
-
&:focus {
|
|
58
|
+
&:hover {
|
|
61
59
|
background-color: var(--purple-500);
|
|
62
60
|
color: var(--white)
|
|
63
61
|
}
|
|
@@ -69,7 +67,7 @@ button.borderless:not(.disabled) {
|
|
|
69
67
|
/* #region PINK */
|
|
70
68
|
.borderless:not(.disabled) {
|
|
71
69
|
&.pink {
|
|
72
|
-
color: var(--pink-500);
|
|
70
|
+
color: var(--pink-500-500);
|
|
73
71
|
|
|
74
72
|
&.active {
|
|
75
73
|
animation: clicked-pink ease-in-out 750ms 0s 1 normal both;
|
|
@@ -82,16 +80,15 @@ iframe.borderless:not(.disabled) {
|
|
|
82
80
|
&.pink {
|
|
83
81
|
&:focus,
|
|
84
82
|
&.focused {
|
|
85
|
-
border-color: var(--);
|
|
86
|
-
box-shadow: 0 0 0 3.5px rgba(var(
|
|
83
|
+
border-color: var(--white);
|
|
84
|
+
box-shadow: 0 0 0 3.5px rgba(var(--white-rgb), 0.25);
|
|
87
85
|
}
|
|
88
86
|
}
|
|
89
87
|
}
|
|
90
88
|
|
|
91
89
|
button.borderless:not(.disabled) {
|
|
92
90
|
&.pink {
|
|
93
|
-
&:hover
|
|
94
|
-
&:focus {
|
|
91
|
+
&:hover {
|
|
95
92
|
background-color: var(--pink-500);
|
|
96
93
|
color: var(--white)
|
|
97
94
|
}
|
|
@@ -103,7 +100,7 @@ button.borderless:not(.disabled) {
|
|
|
103
100
|
/* #region RED */
|
|
104
101
|
.borderless:not(.disabled) {
|
|
105
102
|
&.red {
|
|
106
|
-
color: var(--red-500);
|
|
103
|
+
color: var(--red-500-500);
|
|
107
104
|
|
|
108
105
|
&.active {
|
|
109
106
|
animation: clicked-red ease-in-out 750ms 0s 1 normal both;
|
|
@@ -116,16 +113,15 @@ iframe.borderless:not(.disabled) {
|
|
|
116
113
|
&.red {
|
|
117
114
|
&:focus,
|
|
118
115
|
&.focused {
|
|
119
|
-
border-color: var(--);
|
|
120
|
-
box-shadow: 0 0 0 3.5px rgba(var(
|
|
116
|
+
border-color: var(--white);
|
|
117
|
+
box-shadow: 0 0 0 3.5px rgba(var(--white-rgb), 0.25);
|
|
121
118
|
}
|
|
122
119
|
}
|
|
123
120
|
}
|
|
124
121
|
|
|
125
122
|
button.borderless:not(.disabled) {
|
|
126
123
|
&.red {
|
|
127
|
-
&:hover
|
|
128
|
-
&:focus {
|
|
124
|
+
&:hover {
|
|
129
125
|
background-color: var(--red-500);
|
|
130
126
|
color: var(--white)
|
|
131
127
|
}
|
|
@@ -137,7 +133,7 @@ button.borderless:not(.disabled) {
|
|
|
137
133
|
/* #region ORANGE */
|
|
138
134
|
.borderless:not(.disabled) {
|
|
139
135
|
&.orange {
|
|
140
|
-
color: var(--orange-500);
|
|
136
|
+
color: var(--orange-500-500);
|
|
141
137
|
|
|
142
138
|
&.active {
|
|
143
139
|
animation: clicked-orange ease-in-out 750ms 0s 1 normal both;
|
|
@@ -150,16 +146,15 @@ iframe.borderless:not(.disabled) {
|
|
|
150
146
|
&.orange {
|
|
151
147
|
&:focus,
|
|
152
148
|
&.focused {
|
|
153
|
-
border-color: var(--);
|
|
154
|
-
box-shadow: 0 0 0 3.5px rgba(var(
|
|
149
|
+
border-color: var(--white);
|
|
150
|
+
box-shadow: 0 0 0 3.5px rgba(var(--white-rgb), 0.25);
|
|
155
151
|
}
|
|
156
152
|
}
|
|
157
153
|
}
|
|
158
154
|
|
|
159
155
|
button.borderless:not(.disabled) {
|
|
160
156
|
&.orange {
|
|
161
|
-
&:hover
|
|
162
|
-
&:focus {
|
|
157
|
+
&:hover {
|
|
163
158
|
background-color: var(--orange-500);
|
|
164
159
|
color: var(--white)
|
|
165
160
|
}
|
|
@@ -171,7 +166,7 @@ button.borderless:not(.disabled) {
|
|
|
171
166
|
/* #region YELLOW */
|
|
172
167
|
.borderless:not(.disabled) {
|
|
173
168
|
&.yellow {
|
|
174
|
-
color: var(--yellow-500);
|
|
169
|
+
color: var(--yellow-500-500);
|
|
175
170
|
|
|
176
171
|
&.active {
|
|
177
172
|
animation: clicked-yellow ease-in-out 750ms 0s 1 normal both;
|
|
@@ -184,16 +179,15 @@ iframe.borderless:not(.disabled) {
|
|
|
184
179
|
&.yellow {
|
|
185
180
|
&:focus,
|
|
186
181
|
&.focused {
|
|
187
|
-
border-color: var(--);
|
|
188
|
-
box-shadow: 0 0 0 3.5px rgba(var(
|
|
182
|
+
border-color: var(--white);
|
|
183
|
+
box-shadow: 0 0 0 3.5px rgba(var(--white-rgb), 0.25);
|
|
189
184
|
}
|
|
190
185
|
}
|
|
191
186
|
}
|
|
192
187
|
|
|
193
188
|
button.borderless:not(.disabled) {
|
|
194
189
|
&.yellow {
|
|
195
|
-
&:hover
|
|
196
|
-
&:focus {
|
|
190
|
+
&:hover {
|
|
197
191
|
background-color: var(--yellow-500);
|
|
198
192
|
color: var(--white)
|
|
199
193
|
}
|
|
@@ -205,7 +199,7 @@ button.borderless:not(.disabled) {
|
|
|
205
199
|
/* #region GREEN */
|
|
206
200
|
.borderless:not(.disabled) {
|
|
207
201
|
&.green {
|
|
208
|
-
color: var(--green-500);
|
|
202
|
+
color: var(--green-500-500);
|
|
209
203
|
|
|
210
204
|
&.active {
|
|
211
205
|
animation: clicked-green ease-in-out 750ms 0s 1 normal both;
|
|
@@ -218,16 +212,15 @@ iframe.borderless:not(.disabled) {
|
|
|
218
212
|
&.green {
|
|
219
213
|
&:focus,
|
|
220
214
|
&.focused {
|
|
221
|
-
border-color: var(--);
|
|
222
|
-
box-shadow: 0 0 0 3.5px rgba(var(
|
|
215
|
+
border-color: var(--white);
|
|
216
|
+
box-shadow: 0 0 0 3.5px rgba(var(--white-rgb), 0.25);
|
|
223
217
|
}
|
|
224
218
|
}
|
|
225
219
|
}
|
|
226
220
|
|
|
227
221
|
button.borderless:not(.disabled) {
|
|
228
222
|
&.green {
|
|
229
|
-
&:hover
|
|
230
|
-
&:focus {
|
|
223
|
+
&:hover {
|
|
231
224
|
background-color: var(--green-500);
|
|
232
225
|
color: var(--white)
|
|
233
226
|
}
|
|
@@ -239,7 +232,7 @@ button.borderless:not(.disabled) {
|
|
|
239
232
|
/* #region TEAL */
|
|
240
233
|
.borderless:not(.disabled) {
|
|
241
234
|
&.teal {
|
|
242
|
-
color: var(--teal-500);
|
|
235
|
+
color: var(--teal-500-500);
|
|
243
236
|
|
|
244
237
|
&.active {
|
|
245
238
|
animation: clicked-teal ease-in-out 750ms 0s 1 normal both;
|
|
@@ -252,16 +245,15 @@ iframe.borderless:not(.disabled) {
|
|
|
252
245
|
&.teal {
|
|
253
246
|
&:focus,
|
|
254
247
|
&.focused {
|
|
255
|
-
border-color: var(--);
|
|
256
|
-
box-shadow: 0 0 0 3.5px rgba(var(
|
|
248
|
+
border-color: var(--white);
|
|
249
|
+
box-shadow: 0 0 0 3.5px rgba(var(--white-rgb), 0.25);
|
|
257
250
|
}
|
|
258
251
|
}
|
|
259
252
|
}
|
|
260
253
|
|
|
261
254
|
button.borderless:not(.disabled) {
|
|
262
255
|
&.teal {
|
|
263
|
-
&:hover
|
|
264
|
-
&:focus {
|
|
256
|
+
&:hover {
|
|
265
257
|
background-color: var(--teal-500);
|
|
266
258
|
color: var(--white)
|
|
267
259
|
}
|
|
@@ -273,7 +265,7 @@ button.borderless:not(.disabled) {
|
|
|
273
265
|
/* #region CYAN */
|
|
274
266
|
.borderless:not(.disabled) {
|
|
275
267
|
&.cyan {
|
|
276
|
-
color: var(--cyan-500);
|
|
268
|
+
color: var(--cyan-500-500);
|
|
277
269
|
|
|
278
270
|
&.active {
|
|
279
271
|
animation: clicked-cyan ease-in-out 750ms 0s 1 normal both;
|
|
@@ -286,16 +278,15 @@ iframe.borderless:not(.disabled) {
|
|
|
286
278
|
&.cyan {
|
|
287
279
|
&:focus,
|
|
288
280
|
&.focused {
|
|
289
|
-
border-color: var(--);
|
|
290
|
-
box-shadow: 0 0 0 3.5px rgba(var(
|
|
281
|
+
border-color: var(--white);
|
|
282
|
+
box-shadow: 0 0 0 3.5px rgba(var(--white-rgb), 0.25);
|
|
291
283
|
}
|
|
292
284
|
}
|
|
293
285
|
}
|
|
294
286
|
|
|
295
287
|
button.borderless:not(.disabled) {
|
|
296
288
|
&.cyan {
|
|
297
|
-
&:hover
|
|
298
|
-
&:focus {
|
|
289
|
+
&:hover {
|
|
299
290
|
background-color: var(--cyan-500);
|
|
300
291
|
color: var(--white)
|
|
301
292
|
}
|
|
@@ -307,7 +298,7 @@ button.borderless:not(.disabled) {
|
|
|
307
298
|
/* #region GRAY */
|
|
308
299
|
.borderless:not(.disabled) {
|
|
309
300
|
&.gray {
|
|
310
|
-
color: var(--gray-500);
|
|
301
|
+
color: var(--gray-500-500);
|
|
311
302
|
|
|
312
303
|
&.active {
|
|
313
304
|
animation: clicked-gray ease-in-out 750ms 0s 1 normal both;
|
|
@@ -320,16 +311,15 @@ iframe.borderless:not(.disabled) {
|
|
|
320
311
|
&.gray {
|
|
321
312
|
&:focus,
|
|
322
313
|
&.focused {
|
|
323
|
-
border-color: var(--);
|
|
324
|
-
box-shadow: 0 0 0 3.5px rgba(var(
|
|
314
|
+
border-color: var(--white);
|
|
315
|
+
box-shadow: 0 0 0 3.5px rgba(var(--white-rgb), 0.25);
|
|
325
316
|
}
|
|
326
317
|
}
|
|
327
318
|
}
|
|
328
319
|
|
|
329
320
|
button.borderless:not(.disabled) {
|
|
330
321
|
&.gray {
|
|
331
|
-
&:hover
|
|
332
|
-
&:focus {
|
|
322
|
+
&:hover {
|
|
333
323
|
background-color: var(--gray-500);
|
|
334
324
|
color: var(--white)
|
|
335
325
|
}
|
|
@@ -341,7 +331,7 @@ button.borderless:not(.disabled) {
|
|
|
341
331
|
/* #region LIGHT */
|
|
342
332
|
.borderless:not(.disabled) {
|
|
343
333
|
&.light {
|
|
344
|
-
color: var(--
|
|
334
|
+
color: var(--gray-700-500);
|
|
345
335
|
|
|
346
336
|
&.active {
|
|
347
337
|
animation: clicked-light ease-in-out 750ms 0s 1 normal both;
|
|
@@ -354,18 +344,17 @@ iframe.borderless:not(.disabled) {
|
|
|
354
344
|
&.light {
|
|
355
345
|
&:focus,
|
|
356
346
|
&.focused {
|
|
357
|
-
border-color: var(--);
|
|
358
|
-
box-shadow: 0 0 0 3.5px rgba(var(
|
|
347
|
+
border-color: var(--gray-700);
|
|
348
|
+
box-shadow: 0 0 0 3.5px rgba(var(--gray-700-rgb), 0.25);
|
|
359
349
|
}
|
|
360
350
|
}
|
|
361
351
|
}
|
|
362
352
|
|
|
363
353
|
button.borderless:not(.disabled) {
|
|
364
354
|
&.light {
|
|
365
|
-
&:hover
|
|
366
|
-
&:focus {
|
|
355
|
+
&:hover {
|
|
367
356
|
background-color: var(--light-500);
|
|
368
|
-
color: var(--
|
|
357
|
+
color: var(--gray-700)
|
|
369
358
|
}
|
|
370
359
|
}
|
|
371
360
|
}
|