ag-design 1.0.83 → 1.0.86
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/assets/static/fonts/ag-icons.css +494 -369
- package/assets/static/fonts/ag-icons.json +2314 -1140
- package/assets/static/fonts/ag-icons.ttf +0 -0
- package/assets/static/fonts/ag-icons.woff +0 -0
- package/assets/static/fonts/ag-icons.woff2 +0 -0
- package/assets/static/fonts/direct-test.html +58 -0
- package/assets/static/fonts/final-test.html +79 -0
- package/assets/static/fonts/simplified-test.html +67 -0
- package/assets/static/fonts/test-glyph.html +50 -0
- package/assets/static/fonts/test-icon.html +33 -0
- package/assets/static/fonts/test.html +26 -35
- package/fonts/ag-icons.css +494 -369
- package/fonts/ag-icons.json +2314 -1140
- package/fonts/ag-icons.ttf +0 -0
- package/fonts/ag-icons.woff +0 -0
- package/fonts/ag-icons.woff2 +0 -0
- package/fonts/direct-test.html +58 -0
- package/fonts/final-test.html +79 -0
- package/fonts/simplified-test.html +67 -0
- package/fonts/test-glyph.html +50 -0
- package/fonts/test-icon.html +33 -0
- package/fonts/test.html +26 -35
- package/package.json +1 -1
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8">
|
|
5
|
+
<title>Direct Icon Test</title>
|
|
6
|
+
<link rel="stylesheet" href="ag-icons.css">
|
|
7
|
+
<style>
|
|
8
|
+
body { font-family: Arial; padding: 40px; background: #f5f5f5; }
|
|
9
|
+
.test-group { background: white; padding: 20px; margin: 20px 0; border-radius: 8px; }
|
|
10
|
+
.icon { font-size: 64px; display: inline-block; margin: 10px; }
|
|
11
|
+
h2 { color: #333; }
|
|
12
|
+
</style>
|
|
13
|
+
</head>
|
|
14
|
+
<body>
|
|
15
|
+
<h1>🎨 Direct Icon Font Test</h1>
|
|
16
|
+
|
|
17
|
+
<div class="test-group">
|
|
18
|
+
<h2>Actions Category (Aligned Icons)</h2>
|
|
19
|
+
<p>Testing icons that should have agorafont glyphs (e9xx range):</p>
|
|
20
|
+
<div>
|
|
21
|
+
<span class="icon aga-actions-add" title="add"></span>
|
|
22
|
+
<span class="icon aga-actions-backspace" title="backspace"></span>
|
|
23
|
+
<span class="icon aga-actions-delete" title="delete"></span>
|
|
24
|
+
<span class="icon aga-actions-edit" title="edit"></span>
|
|
25
|
+
</div>
|
|
26
|
+
</div>
|
|
27
|
+
|
|
28
|
+
<div class="test-group">
|
|
29
|
+
<h2>Account Category (Aligned Icons)</h2>
|
|
30
|
+
<div>
|
|
31
|
+
<span class="icon aga-account-balance" title="balance"></span>
|
|
32
|
+
<span class="icon aga-account-box" title="box"></span>
|
|
33
|
+
<span class="icon aga-account-circle" title="circle"></span>
|
|
34
|
+
<span class="icon aga-account-person" title="person"></span>
|
|
35
|
+
</div>
|
|
36
|
+
</div>
|
|
37
|
+
|
|
38
|
+
<div class="test-group">
|
|
39
|
+
<h2>Text Editor Category (Non-Aligned - Old Icons)</h2>
|
|
40
|
+
<p>These should show old font icons (f1xx range):</p>
|
|
41
|
+
<div>
|
|
42
|
+
<span class="icon aga-text-editor-video" title="video"></span>
|
|
43
|
+
<span class="icon aga-text-editor-undo" title="undo"></span>
|
|
44
|
+
<span class="icon aga-text-editor-redo" title="redo"></span>
|
|
45
|
+
</div>
|
|
46
|
+
</div>
|
|
47
|
+
|
|
48
|
+
<div class="test-group">
|
|
49
|
+
<h2>Raw Unicode Tests</h2>
|
|
50
|
+
<p>Testing raw Unicode values:</p>
|
|
51
|
+
<div>
|
|
52
|
+
<p>Account Balance (0xe93c): <span style="font-family: ag-icons; font-size: 32px;"></span></p>
|
|
53
|
+
<p>Actions Add (0xe90e): <span style="font-family: ag-icons; font-size: 32px;"></span></p>
|
|
54
|
+
<p>Text Editor Video (0xf115): <span style="font-family: ag-icons; font-size: 32px;"></span></p>
|
|
55
|
+
</div>
|
|
56
|
+
</div>
|
|
57
|
+
</body>
|
|
58
|
+
</html>
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8">
|
|
5
|
+
<title>Final Icon Test</title>
|
|
6
|
+
<link rel="stylesheet" href="ag-icons.css">
|
|
7
|
+
<style>
|
|
8
|
+
body { font-family: Arial; padding: 40px; background: #f5f5f5; }
|
|
9
|
+
.test { background: white; padding: 20px; margin: 20px 0; border-radius: 8px; }
|
|
10
|
+
.icons { display: flex; gap: 20px; flex-wrap: wrap; }
|
|
11
|
+
.icon { font-size: 48px; text-align: center; }
|
|
12
|
+
.label { font-size: 12px; color: #666; margin-top: 5px; }
|
|
13
|
+
</style>
|
|
14
|
+
</head>
|
|
15
|
+
<body>
|
|
16
|
+
<h1>🎨 Final Icon Rendering Test</h1>
|
|
17
|
+
|
|
18
|
+
<div class="test">
|
|
19
|
+
<h2>Weather Category (Aligned to agorafont)</h2>
|
|
20
|
+
<div class="icons">
|
|
21
|
+
<div class="icon">
|
|
22
|
+
<i class="aga-weather-wi-thermometer"></i>
|
|
23
|
+
<div class="label">wi-thermometer</div>
|
|
24
|
+
</div>
|
|
25
|
+
<div class="icon">
|
|
26
|
+
<i class="aga-weather-wi-strong-wind"></i>
|
|
27
|
+
<div class="label">wi-strong-wind</div>
|
|
28
|
+
</div>
|
|
29
|
+
<div class="icon">
|
|
30
|
+
<i class="aga-weather-wi-raindrop"></i>
|
|
31
|
+
<div class="label">wi-raindrop</div>
|
|
32
|
+
</div>
|
|
33
|
+
</div>
|
|
34
|
+
</div>
|
|
35
|
+
|
|
36
|
+
<div class="test">
|
|
37
|
+
<h2>Actions Category</h2>
|
|
38
|
+
<div class="icons">
|
|
39
|
+
<div class="icon">
|
|
40
|
+
<i class="aga-actions-add"></i>
|
|
41
|
+
<div class="label">add</div>
|
|
42
|
+
</div>
|
|
43
|
+
<div class="icon">
|
|
44
|
+
<i class="aga-actions-edit"></i>
|
|
45
|
+
<div class="label">edit</div>
|
|
46
|
+
</div>
|
|
47
|
+
<div class="icon">
|
|
48
|
+
<i class="aga-actions-delete"></i>
|
|
49
|
+
<div class="label">delete</div>
|
|
50
|
+
</div>
|
|
51
|
+
</div>
|
|
52
|
+
</div>
|
|
53
|
+
|
|
54
|
+
<div class="test">
|
|
55
|
+
<h2>Test Results</h2>
|
|
56
|
+
<p id="results">Checking font rendering...</p>
|
|
57
|
+
</div>
|
|
58
|
+
|
|
59
|
+
<script>
|
|
60
|
+
// Test if glyphs are rendering
|
|
61
|
+
setTimeout(() => {
|
|
62
|
+
const icon = document.querySelector('.aga-weather-wi-thermometer');
|
|
63
|
+
const style = window.getComputedStyle(icon, ':before');
|
|
64
|
+
const content = style.content;
|
|
65
|
+
|
|
66
|
+
let result = `Font Family: ${style.fontFamily}<br>`;
|
|
67
|
+
result += `Content: ${content}<br>`;
|
|
68
|
+
|
|
69
|
+
if (content && content !== 'none' && content !== '""') {
|
|
70
|
+
result += '✅ Icons should be rendering!';
|
|
71
|
+
} else {
|
|
72
|
+
result += '⚠️ Icons may not be rendering (content empty)';
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
document.getElementById('results').innerHTML = result;
|
|
76
|
+
}, 500);
|
|
77
|
+
</script>
|
|
78
|
+
</body>
|
|
79
|
+
</html>
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8">
|
|
5
|
+
<title>Simplified Icon Test</title>
|
|
6
|
+
<link rel="stylesheet" href="ag-icons.css">
|
|
7
|
+
<style>
|
|
8
|
+
body { font-family: Arial; padding: 40px; background: #f5f5f5; }
|
|
9
|
+
.test-group { background: white; padding: 20px; margin: 20px 0; border-radius: 8px; }
|
|
10
|
+
.icon { font-size: 64px; display: inline-block; margin: 10px; }
|
|
11
|
+
</style>
|
|
12
|
+
</head>
|
|
13
|
+
<body>
|
|
14
|
+
<h1>🎨 Simplified Icon Font Test</h1>
|
|
15
|
+
|
|
16
|
+
<div class="test-group">
|
|
17
|
+
<h2>Actions Icons (Using Simplified Names)</h2>
|
|
18
|
+
<div>
|
|
19
|
+
<span class="icon aga-add" title="add"></span>
|
|
20
|
+
<span class="icon aga-backspace" title="backspace"></span>
|
|
21
|
+
<span class="icon aga-delete" title="delete"></span>
|
|
22
|
+
<span class="icon aga-edit" title="edit"></span>
|
|
23
|
+
<span class="icon aga-done" title="done"></span>
|
|
24
|
+
</div>
|
|
25
|
+
</div>
|
|
26
|
+
|
|
27
|
+
<div class="test-group">
|
|
28
|
+
<h2>Account Icons</h2>
|
|
29
|
+
<div>
|
|
30
|
+
<span class="icon aga-users-solid" title="users"></span>
|
|
31
|
+
<span class="icon aga-user" title="user"></span>
|
|
32
|
+
<span class="icon aga-user-tie" title="user-tie"></span>
|
|
33
|
+
<span class="icon aga-supervisor" title="supervisor"></span>
|
|
34
|
+
</div>
|
|
35
|
+
</div>
|
|
36
|
+
|
|
37
|
+
<div class="test-group">
|
|
38
|
+
<h2>Status Check</h2>
|
|
39
|
+
<p>Font loaded: <span id="fontLoaded">Checking...</span></p>
|
|
40
|
+
<p>CSS rules: <span id="ruleCount">Checking...</span></p>
|
|
41
|
+
</div>
|
|
42
|
+
|
|
43
|
+
<script>
|
|
44
|
+
// Check font loading and CSS
|
|
45
|
+
const styleSheets = Array.from(document.styleSheets);
|
|
46
|
+
const agIconsCSS = styleSheets.find(s => s.href && s.href.includes('ag-icons.css'));
|
|
47
|
+
|
|
48
|
+
if (agIconsCSS) {
|
|
49
|
+
try {
|
|
50
|
+
const ruleCount = agIconsCSS.cssRules.length;
|
|
51
|
+
document.getElementById('ruleCount').textContent = ruleCount;
|
|
52
|
+
|
|
53
|
+
// Check if add icon rule exists
|
|
54
|
+
for (let i = 0; i < agIconsCSS.cssRules.length; i++) {
|
|
55
|
+
const rule = agIconsCSS.cssRules[i];
|
|
56
|
+
if (rule.selectorText === '.aga-add:before') {
|
|
57
|
+
document.getElementById('fontLoaded').textContent = 'YES - add rule found with content: ' + rule.style.content;
|
|
58
|
+
break;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
} catch (e) {
|
|
62
|
+
document.getElementById('ruleCount').textContent = 'Error: ' + e.message;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
</script>
|
|
66
|
+
</body>
|
|
67
|
+
</html>
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8">
|
|
5
|
+
<title>Font Glyph Test</title>
|
|
6
|
+
<link rel="stylesheet" href="ag-icons.css">
|
|
7
|
+
<style>
|
|
8
|
+
body { font-family: Arial; padding: 20px; }
|
|
9
|
+
.test { font-size: 48px; }
|
|
10
|
+
.info { background: #f0f0f0; padding: 10px; margin: 10px 0; }
|
|
11
|
+
</style>
|
|
12
|
+
</head>
|
|
13
|
+
<body>
|
|
14
|
+
<h1>AG Icons Font Glyph Test</h1>
|
|
15
|
+
|
|
16
|
+
<div class="info">
|
|
17
|
+
<strong>Using CSS class:</strong>
|
|
18
|
+
<p><i class="aga-actions-add test"></i> aga-actions-add (should render icon)</p>
|
|
19
|
+
</div>
|
|
20
|
+
|
|
21
|
+
<div class="info">
|
|
22
|
+
<strong>Raw Unicode (\\e90e):</strong>
|
|
23
|
+
<p><span style="font-family: ag-icons; font-size: 48px;"></span> e90e in ag-icons font</p>
|
|
24
|
+
</div>
|
|
25
|
+
|
|
26
|
+
<div class="info">
|
|
27
|
+
<strong>CSS content check:</strong>
|
|
28
|
+
<pre id="cssCheck">Checking...</pre>
|
|
29
|
+
</div>
|
|
30
|
+
|
|
31
|
+
<script>
|
|
32
|
+
// Check what's in the CSS
|
|
33
|
+
const sheet = Array.from(document.styleSheets).find(s => s.href && s.href.includes('ag-icons.css'));
|
|
34
|
+
if (sheet) {
|
|
35
|
+
try {
|
|
36
|
+
const addRule = Array.from(sheet.cssRules).find(r => r.selectorText && r.selectorText.includes('aga-add'));
|
|
37
|
+
if (addRule) {
|
|
38
|
+
document.getElementById('cssCheck').textContent = `Found: ${addRule.selectorText}\nContent: ${addRule.style.content}`;
|
|
39
|
+
} else {
|
|
40
|
+
document.getElementById('cssCheck').textContent = 'aga-add rule not found in CSS';
|
|
41
|
+
}
|
|
42
|
+
} catch (e) {
|
|
43
|
+
document.getElementById('cssCheck').textContent = 'Cannot access CSS rules: ' + e.message;
|
|
44
|
+
}
|
|
45
|
+
} else {
|
|
46
|
+
document.getElementById('cssCheck').textContent = 'ag-icons.css not loaded';
|
|
47
|
+
}
|
|
48
|
+
</script>
|
|
49
|
+
</body>
|
|
50
|
+
</html>
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8">
|
|
5
|
+
<title>Font Test</title>
|
|
6
|
+
<link rel="stylesheet" href="ag-icons.css">
|
|
7
|
+
<style>
|
|
8
|
+
body { font-family: Arial; padding: 20px; }
|
|
9
|
+
.test-icon { font-size: 48px; }
|
|
10
|
+
</style>
|
|
11
|
+
</head>
|
|
12
|
+
<body>
|
|
13
|
+
<h1>Font Test</h1>
|
|
14
|
+
<p>Testing if font glyphs render:</p>
|
|
15
|
+
|
|
16
|
+
<p>
|
|
17
|
+
<strong>Using aga-balance class:</strong><br>
|
|
18
|
+
<i class="aga-balance test-icon"></i>
|
|
19
|
+
</p>
|
|
20
|
+
|
|
21
|
+
<p>
|
|
22
|
+
<strong>Raw Unicode test (\\f254):</strong><br>
|
|
23
|
+
<span style="font-family: ag-icons; font-size: 48px;"></span>
|
|
24
|
+
</p>
|
|
25
|
+
|
|
26
|
+
<p>
|
|
27
|
+
<strong>Check CSS in console:</strong><br>
|
|
28
|
+
<code>
|
|
29
|
+
Open DevTools (F12) and check if ag-icons.css is loaded and contains .aga-balance:before
|
|
30
|
+
</code>
|
|
31
|
+
</p>
|
|
32
|
+
</body>
|
|
33
|
+
</html>
|
|
@@ -2,46 +2,37 @@
|
|
|
2
2
|
<html>
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="UTF-8">
|
|
5
|
-
<title>
|
|
6
|
-
<link rel="stylesheet" href="ag-icons.css">
|
|
5
|
+
<title>Font Test</title>
|
|
7
6
|
<style>
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
7
|
+
@font-face {
|
|
8
|
+
font-family: test-font;
|
|
9
|
+
src: url('./ag-icons.ttf') format('truetype');
|
|
10
|
+
}
|
|
11
|
+
body { font-family: Arial; }
|
|
12
|
+
.test { font-family: test-font; font-size: 60px; }
|
|
13
|
+
.test::before { content: "\e900"; }
|
|
14
|
+
.test2 { font-family: test-font; font-size: 60px; }
|
|
15
|
+
.test2::after { content: "\e901"; }
|
|
12
16
|
</style>
|
|
13
17
|
</head>
|
|
14
18
|
<body>
|
|
15
|
-
<h1>
|
|
16
|
-
<p>
|
|
19
|
+
<h1>Font Test</h1>
|
|
20
|
+
<p>Testing if ag-icons font has glyphs:</p>
|
|
21
|
+
<div class="test"></div>
|
|
22
|
+
<div class="test2"></div>
|
|
23
|
+
<p>If you see 2 icons above, the font is working.</p>
|
|
24
|
+
<p>If you see empty boxes, the font doesn't have glyphs at those codepoints.</p>
|
|
17
25
|
|
|
18
|
-
<
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
<p>add</p>
|
|
22
|
-
</div>
|
|
23
|
-
<div class="icon">
|
|
24
|
-
<i class="aga-actions-search"></i>
|
|
25
|
-
<p>search</p>
|
|
26
|
-
</div>
|
|
27
|
-
<div class="icon">
|
|
28
|
-
<i class="aga-account-user"></i>
|
|
29
|
-
<p>user</p>
|
|
30
|
-
</div>
|
|
31
|
-
<div class="icon">
|
|
32
|
-
<i class="aga-communication-email"></i>
|
|
33
|
-
<p>email</p>
|
|
34
|
-
</div>
|
|
35
|
-
<div class="icon">
|
|
36
|
-
<i class="aga-actions-settings"></i>
|
|
37
|
-
<p>settings</p>
|
|
38
|
-
</div>
|
|
39
|
-
</div>
|
|
26
|
+
<h2>Direct content test:</h2>
|
|
27
|
+
<div style="font-family: test-font; font-size: 60px;">\e900</div>
|
|
28
|
+
<div style="font-family: test-font; font-size: 60px;">a</div>
|
|
40
29
|
|
|
41
|
-
<h2>
|
|
42
|
-
<
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
<
|
|
30
|
+
<h2>Base64 encoded single character test:</h2>
|
|
31
|
+
<div style="font-family: test-font; font-size: 60px;">
|
|
32
|
+
<span id="unichar"></span>
|
|
33
|
+
</div>
|
|
34
|
+
<script>
|
|
35
|
+
document.getElementById('unichar').textContent = String.fromCodePoint(0xe900);
|
|
36
|
+
</script>
|
|
46
37
|
</body>
|
|
47
38
|
</html>
|