@tekkare/auriga 0.1.90 → 0.1.92

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.json CHANGED
@@ -4,5 +4,5 @@
4
4
  "compatibility": {
5
5
  "nuxt": "^3.0.0"
6
6
  },
7
- "version": "0.1.90"
7
+ "version": "0.1.92"
8
8
  }
@@ -10,7 +10,7 @@ export default defineComponent({
10
10
  name: "argDate",
11
11
  props: {
12
12
  rawDate: {
13
- type: String || Number,
13
+ type: [String, Number],
14
14
  required: true
15
15
  },
16
16
  lang: {
@@ -1,6 +1,6 @@
1
1
  declare const _default: import("vue").DefineComponent<{
2
2
  rawDate: {
3
- type: StringConstructor;
3
+ type: (StringConstructor | NumberConstructor)[];
4
4
  required: true;
5
5
  };
6
6
  lang: {
@@ -17,7 +17,7 @@ declare const _default: import("vue").DefineComponent<{
17
17
  monthToString: (month: number) => "Jan." | "Janvier" | "Jan" | "January" | "Fév." | "Février" | "Feb." | "February" | "Mar." | "Mars" | "March" | "Avr." | "Avril" | "Apr." | "April" | "Mai" | "May" | "Juin" | "Jun." | "June" | "Juil." | "Juillet" | "Jul." | "July" | "Aoû." | "Août" | "Aug." | "August" | "Sep." | "Septembre" | "September" | "Oct." | "Octobre" | "October" | "Nov." | "Novembre" | "November" | "Déc." | "Décembre" | "Dec." | "December" | undefined;
18
18
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
19
19
  rawDate: {
20
- type: StringConstructor;
20
+ type: (StringConstructor | NumberConstructor)[];
21
21
  required: true;
22
22
  };
23
23
  lang: {
@@ -41,7 +41,13 @@
41
41
  :class="['filter-icon', filtersOpen ? 'icon-rotate' : '']"
42
42
  />
43
43
  <span class="filters_collapse">{{
44
- filtersOpen ? "Hide" : "Show"
44
+ filtersOpen
45
+ ? lang === "en"
46
+ ? "Hide"
47
+ : "Masquer"
48
+ : lang === "en"
49
+ ? "Show"
50
+ : "Afficher"
45
51
  }}</span>
46
52
  </div>
47
53
  </div>
@@ -12,12 +12,8 @@
12
12
  class="oip_row v-center justify-between"
13
13
  :class="sidebarOpen !== false ? 'gap-8' : 'gap-4'"
14
14
  >
15
- <div class="oip_row v-center gap-4 flex-80">
16
- <arg-flag
17
- :iso="selectedItem.iso"
18
- :height="sidebarOpen !== false ? '16' : '14'"
19
- emoji
20
- />
15
+ <div class="oip_row v-center gap-4">
16
+ <arg-flag :iso="selectedItem.iso" height="18" emoji />
21
17
  <p v-if="sidebarOpen !== false">
22
18
  {{ langs.filter((f) => f.iso === selectedItem.iso)[0].title }}
23
19
  </p>
@@ -43,11 +39,7 @@
43
39
  class="oip_row v-center gap-4 lang-choice"
44
40
  @click="selectLang(lang)"
45
41
  >
46
- <arg-flag
47
- :iso="lang.iso"
48
- :height="sidebarOpen !== false ? '16' : '14'"
49
- emoji
50
- />
42
+ <arg-flag :iso="lang.iso" height="18" emoji />
51
43
  <p v-if="sidebarOpen !== false">
52
44
  {{ lang.title }}
53
45
  </p>
@@ -126,5 +118,5 @@ export default defineComponent({
126
118
  </script>
127
119
 
128
120
  <style scoped>
129
- .flex-80{flex-basis:85%}.width-100{width:100%}.language_container{border:none;border-radius:4px;cursor:pointer;display:flex;flex-direction:column;padding:8px;position:relative;transition:max-height .3s ease,background-color .3s linear;z-index:99}.language_container.close{background-color:transparent;max-height:42px}.language_container.open{max-height:100px}.language_container.open,.language_container.open.in-sidebar:hover,.language_container:not(.in-sidebar):hover{background:#fdfdff}.language_container.open{box-shadow:5px 5px 5px rgba(62,63,94,.06)}.language_container.in-sidebar:hover{background:var(--light)}.language_container:hover svg{color:var(--primary)!important}.lang_choice_container{background-color:#fdfdff;border-top:none!important;border:none;border-radius:4px;border-top-left-radius:0!important;border-top-right-radius:0!important;box-shadow:5px 5px 5px rgba(62,63,94,.06);display:flex;flex-direction:column;gap:4px;left:0;padding:8px 12px 10px 8px;position:absolute;right:0;top:32px;transition:max-height .3s linear,opacity .3s ease}.lang_choice_container.open{max-height:100px;opacity:1}.lang_choice_container.close{max-height:0;opacity:0}.active_lang .lang_choice_container{border-top:none!important}.lang_choice:hover{color:var(--primary)!important}.lang_choice_icon{flex-shrink:0;transition:transform .3s}.icon-rotate{transform:rotate(-180deg)}p{font-size:14px;font-style:normal;font-weight:400;line-height:160%;white-space:nowrap}.lang-choice:hover p{color:var(--primary)!important}
121
+ .justify-between{justify-content:space-between}.width-100{width:100%}.language_container{border:none;border-radius:4px;cursor:pointer;display:flex;flex-direction:column;padding:8px;position:relative;transition:max-height .3s ease,background-color .3s linear,overflow .3s linear;z-index:99}.language_container.close{background-color:transparent;max-height:42px;overflow:hidden}.language_container.open{max-height:100px;overflow:visible}.language_container.open,.language_container.open.in-sidebar:hover,.language_container:not(.in-sidebar):hover{background:#fdfdff}.language_container.open{box-shadow:5px 5px 5px rgba(62,63,94,.06)}.language_container.in-sidebar:hover{background:var(--light)}.language_container:hover svg{color:var(--primary)!important}.lang_choice_container{background-color:#fdfdff;border-top:none!important;border:none;border-radius:4px;border-top-left-radius:0!important;border-top-right-radius:0!important;box-shadow:5px 5px 5px rgba(62,63,94,.06);display:flex;flex-direction:column;gap:4px;left:0;padding:8px 12px 10px 8px;position:absolute;right:0;top:32px;transition:max-height .3s linear,opacity .3s ease}.lang_choice_container.open{max-height:100px;opacity:1}.lang_choice_container.close{max-height:0;opacity:0}.active_lang .lang_choice_container{border-top:none!important}.lang_choice:hover{color:var(--primary)!important}.lang_choice_icon{flex-shrink:0;transition:transform .3s}.icon-rotate{transform:rotate(-180deg)}p{font-size:14px;font-style:normal;font-weight:400;line-height:160%;white-space:nowrap}.lang-choice:hover p{color:var(--primary)!important}
130
122
  </style>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tekkare/auriga",
3
- "version": "0.1.90",
3
+ "version": "0.1.92",
4
4
  "description": "Aurgia is a UI kit developped by Tekkare",
5
5
  "license": "MIT",
6
6
  "type": "module",