@tekkare/auriga 0.1.9 → 0.1.10

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.
Files changed (37) hide show
  1. package/dist/module.json +1 -1
  2. package/dist/runtime/components/allIcons.vue +1112 -0
  3. package/dist/runtime/components/allIcons.vue.d.ts +6 -0
  4. package/dist/runtime/components/argActions.vue +39 -9
  5. package/dist/runtime/components/argActions.vue.d.ts +15 -1
  6. package/dist/runtime/components/argAdvancedSearchBar.vue.d.ts +2 -2
  7. package/dist/runtime/components/argCheckbox.vue +35 -28
  8. package/dist/runtime/components/argCheckbox.vue.d.ts +9 -1
  9. package/dist/runtime/components/argCircleAmount.vue +37 -0
  10. package/dist/runtime/components/argCircleAmount.vue.d.ts +12 -0
  11. package/dist/runtime/components/argDropdownSelect.vue +5 -19
  12. package/dist/runtime/components/argEmoji.vue +34 -0
  13. package/dist/runtime/components/argEmoji.vue.d.ts +29 -0
  14. package/dist/runtime/components/argFileBtn.vue +10 -2
  15. package/dist/runtime/components/argFileBtn.vue.d.ts +9 -0
  16. package/dist/runtime/components/argFilterCard.vue +0 -1
  17. package/dist/runtime/components/argHeader.vue +15 -7
  18. package/dist/runtime/components/argHeader.vue.d.ts +9 -0
  19. package/dist/runtime/components/argMenuLink.vue +3 -2
  20. package/dist/runtime/components/argMultipleChoice.vue +1 -1
  21. package/dist/runtime/components/argMultipleSelect.vue +29 -17
  22. package/dist/runtime/components/argMultipleSelect.vue.d.ts +8 -0
  23. package/dist/runtime/components/argRadioButtons.vue +2 -1
  24. package/dist/runtime/components/argScopeCriteria.vue +91 -0
  25. package/dist/runtime/components/argScopeCriteria.vue.d.ts +35 -0
  26. package/dist/runtime/components/argScopeHeader.vue +90 -0
  27. package/dist/runtime/components/argScopeHeader.vue.d.ts +33 -0
  28. package/dist/runtime/components/argScopeLayout.vue +61 -0
  29. package/dist/runtime/components/argScopeLayout.vue.d.ts +14 -0
  30. package/dist/runtime/components/argSidebar.vue +10 -7
  31. package/dist/runtime/components/argSidebar.vue.d.ts +9 -0
  32. package/dist/runtime/components/argSimpleLabel.vue +1 -1
  33. package/dist/runtime/components/argStyle.vue +82 -65
  34. package/dist/runtime/components/argTags.vue +1 -1
  35. package/dist/runtime/components/argTipsBox.vue +153 -0
  36. package/dist/runtime/components/argTipsBox.vue.d.ts +37 -0
  37. package/package.json +2 -1
@@ -265,6 +265,9 @@ button {
265
265
  .oip_row.gap-4 {
266
266
  gap: 4px;
267
267
  }
268
+ .oip_row.gap-6 {
269
+ gap: 4px;
270
+ }
268
271
  .oip_row.gap-8 {
269
272
  gap: 8px;
270
273
  }
@@ -277,6 +280,12 @@ button {
277
280
  .oip_row.gap-16 {
278
281
  gap: 16px;
279
282
  }
283
+ .oip_row.gap-24 {
284
+ gap: 16px;
285
+ }
286
+ .oip_row.gap-32 {
287
+ gap: 16px;
288
+ }
280
289
 
281
290
  /** BUTTONS **/
282
291
 
@@ -689,21 +698,21 @@ button {
689
698
  /*** TAGS ***/
690
699
 
691
700
  .oip_tag {
692
- padding: 4px 12px !important;
693
- background: var(--independence) !important;
694
- color: var(--pure-white) !important;
695
- font-style: normal !important;
696
- font-weight: bold;
697
- font-size: 12px !important;
698
- line-height: 14px !important;
699
- border-radius: 20px !important;
700
- border: 1px solid var(--independence) !important;
701
- height: 20px !important;
702
- width: fit-content !important;
703
- font-family: "Figtree", sans-serif !important;
701
+ padding: 4px 8px;
702
+ background: var(--independence);
703
+ color: var(--pure-white);
704
+ font-size: 12px;
705
+ font-style: normal;
706
+ font-weight: 500;
707
+ line-height: normal;
708
+ border-radius: 4px;
709
+ width: fit-content;
710
+ font-family: "Figtree", sans-serif;
711
+ display: inline-flex;
712
+ padding: 4px 8px;
704
713
  align-items: center;
705
- display: flex;
706
714
  gap: 8px;
715
+ height: 16px;
707
716
  }
708
717
  .oip_tag > svg {
709
718
  cursor: pointer;
@@ -713,48 +722,80 @@ button {
713
722
  .oip_tag.is_disabled {
714
723
  background-color: var(--pure-white) !important;
715
724
  color: var(--lavendar-grey) !important;
716
- border: 1px solid var(--lavendar-grey) !important;
717
725
  }
718
726
  .oip_tag.is_red {
719
- background: var(--red) !important;
720
- border: 1px solid var(--red) !important;
727
+ background: rgba(244, 63, 94, 0.1) !important;
728
+ color: #9f1239;
729
+ }
730
+ .oip_tag.is_pink {
731
+ background: rgba(236, 72, 153, 0.1) !important;
732
+ color: #9d174d;
733
+ }
734
+ .oip_tag.is_lilac {
735
+ background: rgba(217, 70, 239, 0.1) !important;
736
+ color: #86198f;
737
+ }
738
+ .oip_tag.is_purple {
739
+ background: rgba(168, 85, 247, 0.1) !important;
740
+ color: #6b21a8;
741
+ }
742
+ .oip_tag.is_indigo {
743
+ background: rgba(139, 92, 246, 0.1) !important;
744
+ color: #5b21b6;
745
+ }
746
+ .oip_tag.is_blue {
747
+ background: rgba(99, 102, 241, 0.1) !important;
748
+ color: #3730a3;
749
+ }
750
+ .oip_tag.is_sapphire {
751
+ background: rgba(14, 165, 233, 0.1) !important;
752
+ color: #075985;
753
+ }
754
+ .oip_tag.is_turquoise {
755
+ background: rgba(6, 182, 212, 0.1) !important;
756
+ color: #155e75;
757
+ }
758
+ .oip_tag.is_teal {
759
+ background: rgba(20, 184, 166, 0.1) !important;
760
+ color: #115e59;
761
+ }
762
+ .oip_tag.is_emerald {
763
+ background: rgba(16, 185, 129, 0.1) !important;
764
+ color: #065f46;
721
765
  }
766
+ .oip_tag.is_green {
767
+ background: rgba(34, 197, 94, 0.1) !important;
768
+ color: #166534;
769
+ }
770
+ .oip_tag.is_olive {
771
+ background: rgba(132, 204, 22, 0.1) !important;
772
+ color: #3f6212;
773
+ }
774
+ .oip_tag.is_yellow {
775
+ background: rgba(234, 179, 8, 0.1) !important;
776
+ color: #854d0e;
777
+ }
778
+ .oip_tag.is_beige {
779
+ background: rgba(245, 158, 11, 0.1) !important;
780
+ color: #92400e;
781
+ }
782
+ .oip_tag.is_coral {
783
+ background: rgba(249, 115, 22, 0.1) !important;
784
+ color: #9a3412;
785
+ }
786
+
722
787
  .oip_tag.is_orange {
723
788
  background: var(--orange) !important;
724
789
  border: 1px solid var(--orange) !important;
725
790
  }
726
- .oip_tag.is_yellow {
727
- background: var(--yellow) !important;
728
- border: 1px solid var(--yellow) !important;
729
- }
730
791
  .oip_tag.is_lime {
731
792
  background: var(--lime) !important;
732
793
  border: 1px solid var(--lime) !important;
733
794
  }
734
- .oip_tag.is_green {
735
- background: var(--green) !important;
736
- border: 1px solid var(--green) !important;
737
- }
738
795
  .oip_tag.is_cyan {
739
796
  background: var(--cyan) !important;
740
797
  border: 1px solid var(--cyan) !important;
741
798
  }
742
- .oip_tag.is_blue {
743
- background: var(--blue) !important;
744
- border: 1px solid var(--blue) !important;
745
- }
746
- .oip_tag.is_navy {
747
- background: var(--navy) !important;
748
- border: 1px solid var(--navy) !important;
749
- }
750
- .oip_tag.is_purple {
751
- background: var(--purple) !important;
752
- border: 1px solid var(--purple) !important;
753
- }
754
- .oip_tag.is_pink {
755
- background: var(--pink) !important;
756
- border: 1px solid var(--pink) !important;
757
- }
758
799
  .oip_tag.is_primary {
759
800
  background: var(--primary) !important;
760
801
  border: 1px solid var(--primary) !important;
@@ -777,12 +818,6 @@ button {
777
818
  }
778
819
  .oip_tag.is_light_grey {
779
820
  background: var(--background) !important;
780
- border-radius: 10px !important;
781
- border: 1px solid var(--background) !important;
782
- padding: 4px 12px !important;
783
- font-weight: 400 !important;
784
- font-size: 14px !important;
785
- line-height: 16px !important;
786
821
  color: var(--independence) !important;
787
822
  }
788
823
  .oip_tag.is_light_grey svg {
@@ -791,32 +826,14 @@ button {
791
826
  }
792
827
  .oip_tag.is_light_red {
793
828
  background: rgba(251, 70, 84, 0.1) !important;
794
- border-radius: 10px !important;
795
- border: 1px solid transparent !important;
796
- padding: 4px 12px !important;
797
- font-weight: 400 !important;
798
- font-size: 14px !important;
799
- line-height: 16px !important;
800
829
  color: var(--alert) !important;
801
830
  }
802
831
  .oip_tag.is_light_green {
803
832
  background: rgba(50, 209, 117, 0.1) !important;
804
- border-radius: 10px !important;
805
- border: 1px solid transparent !important;
806
- padding: 4px 12px !important;
807
- font-weight: 400 !important;
808
- font-size: 14px !important;
809
- line-height: 16px !important;
810
833
  color: var(--success) !important;
811
834
  }
812
835
  .oip_tag.is_light_primary {
813
836
  background: #e9f1ff !important;
814
- border-radius: 10px !important;
815
- border: 1px solid transparent !important;
816
- padding: 4px 12px !important;
817
- font-weight: 400 !important;
818
- font-size: 14px !important;
819
- line-height: 16px !important;
820
837
  color: var(--primary) !important;
821
838
  }
822
839
  .oip_tag .oip_tag__close {
@@ -898,7 +915,7 @@ button {
898
915
  }
899
916
  .oip_card .oip_card__header .oip_card__header_buttons {
900
917
  display: flex;
901
- column-gap: 8px;
918
+ column-li: 8px;
902
919
  }
903
920
  @media screen and (max-width: 1000px) {
904
921
  .oip_card .oip_card__header .oip_card__header_buttons .oip_download_button,
@@ -16,7 +16,7 @@ export default defineComponent({
16
16
  name: "argTags",
17
17
  components: { argIcon, argStyle },
18
18
  props: {
19
- setStyle: { type: String, default: "primary" },
19
+ setStyle: { type: String, default: "light_grey" },
20
20
  haveClose: { type: Boolean, default: false }
21
21
  },
22
22
  emits: ["onClose"],
@@ -0,0 +1,153 @@
1
+ <template>
2
+ <div
3
+ v-show="displayTip"
4
+ class="arg_tips_box"
5
+ :class="showMore ? 'arg_tips_open' : 'arg_tips_collapse'"
6
+ >
7
+ <div class="tips_visible_content">
8
+ <div class="oip_row v-center gap-8">
9
+ <arg-emoji emoji-size="20" emoji-name="Lightbulb" />
10
+ <slot name="Text" />
11
+ </div>
12
+ <div v-if="haveClose" class="tip_action" @click="displayTip = false">
13
+ {{ tipsLang === "fr" ? "Fermer" : "Close" }}
14
+ </div>
15
+ <div
16
+ v-else-if="haveMore"
17
+ class="oip_row v-start gap-6 tip_action"
18
+ @click="showMore = !showMore"
19
+ >
20
+ <arg-icon
21
+ name="CaretDown"
22
+ size="20"
23
+ :class="['action-icon', showMore ? 'icon-rotate' : '']"
24
+ />
25
+ <p>
26
+ {{
27
+ tipsLang === "fr"
28
+ ? showMore
29
+ ? "Réduire"
30
+ : "En savoir plus"
31
+ : showMore
32
+ ? "Hide"
33
+ : "Learn more"
34
+ }}
35
+ </p>
36
+ </div>
37
+ </div>
38
+ <div :class="['more_tips', showMore ? 'arg_more_tips' : 'arg_hide_more']">
39
+ <slot name="More" />
40
+ </div>
41
+ </div>
42
+ </template>
43
+
44
+ <script>
45
+ import {
46
+ ref,
47
+ defineComponent
48
+ } from "vue";
49
+ import argEmoji from "./argEmoji.vue";
50
+ import argIcon from "./argIcon.vue";
51
+ export default defineComponent({
52
+ name: "argInfoBox",
53
+ components: { argEmoji, argIcon },
54
+ props: {
55
+ haveClose: {
56
+ type: Boolean,
57
+ default: false
58
+ },
59
+ haveMore: {
60
+ type: Boolean,
61
+ default: false
62
+ },
63
+ tipsLang: {
64
+ type: String,
65
+ default: "en",
66
+ validator: (value) => {
67
+ return ["en", "fr"].includes(value);
68
+ }
69
+ }
70
+ },
71
+ setup(props, { emit }) {
72
+ const displayTip = ref(true);
73
+ const showMore = ref(false);
74
+ return {
75
+ displayTip,
76
+ showMore
77
+ };
78
+ }
79
+ });
80
+ </script>
81
+
82
+ <style scoped>
83
+ .arg_tips_box {
84
+ padding: 16px;
85
+ border-radius: 8px;
86
+ border: 1px solid var(--base-dividers, #ececf2);
87
+ background: rgba(253, 253, 255, 0.8);
88
+ font-size: 14px;
89
+ font-style: normal;
90
+ font-weight: 400;
91
+ line-height: 160%;
92
+ transition: all ease 0.5s;
93
+ }
94
+
95
+ .arg_tips_open {
96
+ max-height: 5000px;
97
+ overflow: visible;
98
+ }
99
+
100
+ .arg_tips_collapse {
101
+ max-height: 32px;
102
+ overflow: hidden;
103
+ }
104
+
105
+ .tips_visible_content {
106
+ display: flex;
107
+ align-items: center;
108
+ gap: 8px;
109
+ justify-content: space-between;
110
+ align-self: stretch;
111
+ }
112
+
113
+ .lightbulb_icon {
114
+ font-size: 20px;
115
+ font-style: normal;
116
+ font-weight: 900;
117
+ line-height: normal;
118
+ }
119
+
120
+ .tip_action {
121
+ cursor: pointer;
122
+ font-size: 14px;
123
+ font-style: normal;
124
+ font-weight: 400;
125
+ line-height: 160%;
126
+ padding: 6px;
127
+ border-radius: 4px;
128
+ }
129
+
130
+ .tip_action:hover {
131
+ background: var(--background) !important;
132
+ }
133
+
134
+ .action-icon {
135
+ transition: transform 0.5s;
136
+ }
137
+
138
+ .icon-rotate {
139
+ transform: rotateX(180deg);
140
+ }
141
+
142
+ .more_tips {
143
+ transition: all ease 0.5s;
144
+ padding-left: 30px;
145
+ }
146
+ .arg_hide_more {
147
+ visibility: hidden;
148
+ }
149
+
150
+ .arg_more_tips {
151
+ visibility: visible;
152
+ }
153
+ </style>
@@ -0,0 +1,37 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ haveClose: {
3
+ type: BooleanConstructor;
4
+ default: boolean;
5
+ };
6
+ haveMore: {
7
+ type: BooleanConstructor;
8
+ default: boolean;
9
+ };
10
+ tipsLang: {
11
+ type: StringConstructor;
12
+ default: string;
13
+ validator: (value: unknown) => boolean;
14
+ };
15
+ }, {
16
+ displayTip: import("vue").Ref<boolean>;
17
+ showMore: import("vue").Ref<boolean>;
18
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
19
+ haveClose: {
20
+ type: BooleanConstructor;
21
+ default: boolean;
22
+ };
23
+ haveMore: {
24
+ type: BooleanConstructor;
25
+ default: boolean;
26
+ };
27
+ tipsLang: {
28
+ type: StringConstructor;
29
+ default: string;
30
+ validator: (value: unknown) => boolean;
31
+ };
32
+ }>>, {
33
+ haveClose: boolean;
34
+ haveMore: boolean;
35
+ tipsLang: string;
36
+ }, {}>;
37
+ export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tekkare/auriga",
3
- "version": "0.1.9",
3
+ "version": "0.1.10",
4
4
  "description": "Aurgia is a UI kit developped by Tekkare",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -30,6 +30,7 @@
30
30
  "patch": "nuxt-module-build && npm version patch && npm publish"
31
31
  },
32
32
  "dependencies": {
33
+ "@esbuild/darwin-x64": "^0.19.8",
33
34
  "@nuxt/kit": "^3.7.3",
34
35
  "apexcharts": "^3.43.0",
35
36
  "vue-apexcharts": "^1.6.2",