cja-phoenix 1.2.1 → 1.2.4

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/module.d.mts CHANGED
@@ -1,4 +1,5 @@
1
1
  import * as _nuxt_schema from '@nuxt/schema';
2
+ export * from '../dist/runtime/types/index.js';
2
3
 
3
4
  declare const _default: _nuxt_schema.NuxtModule<_nuxt_schema.ModuleOptions, _nuxt_schema.ModuleOptions, false>;
4
5
 
package/dist/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "cja-phoenix",
3
3
  "configKey": "cja-phoenix",
4
- "version": "1.2.1",
4
+ "version": "1.2.4",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.2",
7
7
  "unbuild": "3.6.1"
package/dist/module.mjs CHANGED
@@ -1,4 +1,5 @@
1
1
  import { defineNuxtModule, createResolver, addImportsDir, addComponentsDir, addPlugin } from '@nuxt/kit';
2
+ export * from '../dist/runtime/types/index.js';
2
3
 
3
4
  const module = defineNuxtModule({
4
5
  meta: {
@@ -21,7 +22,6 @@ const module = defineNuxtModule({
21
22
  addImportsDir(resolve("./runtime/composables"));
22
23
  addImportsDir(resolve("./runtime/utils"));
23
24
  addImportsDir(resolve("./runtime/data"));
24
- addImportsDir(resolve("./runtime/types"));
25
25
  addComponentsDir({
26
26
  path: resolve("./runtime/components")
27
27
  });
@@ -0,0 +1,4 @@
1
+ export * from './Form.js';
2
+ export * from './Grid.js';
3
+ export * from './Icon.js';
4
+ export * from './JourneyConfig.js';
@@ -0,0 +1,4 @@
1
+ export * from "./Form.js";
2
+ export * from "./Grid.js";
3
+ export * from "./Icon.js";
4
+ export * from "./JourneyConfig.js";
package/dist/types.d.mts CHANGED
@@ -5,3 +5,5 @@ import type { default as Module } from './module.mjs'
5
5
  export type ModuleOptions = typeof Module extends NuxtModule<infer O> ? Partial<O> : Record<string, any>
6
6
 
7
7
  export { default } from './module.mjs'
8
+
9
+ export * from '../dist/runtime/types/index.js'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cja-phoenix",
3
- "version": "1.2.1",
3
+ "version": "1.2.4",
4
4
  "description": "Phoenix utility",
5
5
  "repository": "comparaja/phoenix",
6
6
  "license": "MIT",
@@ -1,68 +0,0 @@
1
- <template>
2
- <Teleport
3
- to="body"
4
- :disabled="viewport.isGreaterOrEquals('lg')"
5
- >
6
- <div class="btn-container">
7
- <CjaButton
8
- color="orange"
9
- :loading="loading"
10
- :icon-right="icon"
11
- @click="$emit('btn:click')"
12
- >
13
- <slot>{{ t("btn.submit") }}</slot>
14
- </CjaButton>
15
- </div>
16
- </Teleport>
17
- </template>
18
-
19
- <script setup>
20
- const { t } = useI18n();
21
- const viewport = useViewport();
22
- defineProps({
23
- loading: { type: Boolean, required: false },
24
- icon: { type: null, required: false }
25
- });
26
- defineEmits(["btn:click"]);
27
- </script>
28
-
29
- <style lang="scss" scoped>
30
- .btn-container {
31
- position: fixed;
32
- bottom: 0;
33
- left: 0;
34
- width: 100%;
35
- padding: 20px 15px;
36
- background-color: $white;
37
- display: flex;
38
- flex-direction: row;
39
- justify-content: center;
40
- box-shadow: $box-shadow-m;
41
- z-index: 2;
42
-
43
- @media screen and (min-width: $break-lg-min) {
44
- position: static;
45
- margin: 32px 0 0;
46
- padding: 0;
47
- box-shadow: none;
48
- }
49
-
50
- .cja-btn {
51
- width: 100%;
52
-
53
- @media screen and (min-width: $break-xs-min) {
54
- max-width: 200px;
55
- }
56
- }
57
- }
58
- </style>
59
-
60
- <i18n lang="json">
61
- {
62
- "pt": {
63
- "btn": {
64
- "submit": "Continuar"
65
- }
66
- }
67
- }
68
- </i18n>
@@ -1,21 +0,0 @@
1
- import type { Icon } from '../../types/Icon.js';
2
- type __VLS_Props = {
3
- loading?: boolean;
4
- icon?: Icon;
5
- };
6
- declare var __VLS_14: {};
7
- type __VLS_Slots = {} & {
8
- default?: (props: typeof __VLS_14) => any;
9
- };
10
- declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
11
- "btn:click": (...args: any[]) => void;
12
- }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
13
- "onBtn:click"?: ((...args: any[]) => any) | undefined;
14
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
15
- declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
16
- export default _default;
17
- type __VLS_WithSlots<T, S> = T & {
18
- new (): {
19
- $slots: S;
20
- };
21
- };
@@ -1,8 +0,0 @@
1
- export interface TileOption {
2
- value: any;
3
- label: string;
4
- description?: string;
5
- descriptionLong?: string;
6
- tooltip?: string;
7
- image?: string;
8
- }
File without changes