ag-design 1.0.13 → 1.0.16

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.
@@ -0,0 +1,102 @@
1
+ @font-face {
2
+ font-family: "ag-icons";
3
+ src: url("./ag-icons.ttf?99f85a7c6a873e08bf43efcb816245b3") format("truetype"),
4
+ url("./ag-icons.woff?99f85a7c6a873e08bf43efcb816245b3") format("woff"),
5
+ url("./ag-icons.woff2?99f85a7c6a873e08bf43efcb816245b3") format("woff2");
6
+ }
7
+
8
+ i[class^="icon-"]:before, i[class*=" icon-"]:before {
9
+ font-family: ag-icons !important;
10
+ font-style: normal;
11
+ font-weight: normal !important;
12
+ font-variant: normal;
13
+ text-transform: none;
14
+ line-height: 1;
15
+ -webkit-font-smoothing: antialiased;
16
+ -moz-osx-font-smoothing: grayscale;
17
+ }
18
+
19
+ .icon-video:before {
20
+ content: "\f101";
21
+ }
22
+ .icon-undo:before {
23
+ content: "\f102";
24
+ }
25
+ .icon-underline:before {
26
+ content: "\f103";
27
+ }
28
+ .icon-superscript:before {
29
+ content: "\f104";
30
+ }
31
+ .icon-subscript:before {
32
+ content: "\f105";
33
+ }
34
+ .icon-strikethrough:before {
35
+ content: "\f106";
36
+ }
37
+ .icon-redo:before {
38
+ content: "\f107";
39
+ }
40
+ .icon-picker-arrows:before {
41
+ content: "\f108";
42
+ }
43
+ .icon-list-ordered:before {
44
+ content: "\f109";
45
+ }
46
+ .icon-list-bullet:before {
47
+ content: "\f10a";
48
+ }
49
+ .icon-link:before {
50
+ content: "\f10b";
51
+ }
52
+ .icon-italic:before {
53
+ content: "\f10c";
54
+ }
55
+ .icon-indent-increase:before {
56
+ content: "\f10d";
57
+ }
58
+ .icon-indent-decrease:before {
59
+ content: "\f10e";
60
+ }
61
+ .icon-image:before {
62
+ content: "\f10f";
63
+ }
64
+ .icon-formula:before {
65
+ content: "\f110";
66
+ }
67
+ .icon-direction-rtl:before {
68
+ content: "\f111";
69
+ }
70
+ .icon-direction-ltr:before {
71
+ content: "\f112";
72
+ }
73
+ .icon-color-text:before {
74
+ content: "\f113";
75
+ }
76
+ .icon-color-background:before {
77
+ content: "\f114";
78
+ }
79
+ .icon-code-block:before {
80
+ content: "\f115";
81
+ }
82
+ .icon-clean-format:before {
83
+ content: "\f116";
84
+ }
85
+ .icon-bold:before {
86
+ content: "\f117";
87
+ }
88
+ .icon-blockquote:before {
89
+ content: "\f118";
90
+ }
91
+ .icon-align-right:before {
92
+ content: "\f119";
93
+ }
94
+ .icon-align-left:before {
95
+ content: "\f11a";
96
+ }
97
+ .icon-align-justify:before {
98
+ content: "\f11b";
99
+ }
100
+ .icon-align-center:before {
101
+ content: "\f11c";
102
+ }
@@ -0,0 +1,312 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <title>ag-icons</title>
6
+
7
+ <style>
8
+ body {
9
+ font-family: sans-serif;
10
+ margin: 0;
11
+ padding: 10px 20px;
12
+ text-align: center;
13
+ }
14
+ .preview {
15
+ width: 100px;
16
+ display: inline-block;
17
+ margin: 10px;
18
+ }
19
+ .preview .inner {
20
+ display: inline-block;
21
+ width: 100%;
22
+ text-align: center;
23
+ background: #f5f5f5;
24
+ -webkit-border-radius: 3px 3px 0 0;
25
+ -moz-border-radius: 3px 3px 0 0;
26
+ border-radius: 3px 3px 0 0;
27
+ }
28
+ .preview .inner {
29
+ line-height: 85px;
30
+ font-size: 40px;
31
+ color: #333;
32
+ }
33
+ .label {
34
+ display: inline-block;
35
+ width: 100%;
36
+ box-sizing: border-box;
37
+ padding: 5px;
38
+ font-size: 10px;
39
+ font-family: Monaco, monospace;
40
+ color: #666;
41
+ white-space: nowrap;
42
+ overflow: hidden;
43
+ text-overflow: ellipsis;
44
+ background: #ddd;
45
+ -webkit-border-radius: 0 0 3px 3px;
46
+ -moz-border-radius: 0 0 3px 3px;
47
+ border-radius: 0 0 3px 3px;
48
+ color: #666;
49
+ }
50
+ </style>
51
+
52
+ <link rel="stylesheet" type="text/css" href="ag-icons.css" />
53
+ </head>
54
+ <body>
55
+
56
+ <h1>ag-icons</h1>
57
+
58
+
59
+ <div class="preview">
60
+ <span class="inner">
61
+ <i class="icon icon-video"></i>
62
+ </span>
63
+ <br>
64
+ <span class='label'>video</span>
65
+ </div>
66
+
67
+
68
+ <div class="preview">
69
+ <span class="inner">
70
+ <i class="icon icon-undo"></i>
71
+ </span>
72
+ <br>
73
+ <span class='label'>undo</span>
74
+ </div>
75
+
76
+
77
+ <div class="preview">
78
+ <span class="inner">
79
+ <i class="icon icon-underline"></i>
80
+ </span>
81
+ <br>
82
+ <span class='label'>underline</span>
83
+ </div>
84
+
85
+
86
+ <div class="preview">
87
+ <span class="inner">
88
+ <i class="icon icon-superscript"></i>
89
+ </span>
90
+ <br>
91
+ <span class='label'>superscript</span>
92
+ </div>
93
+
94
+
95
+ <div class="preview">
96
+ <span class="inner">
97
+ <i class="icon icon-subscript"></i>
98
+ </span>
99
+ <br>
100
+ <span class='label'>subscript</span>
101
+ </div>
102
+
103
+
104
+ <div class="preview">
105
+ <span class="inner">
106
+ <i class="icon icon-strikethrough"></i>
107
+ </span>
108
+ <br>
109
+ <span class='label'>strikethrough</span>
110
+ </div>
111
+
112
+
113
+ <div class="preview">
114
+ <span class="inner">
115
+ <i class="icon icon-redo"></i>
116
+ </span>
117
+ <br>
118
+ <span class='label'>redo</span>
119
+ </div>
120
+
121
+
122
+ <div class="preview">
123
+ <span class="inner">
124
+ <i class="icon icon-picker-arrows"></i>
125
+ </span>
126
+ <br>
127
+ <span class='label'>picker-arrows</span>
128
+ </div>
129
+
130
+
131
+ <div class="preview">
132
+ <span class="inner">
133
+ <i class="icon icon-list-ordered"></i>
134
+ </span>
135
+ <br>
136
+ <span class='label'>list-ordered</span>
137
+ </div>
138
+
139
+
140
+ <div class="preview">
141
+ <span class="inner">
142
+ <i class="icon icon-list-bullet"></i>
143
+ </span>
144
+ <br>
145
+ <span class='label'>list-bullet</span>
146
+ </div>
147
+
148
+
149
+ <div class="preview">
150
+ <span class="inner">
151
+ <i class="icon icon-link"></i>
152
+ </span>
153
+ <br>
154
+ <span class='label'>link</span>
155
+ </div>
156
+
157
+
158
+ <div class="preview">
159
+ <span class="inner">
160
+ <i class="icon icon-italic"></i>
161
+ </span>
162
+ <br>
163
+ <span class='label'>italic</span>
164
+ </div>
165
+
166
+
167
+ <div class="preview">
168
+ <span class="inner">
169
+ <i class="icon icon-indent-increase"></i>
170
+ </span>
171
+ <br>
172
+ <span class='label'>indent-increase</span>
173
+ </div>
174
+
175
+
176
+ <div class="preview">
177
+ <span class="inner">
178
+ <i class="icon icon-indent-decrease"></i>
179
+ </span>
180
+ <br>
181
+ <span class='label'>indent-decrease</span>
182
+ </div>
183
+
184
+
185
+ <div class="preview">
186
+ <span class="inner">
187
+ <i class="icon icon-image"></i>
188
+ </span>
189
+ <br>
190
+ <span class='label'>image</span>
191
+ </div>
192
+
193
+
194
+ <div class="preview">
195
+ <span class="inner">
196
+ <i class="icon icon-formula"></i>
197
+ </span>
198
+ <br>
199
+ <span class='label'>formula</span>
200
+ </div>
201
+
202
+
203
+ <div class="preview">
204
+ <span class="inner">
205
+ <i class="icon icon-direction-rtl"></i>
206
+ </span>
207
+ <br>
208
+ <span class='label'>direction-rtl</span>
209
+ </div>
210
+
211
+
212
+ <div class="preview">
213
+ <span class="inner">
214
+ <i class="icon icon-direction-ltr"></i>
215
+ </span>
216
+ <br>
217
+ <span class='label'>direction-ltr</span>
218
+ </div>
219
+
220
+
221
+ <div class="preview">
222
+ <span class="inner">
223
+ <i class="icon icon-color-text"></i>
224
+ </span>
225
+ <br>
226
+ <span class='label'>color-text</span>
227
+ </div>
228
+
229
+
230
+ <div class="preview">
231
+ <span class="inner">
232
+ <i class="icon icon-color-background"></i>
233
+ </span>
234
+ <br>
235
+ <span class='label'>color-background</span>
236
+ </div>
237
+
238
+
239
+ <div class="preview">
240
+ <span class="inner">
241
+ <i class="icon icon-code-block"></i>
242
+ </span>
243
+ <br>
244
+ <span class='label'>code-block</span>
245
+ </div>
246
+
247
+
248
+ <div class="preview">
249
+ <span class="inner">
250
+ <i class="icon icon-clean-format"></i>
251
+ </span>
252
+ <br>
253
+ <span class='label'>clean-format</span>
254
+ </div>
255
+
256
+
257
+ <div class="preview">
258
+ <span class="inner">
259
+ <i class="icon icon-bold"></i>
260
+ </span>
261
+ <br>
262
+ <span class='label'>bold</span>
263
+ </div>
264
+
265
+
266
+ <div class="preview">
267
+ <span class="inner">
268
+ <i class="icon icon-blockquote"></i>
269
+ </span>
270
+ <br>
271
+ <span class='label'>blockquote</span>
272
+ </div>
273
+
274
+
275
+ <div class="preview">
276
+ <span class="inner">
277
+ <i class="icon icon-align-right"></i>
278
+ </span>
279
+ <br>
280
+ <span class='label'>align-right</span>
281
+ </div>
282
+
283
+
284
+ <div class="preview">
285
+ <span class="inner">
286
+ <i class="icon icon-align-left"></i>
287
+ </span>
288
+ <br>
289
+ <span class='label'>align-left</span>
290
+ </div>
291
+
292
+
293
+ <div class="preview">
294
+ <span class="inner">
295
+ <i class="icon icon-align-justify"></i>
296
+ </span>
297
+ <br>
298
+ <span class='label'>align-justify</span>
299
+ </div>
300
+
301
+
302
+ <div class="preview">
303
+ <span class="inner">
304
+ <i class="icon icon-align-center"></i>
305
+ </span>
306
+ <br>
307
+ <span class='label'>align-center</span>
308
+ </div>
309
+
310
+
311
+ </body>
312
+ </html>
@@ -0,0 +1,30 @@
1
+ {
2
+ "video": 61697,
3
+ "undo": 61698,
4
+ "underline": 61699,
5
+ "superscript": 61700,
6
+ "subscript": 61701,
7
+ "strikethrough": 61702,
8
+ "redo": 61703,
9
+ "picker-arrows": 61704,
10
+ "list-ordered": 61705,
11
+ "list-bullet": 61706,
12
+ "link": 61707,
13
+ "italic": 61708,
14
+ "indent-increase": 61709,
15
+ "indent-decrease": 61710,
16
+ "image": 61711,
17
+ "formula": 61712,
18
+ "direction-rtl": 61713,
19
+ "direction-ltr": 61714,
20
+ "color-text": 61715,
21
+ "color-background": 61716,
22
+ "code-block": 61717,
23
+ "clean-format": 61718,
24
+ "bold": 61719,
25
+ "blockquote": 61720,
26
+ "align-right": 61721,
27
+ "align-left": 61722,
28
+ "align-justify": 61723,
29
+ "align-center": 61724
30
+ }
@@ -0,0 +1,121 @@
1
+ export type AgIconsId =
2
+ | "video"
3
+ | "undo"
4
+ | "underline"
5
+ | "superscript"
6
+ | "subscript"
7
+ | "strikethrough"
8
+ | "redo"
9
+ | "picker-arrows"
10
+ | "list-ordered"
11
+ | "list-bullet"
12
+ | "link"
13
+ | "italic"
14
+ | "indent-increase"
15
+ | "indent-decrease"
16
+ | "image"
17
+ | "formula"
18
+ | "direction-rtl"
19
+ | "direction-ltr"
20
+ | "color-text"
21
+ | "color-background"
22
+ | "code-block"
23
+ | "clean-format"
24
+ | "bold"
25
+ | "blockquote"
26
+ | "align-right"
27
+ | "align-left"
28
+ | "align-justify"
29
+ | "align-center";
30
+
31
+ export type AgIconsKey =
32
+ | "Video"
33
+ | "Undo"
34
+ | "Underline"
35
+ | "Superscript"
36
+ | "Subscript"
37
+ | "Strikethrough"
38
+ | "Redo"
39
+ | "PickerArrows"
40
+ | "ListOrdered"
41
+ | "ListBullet"
42
+ | "Link"
43
+ | "Italic"
44
+ | "IndentIncrease"
45
+ | "IndentDecrease"
46
+ | "Image"
47
+ | "Formula"
48
+ | "DirectionRtl"
49
+ | "DirectionLtr"
50
+ | "ColorText"
51
+ | "ColorBackground"
52
+ | "CodeBlock"
53
+ | "CleanFormat"
54
+ | "Bold"
55
+ | "Blockquote"
56
+ | "AlignRight"
57
+ | "AlignLeft"
58
+ | "AlignJustify"
59
+ | "AlignCenter";
60
+
61
+ export enum AgIcons {
62
+ Video = "video",
63
+ Undo = "undo",
64
+ Underline = "underline",
65
+ Superscript = "superscript",
66
+ Subscript = "subscript",
67
+ Strikethrough = "strikethrough",
68
+ Redo = "redo",
69
+ PickerArrows = "picker-arrows",
70
+ ListOrdered = "list-ordered",
71
+ ListBullet = "list-bullet",
72
+ Link = "link",
73
+ Italic = "italic",
74
+ IndentIncrease = "indent-increase",
75
+ IndentDecrease = "indent-decrease",
76
+ Image = "image",
77
+ Formula = "formula",
78
+ DirectionRtl = "direction-rtl",
79
+ DirectionLtr = "direction-ltr",
80
+ ColorText = "color-text",
81
+ ColorBackground = "color-background",
82
+ CodeBlock = "code-block",
83
+ CleanFormat = "clean-format",
84
+ Bold = "bold",
85
+ Blockquote = "blockquote",
86
+ AlignRight = "align-right",
87
+ AlignLeft = "align-left",
88
+ AlignJustify = "align-justify",
89
+ AlignCenter = "align-center",
90
+ }
91
+
92
+ export const AG_ICONS_CODEPOINTS: { [key in AgIcons]: string } = {
93
+ [AgIcons.Video]: "61697",
94
+ [AgIcons.Undo]: "61698",
95
+ [AgIcons.Underline]: "61699",
96
+ [AgIcons.Superscript]: "61700",
97
+ [AgIcons.Subscript]: "61701",
98
+ [AgIcons.Strikethrough]: "61702",
99
+ [AgIcons.Redo]: "61703",
100
+ [AgIcons.PickerArrows]: "61704",
101
+ [AgIcons.ListOrdered]: "61705",
102
+ [AgIcons.ListBullet]: "61706",
103
+ [AgIcons.Link]: "61707",
104
+ [AgIcons.Italic]: "61708",
105
+ [AgIcons.IndentIncrease]: "61709",
106
+ [AgIcons.IndentDecrease]: "61710",
107
+ [AgIcons.Image]: "61711",
108
+ [AgIcons.Formula]: "61712",
109
+ [AgIcons.DirectionRtl]: "61713",
110
+ [AgIcons.DirectionLtr]: "61714",
111
+ [AgIcons.ColorText]: "61715",
112
+ [AgIcons.ColorBackground]: "61716",
113
+ [AgIcons.CodeBlock]: "61717",
114
+ [AgIcons.CleanFormat]: "61718",
115
+ [AgIcons.Bold]: "61719",
116
+ [AgIcons.Blockquote]: "61720",
117
+ [AgIcons.AlignRight]: "61721",
118
+ [AgIcons.AlignLeft]: "61722",
119
+ [AgIcons.AlignJustify]: "61723",
120
+ [AgIcons.AlignCenter]: "61724",
121
+ };
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ag-design",
3
- "version": "1.0.13",
3
+ "version": "1.0.16",
4
4
  "description": "AG Design Core Framework",
5
5
  "repository": {
6
6
  "type": "git",