novo-menu-wedding-site 0.1.1 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
package/src/input.css DELETED
@@ -1,3 +0,0 @@
1
- @tailwind base;
2
- @tailwind components;
3
- @tailwind utilities;
package/src/main.tsx DELETED
@@ -1,5 +0,0 @@
1
- import { render } from 'preact'
2
- import { MenuSection } from './MenuSection.tsx'
3
- import './input.css'
4
-
5
- render(<MenuSection />, document.getElementById('app')!)
package/src/output.css DELETED
@@ -1,599 +0,0 @@
1
- *, ::before, ::after {
2
- --tw-border-spacing-x: 0;
3
- --tw-border-spacing-y: 0;
4
- --tw-translate-x: 0;
5
- --tw-translate-y: 0;
6
- --tw-rotate: 0;
7
- --tw-skew-x: 0;
8
- --tw-skew-y: 0;
9
- --tw-scale-x: 1;
10
- --tw-scale-y: 1;
11
- --tw-pan-x: ;
12
- --tw-pan-y: ;
13
- --tw-pinch-zoom: ;
14
- --tw-scroll-snap-strictness: proximity;
15
- --tw-gradient-from-position: ;
16
- --tw-gradient-via-position: ;
17
- --tw-gradient-to-position: ;
18
- --tw-ordinal: ;
19
- --tw-slashed-zero: ;
20
- --tw-numeric-figure: ;
21
- --tw-numeric-spacing: ;
22
- --tw-numeric-fraction: ;
23
- --tw-ring-inset: ;
24
- --tw-ring-offset-width: 0px;
25
- --tw-ring-offset-color: #fff;
26
- --tw-ring-color: rgb(59 130 246 / 0.5);
27
- --tw-ring-offset-shadow: 0 0 #0000;
28
- --tw-ring-shadow: 0 0 #0000;
29
- --tw-shadow: 0 0 #0000;
30
- --tw-shadow-colored: 0 0 #0000;
31
- --tw-blur: ;
32
- --tw-brightness: ;
33
- --tw-contrast: ;
34
- --tw-grayscale: ;
35
- --tw-hue-rotate: ;
36
- --tw-invert: ;
37
- --tw-saturate: ;
38
- --tw-sepia: ;
39
- --tw-drop-shadow: ;
40
- --tw-backdrop-blur: ;
41
- --tw-backdrop-brightness: ;
42
- --tw-backdrop-contrast: ;
43
- --tw-backdrop-grayscale: ;
44
- --tw-backdrop-hue-rotate: ;
45
- --tw-backdrop-invert: ;
46
- --tw-backdrop-opacity: ;
47
- --tw-backdrop-saturate: ;
48
- --tw-backdrop-sepia: ;
49
- --tw-contain-size: ;
50
- --tw-contain-layout: ;
51
- --tw-contain-paint: ;
52
- --tw-contain-style: ;
53
- }
54
-
55
- ::backdrop {
56
- --tw-border-spacing-x: 0;
57
- --tw-border-spacing-y: 0;
58
- --tw-translate-x: 0;
59
- --tw-translate-y: 0;
60
- --tw-rotate: 0;
61
- --tw-skew-x: 0;
62
- --tw-skew-y: 0;
63
- --tw-scale-x: 1;
64
- --tw-scale-y: 1;
65
- --tw-pan-x: ;
66
- --tw-pan-y: ;
67
- --tw-pinch-zoom: ;
68
- --tw-scroll-snap-strictness: proximity;
69
- --tw-gradient-from-position: ;
70
- --tw-gradient-via-position: ;
71
- --tw-gradient-to-position: ;
72
- --tw-ordinal: ;
73
- --tw-slashed-zero: ;
74
- --tw-numeric-figure: ;
75
- --tw-numeric-spacing: ;
76
- --tw-numeric-fraction: ;
77
- --tw-ring-inset: ;
78
- --tw-ring-offset-width: 0px;
79
- --tw-ring-offset-color: #fff;
80
- --tw-ring-color: rgb(59 130 246 / 0.5);
81
- --tw-ring-offset-shadow: 0 0 #0000;
82
- --tw-ring-shadow: 0 0 #0000;
83
- --tw-shadow: 0 0 #0000;
84
- --tw-shadow-colored: 0 0 #0000;
85
- --tw-blur: ;
86
- --tw-brightness: ;
87
- --tw-contrast: ;
88
- --tw-grayscale: ;
89
- --tw-hue-rotate: ;
90
- --tw-invert: ;
91
- --tw-saturate: ;
92
- --tw-sepia: ;
93
- --tw-drop-shadow: ;
94
- --tw-backdrop-blur: ;
95
- --tw-backdrop-brightness: ;
96
- --tw-backdrop-contrast: ;
97
- --tw-backdrop-grayscale: ;
98
- --tw-backdrop-hue-rotate: ;
99
- --tw-backdrop-invert: ;
100
- --tw-backdrop-opacity: ;
101
- --tw-backdrop-saturate: ;
102
- --tw-backdrop-sepia: ;
103
- --tw-contain-size: ;
104
- --tw-contain-layout: ;
105
- --tw-contain-paint: ;
106
- --tw-contain-style: ;
107
- }
108
-
109
- /*
110
- ! tailwindcss v3.4.14 | MIT License | https://tailwindcss.com
111
- */
112
-
113
- /*
114
- 1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
115
- 2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
116
- */
117
-
118
- *,
119
- ::before,
120
- ::after {
121
- box-sizing: border-box;
122
- /* 1 */
123
- border-width: 0;
124
- /* 2 */
125
- border-style: solid;
126
- /* 2 */
127
- border-color: #e5e7eb;
128
- /* 2 */
129
- }
130
-
131
- ::before,
132
- ::after {
133
- --tw-content: '';
134
- }
135
-
136
- /*
137
- 1. Use a consistent sensible line-height in all browsers.
138
- 2. Prevent adjustments of font size after orientation changes in iOS.
139
- 3. Use a more readable tab size.
140
- 4. Use the user's configured `sans` font-family by default.
141
- 5. Use the user's configured `sans` font-feature-settings by default.
142
- 6. Use the user's configured `sans` font-variation-settings by default.
143
- 7. Disable tap highlights on iOS
144
- */
145
-
146
- html,
147
- :host {
148
- line-height: 1.5;
149
- /* 1 */
150
- -webkit-text-size-adjust: 100%;
151
- /* 2 */
152
- -moz-tab-size: 4;
153
- /* 3 */
154
- -o-tab-size: 4;
155
- tab-size: 4;
156
- /* 3 */
157
- font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
158
- /* 4 */
159
- font-feature-settings: normal;
160
- /* 5 */
161
- font-variation-settings: normal;
162
- /* 6 */
163
- -webkit-tap-highlight-color: transparent;
164
- /* 7 */
165
- }
166
-
167
- /*
168
- 1. Remove the margin in all browsers.
169
- 2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
170
- */
171
-
172
- body {
173
- margin: 0;
174
- /* 1 */
175
- line-height: inherit;
176
- /* 2 */
177
- }
178
-
179
- /*
180
- 1. Add the correct height in Firefox.
181
- 2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
182
- 3. Ensure horizontal rules are visible by default.
183
- */
184
-
185
- hr {
186
- height: 0;
187
- /* 1 */
188
- color: inherit;
189
- /* 2 */
190
- border-top-width: 1px;
191
- /* 3 */
192
- }
193
-
194
- /*
195
- Add the correct text decoration in Chrome, Edge, and Safari.
196
- */
197
-
198
- abbr:where([title]) {
199
- -webkit-text-decoration: underline dotted;
200
- text-decoration: underline dotted;
201
- }
202
-
203
- /*
204
- Remove the default font size and weight for headings.
205
- */
206
-
207
- h1,
208
- h2,
209
- h3,
210
- h4,
211
- h5,
212
- h6 {
213
- font-size: inherit;
214
- font-weight: inherit;
215
- }
216
-
217
- /*
218
- Reset links to optimize for opt-in styling instead of opt-out.
219
- */
220
-
221
- a {
222
- color: inherit;
223
- text-decoration: inherit;
224
- }
225
-
226
- /*
227
- Add the correct font weight in Edge and Safari.
228
- */
229
-
230
- b,
231
- strong {
232
- font-weight: bolder;
233
- }
234
-
235
- /*
236
- 1. Use the user's configured `mono` font-family by default.
237
- 2. Use the user's configured `mono` font-feature-settings by default.
238
- 3. Use the user's configured `mono` font-variation-settings by default.
239
- 4. Correct the odd `em` font sizing in all browsers.
240
- */
241
-
242
- code,
243
- kbd,
244
- samp,
245
- pre {
246
- font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
247
- /* 1 */
248
- font-feature-settings: normal;
249
- /* 2 */
250
- font-variation-settings: normal;
251
- /* 3 */
252
- font-size: 1em;
253
- /* 4 */
254
- }
255
-
256
- /*
257
- Add the correct font size in all browsers.
258
- */
259
-
260
- small {
261
- font-size: 80%;
262
- }
263
-
264
- /*
265
- Prevent `sub` and `sup` elements from affecting the line height in all browsers.
266
- */
267
-
268
- sub,
269
- sup {
270
- font-size: 75%;
271
- line-height: 0;
272
- position: relative;
273
- vertical-align: baseline;
274
- }
275
-
276
- sub {
277
- bottom: -0.25em;
278
- }
279
-
280
- sup {
281
- top: -0.5em;
282
- }
283
-
284
- /*
285
- 1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
286
- 2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
287
- 3. Remove gaps between table borders by default.
288
- */
289
-
290
- table {
291
- text-indent: 0;
292
- /* 1 */
293
- border-color: inherit;
294
- /* 2 */
295
- border-collapse: collapse;
296
- /* 3 */
297
- }
298
-
299
- /*
300
- 1. Change the font styles in all browsers.
301
- 2. Remove the margin in Firefox and Safari.
302
- 3. Remove default padding in all browsers.
303
- */
304
-
305
- button,
306
- input,
307
- optgroup,
308
- select,
309
- textarea {
310
- font-family: inherit;
311
- /* 1 */
312
- font-feature-settings: inherit;
313
- /* 1 */
314
- font-variation-settings: inherit;
315
- /* 1 */
316
- font-size: 100%;
317
- /* 1 */
318
- font-weight: inherit;
319
- /* 1 */
320
- line-height: inherit;
321
- /* 1 */
322
- letter-spacing: inherit;
323
- /* 1 */
324
- color: inherit;
325
- /* 1 */
326
- margin: 0;
327
- /* 2 */
328
- padding: 0;
329
- /* 3 */
330
- }
331
-
332
- /*
333
- Remove the inheritance of text transform in Edge and Firefox.
334
- */
335
-
336
- button,
337
- select {
338
- text-transform: none;
339
- }
340
-
341
- /*
342
- 1. Correct the inability to style clickable types in iOS and Safari.
343
- 2. Remove default button styles.
344
- */
345
-
346
- button,
347
- input:where([type='button']),
348
- input:where([type='reset']),
349
- input:where([type='submit']) {
350
- -webkit-appearance: button;
351
- /* 1 */
352
- background-color: transparent;
353
- /* 2 */
354
- background-image: none;
355
- /* 2 */
356
- }
357
-
358
- /*
359
- Use the modern Firefox focus style for all focusable elements.
360
- */
361
-
362
- :-moz-focusring {
363
- outline: auto;
364
- }
365
-
366
- /*
367
- Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
368
- */
369
-
370
- :-moz-ui-invalid {
371
- box-shadow: none;
372
- }
373
-
374
- /*
375
- Add the correct vertical alignment in Chrome and Firefox.
376
- */
377
-
378
- progress {
379
- vertical-align: baseline;
380
- }
381
-
382
- /*
383
- Correct the cursor style of increment and decrement buttons in Safari.
384
- */
385
-
386
- ::-webkit-inner-spin-button,
387
- ::-webkit-outer-spin-button {
388
- height: auto;
389
- }
390
-
391
- /*
392
- 1. Correct the odd appearance in Chrome and Safari.
393
- 2. Correct the outline style in Safari.
394
- */
395
-
396
- [type='search'] {
397
- -webkit-appearance: textfield;
398
- /* 1 */
399
- outline-offset: -2px;
400
- /* 2 */
401
- }
402
-
403
- /*
404
- Remove the inner padding in Chrome and Safari on macOS.
405
- */
406
-
407
- ::-webkit-search-decoration {
408
- -webkit-appearance: none;
409
- }
410
-
411
- /*
412
- 1. Correct the inability to style clickable types in iOS and Safari.
413
- 2. Change font properties to `inherit` in Safari.
414
- */
415
-
416
- ::-webkit-file-upload-button {
417
- -webkit-appearance: button;
418
- /* 1 */
419
- font: inherit;
420
- /* 2 */
421
- }
422
-
423
- /*
424
- Add the correct display in Chrome and Safari.
425
- */
426
-
427
- summary {
428
- display: list-item;
429
- }
430
-
431
- /*
432
- Removes the default spacing and border for appropriate elements.
433
- */
434
-
435
- blockquote,
436
- dl,
437
- dd,
438
- h1,
439
- h2,
440
- h3,
441
- h4,
442
- h5,
443
- h6,
444
- hr,
445
- figure,
446
- p,
447
- pre {
448
- margin: 0;
449
- }
450
-
451
- fieldset {
452
- margin: 0;
453
- padding: 0;
454
- }
455
-
456
- legend {
457
- padding: 0;
458
- }
459
-
460
- ol,
461
- ul,
462
- menu {
463
- list-style: none;
464
- margin: 0;
465
- padding: 0;
466
- }
467
-
468
- /*
469
- Reset default styling for dialogs.
470
- */
471
-
472
- dialog {
473
- padding: 0;
474
- }
475
-
476
- /*
477
- Prevent resizing textareas horizontally by default.
478
- */
479
-
480
- textarea {
481
- resize: vertical;
482
- }
483
-
484
- /*
485
- 1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
486
- 2. Set the default placeholder color to the user's configured gray 400 color.
487
- */
488
-
489
- input::-moz-placeholder, textarea::-moz-placeholder {
490
- opacity: 1;
491
- /* 1 */
492
- color: #9ca3af;
493
- /* 2 */
494
- }
495
-
496
- input::placeholder,
497
- textarea::placeholder {
498
- opacity: 1;
499
- /* 1 */
500
- color: #9ca3af;
501
- /* 2 */
502
- }
503
-
504
- /*
505
- Set the default cursor for buttons.
506
- */
507
-
508
- button,
509
- [role="button"] {
510
- cursor: pointer;
511
- }
512
-
513
- /*
514
- Make sure disabled buttons don't get the pointer cursor.
515
- */
516
-
517
- :disabled {
518
- cursor: default;
519
- }
520
-
521
- /*
522
- 1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
523
- 2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
524
- This can trigger a poorly considered lint error in some tools but is included by design.
525
- */
526
-
527
- img,
528
- svg,
529
- video,
530
- canvas,
531
- audio,
532
- iframe,
533
- embed,
534
- object {
535
- display: block;
536
- /* 1 */
537
- vertical-align: middle;
538
- /* 2 */
539
- }
540
-
541
- /*
542
- Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
543
- */
544
-
545
- img,
546
- video {
547
- max-width: 100%;
548
- height: auto;
549
- }
550
-
551
- /* Make elements with the HTML hidden attribute stay hidden by default */
552
-
553
- [hidden]:where(:not([hidden="until-found"])) {
554
- display: none;
555
- }
556
-
557
- .flex {
558
- display: flex;
559
- }
560
-
561
- .items-center {
562
- align-items: center;
563
- }
564
-
565
- .justify-between {
566
- justify-content: space-between;
567
- }
568
-
569
- .gap-2\.5 {
570
- gap: 0.625rem;
571
- }
572
-
573
- .p-4 {
574
- padding: 1rem;
575
- }
576
-
577
- .shadow-lg {
578
- --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
579
- --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
580
- box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
581
- }
582
-
583
- @media (min-width: 768px) {
584
- .md\:hidden {
585
- display: none;
586
- }
587
-
588
- .md\:h-screen {
589
- height: 100vh;
590
- }
591
-
592
- .md\:w-20 {
593
- width: 5rem;
594
- }
595
-
596
- .md\:flex-col {
597
- flex-direction: column;
598
- }
599
- }
package/tsconfig.app.json DELETED
@@ -1,27 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
4
- "target": "ES2020",
5
- "useDefineForClassFields": true,
6
- "module": "ESNext",
7
- "lib": ["ES2020", "DOM", "DOM.Iterable"],
8
- "skipLibCheck": true,
9
- "paths": {
10
- "react": ["./node_modules/preact/compat/"],
11
- "react-dom": ["./node_modules/preact/compat/"]
12
- },
13
- "moduleResolution": "Bundler",
14
- "allowImportingTsExtensions": true,
15
- "isolatedModules": true,
16
- "moduleDetection": "force",
17
- "noEmit": true,
18
- "jsx": "react-jsx",
19
- "jsxImportSource": "preact",
20
- "strict": true,
21
- "noUnusedLocals": true,
22
- "noUnusedParameters": true,
23
- "noFallthroughCasesInSwitch": true,
24
- "noUncheckedSideEffectImports": true
25
- },
26
- "include": ["src/**/*", "custom.d.ts"]
27
- }
package/tsconfig.json DELETED
@@ -1,7 +0,0 @@
1
- {
2
- "files": [],
3
- "references": [
4
- { "path": "./tsconfig.app.json" },
5
- { "path": "./tsconfig.node.json" },
6
- ]
7
- }
@@ -1,28 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo",
4
- "target": "ES2022",
5
- "lib": ["ES2023"],
6
- "module": "ESNext",
7
- "skipLibCheck": true,
8
-
9
- /* Bundler mode */
10
- "moduleResolution": "Bundler",
11
- "allowImportingTsExtensions": true,
12
- "isolatedModules": true,
13
- "moduleDetection": "force",
14
-
15
- /* Output (necessário para build de biblioteca) */
16
- "declaration": true,
17
- "emitDeclarationOnly": true,
18
- "outDir": "dist",
19
-
20
- /* Linting */
21
- "strict": true,
22
- "noUnusedLocals": true,
23
- "noUnusedParameters": true,
24
- "noFallthroughCasesInSwitch": true,
25
- "noUncheckedSideEffectImports": true
26
- },
27
- "include": ["vite.config.ts"]
28
- }
package/vite-env.d.ts DELETED
@@ -1 +0,0 @@
1
- /// <reference types="vite/client" />
package/vite.config.ts DELETED
@@ -1,35 +0,0 @@
1
- import { defineConfig } from "vite";
2
- import preact from "@preact/preset-vite";
3
- import { viteStaticCopy } from "vite-plugin-static-copy";
4
- import tailwindcss from "tailwindcss";
5
- import autoprefixer from "autoprefixer";
6
-
7
- export default defineConfig({
8
- plugins: [
9
- preact(),
10
- viteStaticCopy({
11
- targets: [
12
- { src: "src/assets/icons/*.svg", dest: "assets/icons" },
13
- { src: "src/assets/*.svg", dest: "assets" },
14
- ],
15
- }),
16
- ],
17
- css: { postcss: { plugins: [tailwindcss(), autoprefixer()] } },
18
- build: {
19
- lib: {
20
- entry: "./src/MenuSection.tsx", // Corrigido para refletir o nome correto do arquivo
21
- name: "MenuSection",
22
- fileName: (format) => `menu-section.${format}.js`,
23
- formats: ["es", "umd"],
24
- },
25
- rollupOptions: {
26
- external: ["preact", "preact-custom-element"],
27
- output: {
28
- globals: {
29
- preact: "Preact",
30
- "preact-custom-element": "PreactCustomElement",
31
- },
32
- },
33
- },
34
- },
35
- });
File without changes