@bildvitta/quasar-ui-asteroid 3.0.0-beta.3 → 3.0.0-beta.6
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/dist/api/QasAppMenu.json +4 -0
- package/dist/api/QasBtn.json +1 -1
- package/dist/asteroid.cjs.css +1 -1
- package/dist/asteroid.cjs.js +42 -37
- package/dist/asteroid.cjs.min.js +2 -2
- package/dist/asteroid.esm.css +1 -1
- package/dist/asteroid.esm.js +43 -38
- package/dist/asteroid.esm.min.js +2 -2
- package/dist/asteroid.umd.css +1 -1
- package/dist/asteroid.umd.js +42 -37
- package/dist/asteroid.umd.min.js +2 -2
- package/dist/vetur/asteroid-attributes.json +5 -1
- package/dist/vetur/asteroid-tags.json +1 -0
- package/package.json +1 -1
- package/src/assets/gear.svg +27 -0
- package/src/components/actions-menu/QasActionsMenu.vue +2 -2
- package/src/components/app-bar/QasAppBar.vue +2 -2
- package/src/components/app-menu/QasAppMenu.vue +7 -3
- package/src/components/app-menu/QasAppMenu.yml +4 -0
- package/src/components/box/QasBox.vue +1 -1
- package/src/components/btn/QasBtn.vue +2 -2
- package/src/components/btn/QasBtn.yml +1 -1
- package/src/components/card/QasCard.vue +1 -1
- package/src/components/copy/QasCopy.vue +1 -1
- package/src/components/filters/QasFilters.vue +2 -2
- package/src/components/list-items/QasListItems.vue +1 -1
- package/src/components/list-view/QasListView.vue +2 -2
- package/src/components/resizer/QasResizer.vue +1 -1
- package/src/components/signature-pad/QasSignaturePad.vue +1 -1
- package/src/components/single-view/QasSingleView.vue +2 -2
- package/src/components/uploader/QasUploader.vue +2 -2
- package/src/composables/index.js +1 -1
- package/src/composables/{useHistory.js → use-history.js} +0 -0
- package/src/css/components/base.scss +3 -0
- package/src/css/components/field.scss +4 -0
- package/src/css/components/index.scss +4 -0
- package/src/css/components/radio.scss +3 -0
- package/src/css/components/tabs.scss +3 -0
- package/src/css/mixins/index.scss +1 -0
- package/src/css/{set-brand.scss → mixins/set-brand.scss} +0 -0
- package/src/css/{background.scss → utils/background.scss} +0 -0
- package/src/css/{border-radius.scss → utils/border-radius.scss} +0 -0
- package/src/css/{border.scss → utils/border.scss} +0 -0
- package/src/css/{container.scss → utils/container.scss} +0 -0
- package/src/css/{fonts.scss → utils/fonts.scss} +0 -0
- package/src/css/utils/index.scss +9 -0
- package/src/css/{line-height.scss → utils/line-height.scss} +0 -0
- package/src/css/{opacity.scss → utils/opacity.scss} +0 -0
- package/src/css/{text.scss → utils/text.scss} +0 -0
- package/src/css/{unset.scss → utils/unset.scss} +0 -0
- package/src/css/variables/button.scss +3 -0
- package/src/css/variables/index.scss +3 -0
- package/src/css/variables/shadow.scss +33 -0
- package/src/css/variables/typography.scss +139 -0
- package/src/index.scss +11 -13
- package/src/pages/ErrorComponent.vue +56 -0
- package/src/pages/Forbidden.vue +19 -5
- package/src/pages/NotFound.vue +19 -5
- package/src/pages/ServerError.vue +23 -0
- package/src/assets/logo-modular.svg +0 -1
- package/src/composables/useForm.js +0 -3
- package/src/css/design-system/button.scss +0 -6
- package/src/css/design-system/index.scss +0 -2
- package/src/css/design-system/typography.scss +0 -91
- package/src/css/design-system.scss +0 -18
- package/src/css/shadow.scss +0 -7
package/src/pages/Forbidden.vue
CHANGED
|
@@ -1,12 +1,26 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<
|
|
3
|
-
<p class="q-my-lg text-faded">Ops, você não tem permissão para acessar esta página <strong>(403).</strong></p>
|
|
4
|
-
<q-btn color="primary" flat @click="$router.push('/')">Voltar</q-btn>
|
|
5
|
-
</div>
|
|
2
|
+
<error-component v-bind="errorProps" />
|
|
6
3
|
</template>
|
|
7
4
|
|
|
8
5
|
<script>
|
|
6
|
+
import ErrorComponent from './ErrorComponent'
|
|
7
|
+
|
|
9
8
|
export default {
|
|
10
|
-
|
|
9
|
+
components: {
|
|
10
|
+
ErrorComponent
|
|
11
|
+
},
|
|
12
|
+
|
|
13
|
+
computed: {
|
|
14
|
+
errorProps () {
|
|
15
|
+
return {
|
|
16
|
+
code: '403',
|
|
17
|
+
title: 'Ops, parece que você não tem acesso para este recurso!',
|
|
18
|
+
buttonProps: {
|
|
19
|
+
to: { path: '/' },
|
|
20
|
+
label: 'Voltar ao início'
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
11
25
|
}
|
|
12
26
|
</script>
|
package/src/pages/NotFound.vue
CHANGED
|
@@ -1,12 +1,26 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<
|
|
3
|
-
<p class="q-my-lg text-faded">Ops, nada aqui... <strong>(404)</strong></p>
|
|
4
|
-
<q-btn color="primary" flat @click="$router.push('/')">Voltar</q-btn>
|
|
5
|
-
</div>
|
|
2
|
+
<error-component v-bind="errorProps" />
|
|
6
3
|
</template>
|
|
7
4
|
|
|
8
5
|
<script>
|
|
6
|
+
import ErrorComponent from './ErrorComponent'
|
|
7
|
+
|
|
9
8
|
export default {
|
|
10
|
-
|
|
9
|
+
components: {
|
|
10
|
+
ErrorComponent
|
|
11
|
+
},
|
|
12
|
+
|
|
13
|
+
computed: {
|
|
14
|
+
errorProps () {
|
|
15
|
+
return {
|
|
16
|
+
code: '404',
|
|
17
|
+
title: 'Ops! Parece que a página que está tentando acessar não existe!',
|
|
18
|
+
buttonProps: {
|
|
19
|
+
to: { path: '/' },
|
|
20
|
+
label: 'Voltar ao início'
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
11
25
|
}
|
|
12
26
|
</script>
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<error-component v-bind="errorProps" />
|
|
3
|
+
</template>
|
|
4
|
+
|
|
5
|
+
<script>
|
|
6
|
+
import ErrorComponent from './ErrorComponent'
|
|
7
|
+
|
|
8
|
+
export default {
|
|
9
|
+
components: {
|
|
10
|
+
ErrorComponent
|
|
11
|
+
},
|
|
12
|
+
|
|
13
|
+
computed: {
|
|
14
|
+
errorProps () {
|
|
15
|
+
return {
|
|
16
|
+
code: '500',
|
|
17
|
+
title: 'Ops, ocorreu um erro interno no nosso servidor!',
|
|
18
|
+
subtitle: 'Tente novamente em alguns instantes.'
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
</script>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg width="126" height="26" fill="none" xmlns="http://www.w3.org/2000/svg"><g opacity=".3"><g clip-path="url(#a)"><path d="M6.829 10.909c.02-2.295.059-4.6.119-6.895C9.197 2.653 11.41 1.3 13.58 0c2.172 1.301 4.393 2.653 6.634 4.014.07 2.295.11 4.6.12 6.895a342.175 342.175 0 0 0 6.048 3.417c-.02 2.504-.1 5.017-.238 7.521A575.699 575.699 0 0 0 19.392 26a404.892 404.892 0 0 1-5.81-3.388A525.05 525.05 0 0 1 7.77 26a574.702 574.702 0 0 0-6.753-4.153 158.72 158.72 0 0 1-.238-7.52 381.833 381.833 0 0 0 6.049-3.418Zm6.752-9.24c-1.487.884-2.994 1.788-4.521 2.702 1.487.855 2.994 1.73 4.521 2.613a830.152 830.152 0 0 1 4.522-2.613c-1.527-.904-3.034-1.818-4.522-2.702Zm.714 6.577v5.295c1.537-.884 3.064-1.768 4.591-2.642-.01-1.759-.03-3.507-.06-5.266-1.487.855-3.004 1.729-4.53 2.613Zm5.87 15.658a402.133 402.133 0 0 1 4.602-2.792c.079-1.719.128-3.438.158-5.156-1.547.884-3.084 1.788-4.62 2.692-.04 1.749-.08 3.507-.14 5.256Zm4.046-9.16c-1.517-.845-3.044-1.72-4.571-2.593a767.782 767.782 0 0 0-4.601 2.652c1.527.884 3.044 1.759 4.551 2.613 1.547-.894 3.084-1.788 4.621-2.672Zm-15.806 9.21c1.468-.835 2.955-1.71 4.462-2.594 0-1.768-.01-3.546-.01-5.315a577.521 577.521 0 0 1-4.56 2.623c.029 1.758.059 3.527.108 5.285Zm3.719-9.15c-1.537-.885-3.064-1.78-4.601-2.653a310.65 310.65 0 0 1-4.572 2.593c1.537.874 3.084 1.768 4.621 2.672a573.757 573.757 0 0 0 4.552-2.613Z" fill="#00314D"/></g><path d="m47.676 21.17-.022-10.315-5.113 8.536h-1.29l-5.112-8.403V21.17h-2.756V5.61h2.378l6.18 10.314L48.01 5.61h2.378l.022 15.56h-2.734ZM58.193 21.325c-1.2 0-2.282-.26-3.245-.778a5.774 5.774 0 0 1-2.268-2.156c-.533-.934-.8-1.986-.8-3.157 0-1.17.267-2.215.8-3.134a5.774 5.774 0 0 1 2.267-2.156c.964-.52 2.045-.778 3.246-.778 1.215 0 2.304.259 3.268.778a5.619 5.619 0 0 1 2.245 2.156c.548.919.822 1.963.822 3.134 0 1.17-.274 2.223-.822 3.157a5.62 5.62 0 0 1-2.245 2.156c-.964.518-2.053.778-3.268.778Zm0-2.379c1.023 0 1.867-.34 2.534-1.022.667-.682 1-1.578 1-2.69 0-1.111-.333-2.008-1-2.69-.667-.681-1.511-1.022-2.534-1.022s-1.867.34-2.534 1.022c-.652.682-.978 1.579-.978 2.69 0 1.112.326 2.008.978 2.69.667.681 1.511 1.022 2.534 1.022ZM78.513 4.675V21.17h-2.667v-1.534c-.46.563-1.03.986-1.712 1.267-.667.282-1.408.423-2.223.423-1.14 0-2.17-.252-3.09-.756a5.47 5.47 0 0 1-2.133-2.134c-.52-.934-.779-2-.779-3.2 0-1.201.26-2.26.778-3.18a5.471 5.471 0 0 1 2.135-2.134c.918-.504 1.948-.755 3.09-.755.785 0 1.503.133 2.155.4a4.337 4.337 0 0 1 1.668 1.2v-6.09h2.778Zm-6.268 14.271c.667 0 1.267-.148 1.8-.444a3.372 3.372 0 0 0 1.267-1.312c.312-.563.467-1.215.467-1.956 0-.74-.155-1.393-.467-1.956a3.217 3.217 0 0 0-1.267-1.29 3.507 3.507 0 0 0-1.8-.466c-.667 0-1.267.155-1.8.467a3.217 3.217 0 0 0-1.268 1.289c-.311.563-.467 1.215-.467 1.956 0 .741.156 1.393.467 1.956.311.563.734 1 1.267 1.312a3.644 3.644 0 0 0 1.8.444ZM91.854 9.299v11.87H89.21v-1.511c-.444.533-1 .948-1.667 1.244a5.487 5.487 0 0 1-2.156.423c-1.586 0-2.838-.437-3.757-1.312-.904-.889-1.356-2.2-1.356-3.934v-6.78h2.779V15.7c0 1.067.237 1.867.711 2.4.49.52 1.178.779 2.067.779.993 0 1.779-.304 2.357-.912.592-.622.889-1.511.889-2.667V9.299h2.778ZM93.805 4.675h2.78V21.17h-2.78V4.675ZM103.773 9.166c1.749 0 3.083.422 4.002 1.267.933.83 1.4 2.09 1.4 3.778v6.958h-2.623v-1.445c-.341.519-.83.92-1.467 1.2-.622.267-1.378.4-2.267.4-.89 0-1.668-.147-2.334-.444-.667-.311-1.186-.733-1.556-1.267a3.317 3.317 0 0 1-.534-1.845c0-1.067.393-1.919 1.178-2.556.8-.652 2.053-.978 3.757-.978h3.067v-.178c0-.83-.252-1.467-.755-1.912-.489-.444-1.223-.667-2.201-.667-.667 0-1.326.104-1.978.312-.638.207-1.179.496-1.623.867l-1.09-2.023c.623-.475 1.371-.838 2.246-1.09a9.984 9.984 0 0 1 2.778-.377Zm-.377 10.136c.696 0 1.311-.156 1.845-.467a2.638 2.638 0 0 0 1.155-1.378v-1.378h-2.867c-1.601 0-2.401.526-2.401 1.578 0 .504.2.904.6 1.2.4.297.956.445 1.668.445ZM113.997 11.033c.8-1.245 2.208-1.867 4.224-1.867v2.645a3.532 3.532 0 0 0-.645-.067c-1.082 0-1.927.319-2.534.956-.608.622-.912 1.526-.912 2.712v5.757h-2.778V9.3h2.645v1.734Z" fill="#00314D"/></g><defs><clipPath id="a"><path fill="#fff" transform="matrix(-1 0 0 1 26.383 0)" d="M0 0h25.603v26H0z"/></clipPath></defs></svg>
|
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
// Definições seguindo:
|
|
2
|
-
// https://www.figma.com/file/JfDthOZoULYMlRJM2IQ8Oi/Design-System?node-id=665%3A163
|
|
3
|
-
|
|
4
|
-
// headings
|
|
5
|
-
$h1: (
|
|
6
|
-
size: 6rem,
|
|
7
|
-
line-height: 6rem,
|
|
8
|
-
letter-spacing: 0,
|
|
9
|
-
weight: 800
|
|
10
|
-
);
|
|
11
|
-
|
|
12
|
-
$h2: (
|
|
13
|
-
size: 3.75rem,
|
|
14
|
-
line-height: 3.75rem,
|
|
15
|
-
letter-spacing: 0,
|
|
16
|
-
weight: 700
|
|
17
|
-
);
|
|
18
|
-
|
|
19
|
-
$h3: (
|
|
20
|
-
size: 3rem,
|
|
21
|
-
line-height: 3.125rem,
|
|
22
|
-
letter-spacing: 0,
|
|
23
|
-
weight: 600
|
|
24
|
-
);
|
|
25
|
-
|
|
26
|
-
$h4: (
|
|
27
|
-
size: 2.125rem,
|
|
28
|
-
line-height: 2.5rem,
|
|
29
|
-
letter-spacing: 0,
|
|
30
|
-
weight: 800
|
|
31
|
-
);
|
|
32
|
-
|
|
33
|
-
$h5: (
|
|
34
|
-
size: 2rem,
|
|
35
|
-
line-height: 2.5rem,
|
|
36
|
-
letter-spacing: 0,
|
|
37
|
-
weight: 700
|
|
38
|
-
);
|
|
39
|
-
|
|
40
|
-
$h6: (
|
|
41
|
-
size: 1.25rem,
|
|
42
|
-
line-height: 2rem,
|
|
43
|
-
letter-spacing: 0,
|
|
44
|
-
weight: 600
|
|
45
|
-
);
|
|
46
|
-
|
|
47
|
-
// subtitles
|
|
48
|
-
$subtitle1: (
|
|
49
|
-
size: 1rem,
|
|
50
|
-
line-height: 1.75rem,
|
|
51
|
-
letter-spacing: 0,
|
|
52
|
-
weight: 700
|
|
53
|
-
);
|
|
54
|
-
|
|
55
|
-
$subtitle2: (
|
|
56
|
-
size: 0.875rem,
|
|
57
|
-
line-height: 1.375rem,
|
|
58
|
-
letter-spacing: 0,
|
|
59
|
-
weight: 600
|
|
60
|
-
);
|
|
61
|
-
|
|
62
|
-
// body
|
|
63
|
-
$body1: (
|
|
64
|
-
size: 1rem,
|
|
65
|
-
line-height: 1.5rem,
|
|
66
|
-
letter-spacing: 0,
|
|
67
|
-
weight: 500
|
|
68
|
-
);
|
|
69
|
-
|
|
70
|
-
$body2: (
|
|
71
|
-
size: 0.875rem,
|
|
72
|
-
line-height: 1.25rem,
|
|
73
|
-
letter-spacing: 0,
|
|
74
|
-
weight: 400
|
|
75
|
-
);
|
|
76
|
-
|
|
77
|
-
// overline
|
|
78
|
-
$overline: (
|
|
79
|
-
size: 0.75rem,
|
|
80
|
-
line-height: 2rem,
|
|
81
|
-
letter-spacing: 0.25rem,
|
|
82
|
-
weight: 600
|
|
83
|
-
);
|
|
84
|
-
|
|
85
|
-
// caption
|
|
86
|
-
$caption: (
|
|
87
|
-
size: 0.75rem,
|
|
88
|
-
line-height: 1.25rem,
|
|
89
|
-
letter-spacing: 0,
|
|
90
|
-
weight: 700
|
|
91
|
-
);
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
body {
|
|
2
|
-
background-color: $background-color;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
// Fields
|
|
6
|
-
.q-field--outlined .q-field__inner {
|
|
7
|
-
background-color: white;
|
|
8
|
-
border-radius: $generic-border-radius;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.q-radio__inner::before {
|
|
12
|
-
color: $primary;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
// Tabs
|
|
16
|
-
.q-tabs__arrow {
|
|
17
|
-
color: $primary;
|
|
18
|
-
}
|