wally-ui 1.2.1 → 1.4.0
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/package.json +1 -1
- package/playground/showcase/package-lock.json +18 -0
- package/playground/showcase/package.json +2 -0
- package/playground/showcase/public/_headers +7 -0
- package/playground/showcase/public/robots.txt +14 -0
- package/playground/showcase/src/app/app.routes.server.ts +14 -2
- package/playground/showcase/src/app/app.routes.ts +5 -1
- package/playground/showcase/src/app/components/breadcrumb/breadcrumb.ts +1 -0
- package/playground/showcase/src/app/components/input/input.html +70 -0
- package/playground/showcase/src/app/{pages/components/button-docs/button-docs.spec.ts → components/input/input.spec.ts} +6 -6
- package/playground/showcase/src/app/components/input/input.ts +98 -0
- package/playground/showcase/src/app/core/services/ai-prompt.service.ts +2 -2
- package/playground/showcase/src/app/core/utils/prism.ts +14 -0
- package/playground/showcase/src/app/pages/documentation/components/breadcrumb-docs/breadcrumb-docs.examples.ts +71 -0
- package/playground/showcase/src/app/pages/{components → documentation/components}/breadcrumb-docs/breadcrumb-docs.html +13 -43
- package/playground/showcase/src/app/pages/documentation/components/breadcrumb-docs/breadcrumb-docs.ts +63 -0
- package/playground/showcase/src/app/pages/documentation/components/button-docs/button-docs.examples.ts +55 -0
- package/playground/showcase/src/app/pages/{components → documentation/components}/button-docs/button-docs.html +26 -101
- package/playground/showcase/src/app/pages/documentation/components/button-docs/button-docs.ts +64 -0
- package/playground/showcase/src/app/pages/documentation/components/components.html +73 -0
- package/playground/showcase/src/app/pages/{components → documentation/components}/components.routes.ts +4 -0
- package/playground/showcase/src/app/pages/{components → documentation/components}/components.ts +3 -1
- package/playground/showcase/src/app/pages/documentation/components/input-docs/input-docs.css +13 -0
- package/playground/showcase/src/app/pages/documentation/components/input-docs/input-docs.examples.ts +88 -0
- package/playground/showcase/src/app/pages/documentation/components/input-docs/input-docs.html +357 -0
- package/playground/showcase/src/app/pages/documentation/components/input-docs/input-docs.ts +105 -0
- package/playground/showcase/src/app/pages/documentation/documentation.css +0 -0
- package/playground/showcase/src/app/pages/{components/components.html → documentation/documentation.html} +70 -43
- package/playground/showcase/src/app/pages/documentation/documentation.routes.ts +12 -0
- package/playground/showcase/src/app/pages/documentation/documentation.ts +16 -0
- package/playground/showcase/src/app/pages/home/home.html +9 -4
- package/playground/showcase/src/app/pages/home/home.ts +1 -3
- package/playground/showcase/src/app/pages/mcp/mcp.html +1 -1
- package/playground/showcase/src/index.html +7 -1
- package/playground/showcase/src/styles.css +547 -1
- package/playground/showcase/src/app/pages/components/breadcrumb-docs/breadcrumb-docs.ts +0 -43
- package/playground/showcase/src/app/pages/components/button-docs/button-docs.ts +0 -41
- package/playground/showcase/src/app/pages/components/components.spec.ts +0 -23
- /package/playground/showcase/src/app/pages/{components → documentation/components}/breadcrumb-docs/breadcrumb-docs.css +0 -0
- /package/playground/showcase/src/app/pages/{components → documentation/components}/button-docs/button-docs.css +0 -0
- /package/playground/showcase/src/app/pages/{components → documentation/components}/components.css +0 -0
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
standalone architecture and Tailwind CSS that integrate seamlessly with your projects.
|
|
14
14
|
</p>
|
|
15
15
|
</div>
|
|
16
|
-
|
|
16
|
+
|
|
17
17
|
<div class="w-full max-w-md">
|
|
18
18
|
<code
|
|
19
19
|
class="w-full mt-6 block bg-gray-200 dark:bg-[#121212] dark:text-white text-[#0a0a0a] p-4 rounded-md text-sm cursor-pointer hover:opacity-85 transition-colorsselect-all"
|
|
@@ -23,18 +23,23 @@
|
|
|
23
23
|
</div>
|
|
24
24
|
|
|
25
25
|
<div class="mt-4 w-full max-w-md flex flex-col gap-2">
|
|
26
|
-
<a href="/
|
|
26
|
+
<a href="/documentation" class="text-blue-500 underline">
|
|
27
27
|
Documentation
|
|
28
28
|
</a>
|
|
29
|
+
<a href="/documentation/components" class="text-blue-500 underline">
|
|
30
|
+
Components
|
|
31
|
+
</a>
|
|
29
32
|
<a href="/mcp" class="text-blue-500 underline">
|
|
30
33
|
MCP Server
|
|
31
34
|
</a>
|
|
32
35
|
|
|
33
36
|
<div class="flex gap-4 mt-2">
|
|
34
|
-
<a href="https://github.com/WalissonCF/wally-ui" target="_blank"
|
|
37
|
+
<a href="https://github.com/WalissonCF/wally-ui" target="_blank"
|
|
38
|
+
class="text-blue-500 underline text-sm">
|
|
35
39
|
GitHub
|
|
36
40
|
</a>
|
|
37
|
-
<a href="https://www.npmjs.com/package/wally-ui" target="_blank"
|
|
41
|
+
<a href="https://www.npmjs.com/package/wally-ui" target="_blank"
|
|
42
|
+
class="text-blue-500 underline text-sm">
|
|
38
43
|
NPM
|
|
39
44
|
</a>
|
|
40
45
|
</div>
|
|
@@ -188,7 +188,7 @@
|
|
|
188
188
|
<a href="https://modelcontextprotocol.io/" target="_blank" class="text-blue-500 underline hover:text-blue-700">
|
|
189
189
|
Model Context Protocol
|
|
190
190
|
</a>
|
|
191
|
-
<a href="/components" class="text-blue-500 underline hover:text-blue-700">
|
|
191
|
+
<a href="/documentation/components" class="text-blue-500 underline hover:text-blue-700">
|
|
192
192
|
Browse Components
|
|
193
193
|
</a>
|
|
194
194
|
</div>
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
<head>
|
|
5
5
|
<meta charset="utf-8">
|
|
6
|
-
<title>
|
|
6
|
+
<title>Wally UI</title>
|
|
7
7
|
<base href="/">
|
|
8
8
|
|
|
9
9
|
<script>
|
|
@@ -16,7 +16,13 @@
|
|
|
16
16
|
);
|
|
17
17
|
</script>
|
|
18
18
|
|
|
19
|
+
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4944285767597175"
|
|
20
|
+
crossorigin="anonymous"></script>
|
|
21
|
+
|
|
22
|
+
<meta name="robots" content="index, follow">
|
|
19
23
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
24
|
+
<meta name="description" content="Wally UI - Angular component library">
|
|
25
|
+
|
|
20
26
|
<link rel="icon" type="image/x-icon" href="favicon.ico">
|
|
21
27
|
</head>
|
|
22
28
|
|
|
@@ -3,4 +3,550 @@
|
|
|
3
3
|
|
|
4
4
|
@custom-variant dark (&:where(.dark, .dark *));
|
|
5
5
|
|
|
6
|
-
@custom-variant dark-data (&:where([data-theme=dark], [data-theme=dark] *));
|
|
6
|
+
@custom-variant dark-data (&:where([data-theme=dark], [data-theme=dark] *));
|
|
7
|
+
|
|
8
|
+
/* Default Dark Theme for Prism.js */
|
|
9
|
+
pre[class*="language-"],
|
|
10
|
+
code[class*="language-"] {
|
|
11
|
+
color: #d4d4d4;
|
|
12
|
+
font-size: 13px;
|
|
13
|
+
text-shadow: none;
|
|
14
|
+
font-family: Menlo, Monaco, Consolas, "Andale Mono", "Ubuntu Mono", "Courier New", monospace;
|
|
15
|
+
direction: ltr;
|
|
16
|
+
text-align: left;
|
|
17
|
+
white-space: pre;
|
|
18
|
+
word-spacing: normal;
|
|
19
|
+
word-break: normal;
|
|
20
|
+
line-height: 1.5;
|
|
21
|
+
-moz-tab-size: 4;
|
|
22
|
+
-o-tab-size: 4;
|
|
23
|
+
tab-size: 4;
|
|
24
|
+
-webkit-hyphens: none;
|
|
25
|
+
-moz-hyphens: none;
|
|
26
|
+
-ms-hyphens: none;
|
|
27
|
+
hyphens: none;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
pre[class*="language-"]::selection,
|
|
31
|
+
code[class*="language-"]::selection,
|
|
32
|
+
pre[class*="language-"] *::selection,
|
|
33
|
+
code[class*="language-"] *::selection {
|
|
34
|
+
text-shadow: none;
|
|
35
|
+
background: #264F78;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
@media print {
|
|
39
|
+
|
|
40
|
+
pre[class*="language-"],
|
|
41
|
+
code[class*="language-"] {
|
|
42
|
+
text-shadow: none;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
pre[class*="language-"] {
|
|
47
|
+
padding: 1em;
|
|
48
|
+
margin: .5em 0;
|
|
49
|
+
overflow: auto;
|
|
50
|
+
background: #1e1e1e;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
:not(pre)>code[class*="language-"] {
|
|
54
|
+
padding: .1em .3em;
|
|
55
|
+
border-radius: .3em;
|
|
56
|
+
color: #db4c69;
|
|
57
|
+
background: #1e1e1e;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
/*********************************************************
|
|
61
|
+
* Tokens - Dark Theme
|
|
62
|
+
*/
|
|
63
|
+
.namespace {
|
|
64
|
+
opacity: .7;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.token.doctype .token.doctype-tag {
|
|
68
|
+
color: #569CD6;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.token.doctype .token.name {
|
|
72
|
+
color: #9cdcfe;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.token.comment,
|
|
76
|
+
.token.prolog {
|
|
77
|
+
color: #6a9955;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.token.punctuation,
|
|
81
|
+
.language-html .language-css .token.punctuation,
|
|
82
|
+
.language-html .language-javascript .token.punctuation {
|
|
83
|
+
color: #d4d4d4;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.token.property,
|
|
87
|
+
.token.tag,
|
|
88
|
+
.token.boolean,
|
|
89
|
+
.token.number,
|
|
90
|
+
.token.constant,
|
|
91
|
+
.token.symbol,
|
|
92
|
+
.token.inserted,
|
|
93
|
+
.token.unit {
|
|
94
|
+
color: #b5cea8;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.token.selector,
|
|
98
|
+
.token.attr-name,
|
|
99
|
+
.token.string,
|
|
100
|
+
.token.char,
|
|
101
|
+
.token.builtin,
|
|
102
|
+
.token.deleted {
|
|
103
|
+
color: #ce9178;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.language-css .token.string.url {
|
|
107
|
+
text-decoration: underline;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.token.operator,
|
|
111
|
+
.token.entity {
|
|
112
|
+
color: #d4d4d4;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.token.operator.arrow {
|
|
116
|
+
color: #569CD6;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.token.atrule {
|
|
120
|
+
color: #ce9178;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.token.atrule .token.rule {
|
|
124
|
+
color: #c586c0;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.token.atrule .token.url {
|
|
128
|
+
color: #9cdcfe;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.token.atrule .token.url .token.function {
|
|
132
|
+
color: #dcdcaa;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.token.atrule .token.url .token.punctuation {
|
|
136
|
+
color: #d4d4d4;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
.token.keyword {
|
|
140
|
+
color: #569CD6;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.token.keyword.module,
|
|
144
|
+
.token.keyword.control-flow {
|
|
145
|
+
color: #c586c0;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.token.function,
|
|
149
|
+
.token.function .token.maybe-class-name {
|
|
150
|
+
color: #dcdcaa;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.token.regex {
|
|
154
|
+
color: #d16969;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.token.important {
|
|
158
|
+
color: #569cd6;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.token.italic {
|
|
162
|
+
font-style: italic;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
.token.constant {
|
|
166
|
+
color: #9cdcfe;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
.token.class-name,
|
|
170
|
+
.token.maybe-class-name {
|
|
171
|
+
color: #4ec9b0;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.token.console {
|
|
175
|
+
color: #9cdcfe;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
.token.parameter {
|
|
179
|
+
color: #9cdcfe;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
.token.interpolation {
|
|
183
|
+
color: #9cdcfe;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
.token.punctuation.interpolation-punctuation {
|
|
187
|
+
color: #569cd6;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
.token.boolean {
|
|
191
|
+
color: #569cd6;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
.token.property,
|
|
195
|
+
.token.variable,
|
|
196
|
+
.token.imports .token.maybe-class-name,
|
|
197
|
+
.token.exports .token.maybe-class-name {
|
|
198
|
+
color: #9cdcfe;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
.token.selector {
|
|
202
|
+
color: #d7ba7d;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
.token.escape {
|
|
206
|
+
color: #d7ba7d;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
.token.tag {
|
|
210
|
+
color: #569cd6;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
.token.tag .token.punctuation {
|
|
214
|
+
color: #808080;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
.token.cdata {
|
|
218
|
+
color: #808080;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
.token.attr-name {
|
|
222
|
+
color: #9cdcfe;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
.token.attr-value,
|
|
226
|
+
.token.attr-value .token.punctuation {
|
|
227
|
+
color: #ce9178;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
.token.attr-value .token.punctuation.attr-equals {
|
|
231
|
+
color: #d4d4d4;
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
.token.entity {
|
|
235
|
+
color: #569cd6;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
.token.namespace {
|
|
239
|
+
color: #4ec9b0;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
/*********************************************************
|
|
243
|
+
* Language Specific - Dark Theme
|
|
244
|
+
*/
|
|
245
|
+
|
|
246
|
+
pre[class*="language-javascript"],
|
|
247
|
+
code[class*="language-javascript"],
|
|
248
|
+
pre[class*="language-jsx"],
|
|
249
|
+
code[class*="language-jsx"],
|
|
250
|
+
pre[class*="language-typescript"],
|
|
251
|
+
code[class*="language-typescript"],
|
|
252
|
+
pre[class*="language-tsx"],
|
|
253
|
+
code[class*="language-tsx"] {
|
|
254
|
+
color: #9cdcfe;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
pre[class*="language-css"],
|
|
258
|
+
code[class*="language-css"] {
|
|
259
|
+
color: #ce9178;
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
pre[class*="language-html"],
|
|
263
|
+
code[class*="language-html"] {
|
|
264
|
+
color: #d4d4d4;
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
.language-regex .token.anchor {
|
|
268
|
+
color: #dcdcaa;
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
.language-html .token.punctuation {
|
|
272
|
+
color: #808080;
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
/*********************************************************
|
|
276
|
+
* Line highlighting
|
|
277
|
+
*/
|
|
278
|
+
pre[class*="language-"]>code[class*="language-"] {
|
|
279
|
+
position: relative;
|
|
280
|
+
z-index: 1;
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
.line-highlight.line-highlight {
|
|
284
|
+
background: #f7ebc6;
|
|
285
|
+
box-shadow: inset 5px 0 0 #f7d87c;
|
|
286
|
+
z-index: 0;
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
/* Light Theme Override - GHColors theme by Avi Aryan */
|
|
290
|
+
@media (prefers-color-scheme: light) {
|
|
291
|
+
|
|
292
|
+
code[class*="language-"],
|
|
293
|
+
pre[class*="language-"] {
|
|
294
|
+
color: #393A34;
|
|
295
|
+
font-family: "Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace;
|
|
296
|
+
direction: ltr;
|
|
297
|
+
text-align: left;
|
|
298
|
+
white-space: pre;
|
|
299
|
+
word-spacing: normal;
|
|
300
|
+
word-break: normal;
|
|
301
|
+
font-size: .9em;
|
|
302
|
+
line-height: 1.2em;
|
|
303
|
+
|
|
304
|
+
-moz-tab-size: 4;
|
|
305
|
+
-o-tab-size: 4;
|
|
306
|
+
tab-size: 4;
|
|
307
|
+
|
|
308
|
+
-webkit-hyphens: none;
|
|
309
|
+
-moz-hyphens: none;
|
|
310
|
+
-ms-hyphens: none;
|
|
311
|
+
hyphens: none;
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
pre>code[class*="language-"] {
|
|
315
|
+
font-size: 1em;
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
pre[class*="language-"]::-moz-selection,
|
|
319
|
+
pre[class*="language-"] ::-moz-selection,
|
|
320
|
+
code[class*="language-"]::-moz-selection,
|
|
321
|
+
code[class*="language-"] ::-moz-selection {
|
|
322
|
+
background: #b3d4fc;
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
pre[class*="language-"]::selection,
|
|
326
|
+
pre[class*="language-"] ::selection,
|
|
327
|
+
code[class*="language-"]::selection,
|
|
328
|
+
code[class*="language-"] ::selection {
|
|
329
|
+
background: #b3d4fc;
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
/* Code blocks */
|
|
333
|
+
pre[class*="language-"] {
|
|
334
|
+
padding: 1em;
|
|
335
|
+
margin: .5em 0;
|
|
336
|
+
overflow: auto;
|
|
337
|
+
border: 1px solid #dddddd;
|
|
338
|
+
background-color: white;
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
/* Inline code */
|
|
342
|
+
:not(pre)>code[class*="language-"] {
|
|
343
|
+
padding: .2em;
|
|
344
|
+
padding-top: 1px;
|
|
345
|
+
padding-bottom: 1px;
|
|
346
|
+
background: #f8f8f8;
|
|
347
|
+
border: 1px solid #dddddd;
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
.token.comment,
|
|
351
|
+
.token.prolog,
|
|
352
|
+
.token.doctype,
|
|
353
|
+
.token.cdata {
|
|
354
|
+
color: #999988;
|
|
355
|
+
font-style: italic;
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
.token.namespace {
|
|
359
|
+
opacity: .7;
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
.token.string,
|
|
363
|
+
.token.attr-value {
|
|
364
|
+
color: #e3116c;
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
.token.punctuation,
|
|
368
|
+
.token.operator {
|
|
369
|
+
color: #393A34;
|
|
370
|
+
/* no highlight */
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
.token.entity,
|
|
374
|
+
.token.url,
|
|
375
|
+
.token.symbol,
|
|
376
|
+
.token.number,
|
|
377
|
+
.token.boolean,
|
|
378
|
+
.token.variable,
|
|
379
|
+
.token.constant,
|
|
380
|
+
.token.property,
|
|
381
|
+
.token.regex,
|
|
382
|
+
.token.inserted {
|
|
383
|
+
color: #36acaa;
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
.token.atrule,
|
|
387
|
+
.token.keyword,
|
|
388
|
+
.token.attr-name,
|
|
389
|
+
.language-autohotkey .token.selector {
|
|
390
|
+
color: #00a4db;
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
.token.function,
|
|
394
|
+
.token.deleted,
|
|
395
|
+
.language-autohotkey .token.tag {
|
|
396
|
+
color: #9a050f;
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
.token.tag,
|
|
400
|
+
.token.selector,
|
|
401
|
+
.language-autohotkey .token.keyword {
|
|
402
|
+
color: #00009f;
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
.token.important,
|
|
406
|
+
.token.function,
|
|
407
|
+
.token.bold {
|
|
408
|
+
font-weight: bold;
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
.token.italic {
|
|
412
|
+
font-style: italic;
|
|
413
|
+
}
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
/* Manual light mode class support */
|
|
417
|
+
html:not(.dark) code[class*="language-"],
|
|
418
|
+
html:not(.dark) pre[class*="language-"] {
|
|
419
|
+
color: #393A34;
|
|
420
|
+
font-family: "Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace;
|
|
421
|
+
direction: ltr;
|
|
422
|
+
text-align: left;
|
|
423
|
+
white-space: pre;
|
|
424
|
+
word-spacing: normal;
|
|
425
|
+
word-break: normal;
|
|
426
|
+
font-size: .9em;
|
|
427
|
+
line-height: 1.2em;
|
|
428
|
+
|
|
429
|
+
-moz-tab-size: 4;
|
|
430
|
+
-o-tab-size: 4;
|
|
431
|
+
tab-size: 4;
|
|
432
|
+
|
|
433
|
+
-webkit-hyphens: none;
|
|
434
|
+
-moz-hyphens: none;
|
|
435
|
+
-ms-hyphens: none;
|
|
436
|
+
hyphens: none;
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
html:not(.dark) pre>code[class*="language-"] {
|
|
440
|
+
font-size: 1em;
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
html:not(.dark) pre[class*="language-"]::-moz-selection,
|
|
444
|
+
html:not(.dark) pre[class*="language-"] ::-moz-selection,
|
|
445
|
+
html:not(.dark) code[class*="language-"]::-moz-selection,
|
|
446
|
+
html:not(.dark) code[class*="language-"] ::-moz-selection {
|
|
447
|
+
background: #b3d4fc;
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
html:not(.dark) pre[class*="language-"]::selection,
|
|
451
|
+
html:not(.dark) pre[class*="language-"] ::selection,
|
|
452
|
+
html:not(.dark) code[class*="language-"]::selection,
|
|
453
|
+
html:not(.dark) code[class*="language-"] ::selection {
|
|
454
|
+
background: #b3d4fc;
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
/* Code blocks */
|
|
458
|
+
html:not(.dark) pre[class*="language-"] {
|
|
459
|
+
padding: 1em;
|
|
460
|
+
margin: .5em 0;
|
|
461
|
+
overflow: auto;
|
|
462
|
+
border: 1px solid #dddddd;
|
|
463
|
+
background-color: white;
|
|
464
|
+
}
|
|
465
|
+
|
|
466
|
+
/* Inline code */
|
|
467
|
+
html:not(.dark) :not(pre)>code[class*="language-"] {
|
|
468
|
+
padding: .2em;
|
|
469
|
+
padding-top: 1px;
|
|
470
|
+
padding-bottom: 1px;
|
|
471
|
+
background: #f8f8f8;
|
|
472
|
+
border: 1px solid #dddddd;
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
html:not(.dark) .token.comment,
|
|
476
|
+
html:not(.dark) .token.prolog,
|
|
477
|
+
html:not(.dark) .token.doctype,
|
|
478
|
+
html:not(.dark) .token.cdata {
|
|
479
|
+
color: #999988;
|
|
480
|
+
font-style: italic;
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
html:not(.dark) .token.namespace {
|
|
484
|
+
opacity: .7;
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
html:not(.dark) .token.string,
|
|
488
|
+
html:not(.dark) .token.attr-value {
|
|
489
|
+
color: #e3116c;
|
|
490
|
+
}
|
|
491
|
+
|
|
492
|
+
html:not(.dark) .token.punctuation,
|
|
493
|
+
html:not(.dark) .token.operator {
|
|
494
|
+
color: #393A34;
|
|
495
|
+
/* no highlight */
|
|
496
|
+
}
|
|
497
|
+
|
|
498
|
+
html:not(.dark) .token.entity,
|
|
499
|
+
html:not(.dark) .token.url,
|
|
500
|
+
html:not(.dark) .token.symbol,
|
|
501
|
+
html:not(.dark) .token.number,
|
|
502
|
+
html:not(.dark) .token.boolean,
|
|
503
|
+
html:not(.dark) .token.variable,
|
|
504
|
+
html:not(.dark) .token.constant,
|
|
505
|
+
html:not(.dark) .token.property,
|
|
506
|
+
html:not(.dark) .token.regex,
|
|
507
|
+
html:not(.dark) .token.inserted {
|
|
508
|
+
color: #36acaa;
|
|
509
|
+
}
|
|
510
|
+
|
|
511
|
+
html:not(.dark) .token.atrule,
|
|
512
|
+
html:not(.dark) .token.keyword,
|
|
513
|
+
html:not(.dark) .token.attr-name,
|
|
514
|
+
html:not(.dark) .language-autohotkey .token.selector {
|
|
515
|
+
color: #00a4db;
|
|
516
|
+
}
|
|
517
|
+
|
|
518
|
+
html:not(.dark) .token.function,
|
|
519
|
+
html:not(.dark) .token.deleted,
|
|
520
|
+
html:not(.dark) .language-autohotkey .token.tag {
|
|
521
|
+
color: #9a050f;
|
|
522
|
+
}
|
|
523
|
+
|
|
524
|
+
html:not(.dark) .token.tag,
|
|
525
|
+
html:not(.dark) .token.selector,
|
|
526
|
+
html:not(.dark) .language-autohotkey .token.keyword {
|
|
527
|
+
color: #00009f;
|
|
528
|
+
}
|
|
529
|
+
|
|
530
|
+
html:not(.dark) .token.important,
|
|
531
|
+
html:not(.dark) .token.function,
|
|
532
|
+
html:not(.dark) .token.bold {
|
|
533
|
+
font-weight: bold;
|
|
534
|
+
}
|
|
535
|
+
|
|
536
|
+
html:not(.dark) .token.italic {
|
|
537
|
+
font-style: italic;
|
|
538
|
+
}
|
|
539
|
+
|
|
540
|
+
pre {
|
|
541
|
+
white-space: pre-wrap;
|
|
542
|
+
word-wrap: break-word;
|
|
543
|
+
overflow-wrap: break-word;
|
|
544
|
+
max-width: 100%;
|
|
545
|
+
}
|
|
546
|
+
|
|
547
|
+
code {
|
|
548
|
+
white-space: pre-wrap;
|
|
549
|
+
word-wrap: break-word;
|
|
550
|
+
overflow-wrap: break-word;
|
|
551
|
+
display: block;
|
|
552
|
+
}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { Component } from '@angular/core';
|
|
2
|
-
|
|
3
|
-
import { Breadcrumb, BreadcrumbItem } from '../../../components/breadcrumb/breadcrumb';
|
|
4
|
-
|
|
5
|
-
import { AiPromptService } from '../../../core/services/ai-prompt.service';
|
|
6
|
-
|
|
7
|
-
@Component({
|
|
8
|
-
selector: 'app-breadcrumb-docs',
|
|
9
|
-
imports: [
|
|
10
|
-
Breadcrumb
|
|
11
|
-
],
|
|
12
|
-
templateUrl: './breadcrumb-docs.html',
|
|
13
|
-
styleUrl: './breadcrumb-docs.css'
|
|
14
|
-
})
|
|
15
|
-
export class BreadcrumbDocs {
|
|
16
|
-
breadcrumbItems: BreadcrumbItem[] = [
|
|
17
|
-
{ label: 'Home', url: '/' },
|
|
18
|
-
{ label: 'Components', url: '/components' },
|
|
19
|
-
{ label: 'Breadcrumb' }
|
|
20
|
-
];
|
|
21
|
-
|
|
22
|
-
exampleBreadcrumbs: BreadcrumbItem[] = [
|
|
23
|
-
{ label: 'Home', url: '/' },
|
|
24
|
-
{ label: 'Components', url: '/components' },
|
|
25
|
-
{ label: 'Breadcrumb' }
|
|
26
|
-
];
|
|
27
|
-
|
|
28
|
-
simpleBreadcrumbs: BreadcrumbItem[] = [
|
|
29
|
-
{ label: 'Components' }
|
|
30
|
-
];
|
|
31
|
-
|
|
32
|
-
constructor(
|
|
33
|
-
private aiPromptService: AiPromptService
|
|
34
|
-
) { }
|
|
35
|
-
|
|
36
|
-
get claudeUrl(): string {
|
|
37
|
-
return this.aiPromptService.generateClaudeUrl();
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
get chatGptUrl(): string {
|
|
41
|
-
return this.aiPromptService.generateChatGptUrl();
|
|
42
|
-
}
|
|
43
|
-
}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { Component, signal, WritableSignal } from '@angular/core';
|
|
2
|
-
|
|
3
|
-
import { Breadcrumb, BreadcrumbItem } from '../../../components/breadcrumb/breadcrumb';
|
|
4
|
-
import { Button } from '../../../components/button/button';
|
|
5
|
-
|
|
6
|
-
import { AiPromptService } from '../../../core/services/ai-prompt.service';
|
|
7
|
-
|
|
8
|
-
@Component({
|
|
9
|
-
selector: 'app-button-docs',
|
|
10
|
-
imports: [
|
|
11
|
-
Button,
|
|
12
|
-
Breadcrumb
|
|
13
|
-
],
|
|
14
|
-
templateUrl: './button-docs.html',
|
|
15
|
-
styleUrl: './button-docs.css'
|
|
16
|
-
})
|
|
17
|
-
export class ButtonDocs {
|
|
18
|
-
breadcrumbItems: BreadcrumbItem[] = [
|
|
19
|
-
{ label: 'Home', url: '/' },
|
|
20
|
-
{ label: 'Components', url: '/components' },
|
|
21
|
-
{ label: 'Button' }
|
|
22
|
-
];
|
|
23
|
-
|
|
24
|
-
clickMessage: WritableSignal<string> = signal<string>('');
|
|
25
|
-
|
|
26
|
-
constructor(
|
|
27
|
-
private aiPromptService: AiPromptService
|
|
28
|
-
) {}
|
|
29
|
-
|
|
30
|
-
handleClick(): void {
|
|
31
|
-
this.clickMessage.set('Button clicked!');
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
get claudeUrl(): string {
|
|
35
|
-
return this.aiPromptService.generateClaudeUrl();
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
get chatGptUrl(): string {
|
|
39
|
-
return this.aiPromptService.generateChatGptUrl();
|
|
40
|
-
}
|
|
41
|
-
}
|