@citizenplane/pimp 18.0.1 → 18.0.3
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/components/CpMenuItem.vue.d.ts +1 -0
- package/dist/components/CpMenuItem.vue.d.ts.map +1 -1
- package/dist/components/icons/IconAerosol.vue.d.ts.map +1 -1
- package/dist/components/icons/IconBaggageBattery.vue.d.ts.map +1 -1
- package/dist/components/icons/IconBomb.vue.d.ts.map +1 -1
- package/dist/components/icons/IconBottle.vue.d.ts.map +1 -1
- package/dist/components/icons/IconCampingStove.vue.d.ts.map +1 -1
- package/dist/components/icons/IconCarBattery.vue.d.ts.map +1 -1
- package/dist/components/icons/IconCorrosive.vue.d.ts.map +1 -1
- package/dist/components/icons/IconDeviceForbidden.vue.d.ts.map +1 -1
- package/dist/components/icons/IconECigarette.vue.d.ts.map +1 -1
- package/dist/components/icons/IconFish.vue.d.ts.map +1 -1
- package/dist/components/icons/IconGun.vue.d.ts.map +1 -1
- package/dist/components/icons/IconHammer.vue.d.ts.map +1 -1
- package/dist/components/icons/IconKnife.vue.d.ts.map +1 -1
- package/dist/components/icons/IconLighter.vue.d.ts.map +1 -1
- package/dist/components/icons/IconMatches.vue.d.ts.map +1 -1
- package/dist/components/icons/IconPills.vue.d.ts.map +1 -1
- package/dist/components/icons/IconScooter.vue.d.ts.map +1 -1
- package/dist/components/icons/IconSkull.vue.d.ts.map +1 -1
- package/dist/components/icons/IconSyringe.vue.d.ts.map +1 -1
- package/dist/components/icons/IconToothbrush.vue.d.ts.map +1 -1
- package/dist/pimp.es.js +522 -582
- package/dist/pimp.umd.js +39 -39
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/components/CpMenuItem.vue +7 -1
- package/src/components/icons/IconAerosol.vue +4 -7
- package/src/components/icons/IconBaggageBattery.vue +3 -5
- package/src/components/icons/IconBomb.vue +6 -11
- package/src/components/icons/IconBottle.vue +2 -3
- package/src/components/icons/IconCampingStove.vue +2 -3
- package/src/components/icons/IconCarBattery.vue +3 -5
- package/src/components/icons/IconCorrosive.vue +4 -7
- package/src/components/icons/IconDeviceForbidden.vue +4 -7
- package/src/components/icons/IconECigarette.vue +3 -5
- package/src/components/icons/IconFish.vue +3 -5
- package/src/components/icons/IconGun.vue +2 -3
- package/src/components/icons/IconHammer.vue +2 -3
- package/src/components/icons/IconKnife.vue +3 -5
- package/src/components/icons/IconLighter.vue +2 -3
- package/src/components/icons/IconMatches.vue +4 -7
- package/src/components/icons/IconPills.vue +2 -3
- package/src/components/icons/IconScooter.vue +3 -5
- package/src/components/icons/IconSkull.vue +4 -7
- package/src/components/icons/IconSyringe.vue +2 -3
- package/src/components/icons/IconToothbrush.vue +2 -3
- package/src/stories/CpMenuItem.stories.ts +4 -0
|
@@ -1,18 +1,15 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<svg fill="
|
|
2
|
+
<svg fill="currentColor" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg">
|
|
3
3
|
<path
|
|
4
4
|
clip-rule="evenodd"
|
|
5
|
-
d="
|
|
6
|
-
fill="currentColor"
|
|
5
|
+
d="M11.7829 9.92497C12.5216 9.06267 13.9569 8.5879 15.0036 9.48454L15.0973 9.5695C16.0337 10.4729 15.7777 11.8982 15.0622 12.7336C14.5275 13.3576 13.6288 13.776 12.7761 13.6213L5.89812 21.6506C5.53884 22.0696 4.90729 22.1189 4.48796 21.7599C4.06865 21.4007 4.0196 20.7692 4.37859 20.3498L11.2575 12.3195C10.974 11.5007 11.2486 10.5489 11.7829 9.92497ZM13.6384 11.0129C13.5505 11.0291 13.4195 11.0892 13.3024 11.2257C13.1853 11.3625 13.1447 11.5016 13.1423 11.591C13.1416 11.6176 13.1465 11.6356 13.1491 11.6476C13.1613 11.6485 13.1797 11.6506 13.2067 11.6457C13.2946 11.6296 13.4264 11.5696 13.5436 11.4328C13.6608 11.296 13.7003 11.1569 13.7028 11.0675C13.7036 11.0396 13.6987 11.0209 13.696 11.009C13.6837 11.0082 13.6649 11.008 13.6384 11.0129Z"
|
|
7
6
|
fill-rule="evenodd"
|
|
8
7
|
/>
|
|
9
8
|
<path
|
|
10
|
-
d="
|
|
11
|
-
fill="currentColor"
|
|
9
|
+
d="M13.9001 2.27555C14.1544 2.0337 14.5168 1.94296 14.8552 2.0363C15.1937 2.12975 15.4583 2.39418 15.5524 2.73258C15.9853 4.28924 16.5946 4.91223 17.2145 5.44352C17.8751 6.00964 18.845 6.65833 19.4303 8.11149C19.8488 9.15033 20.003 10.349 19.7106 11.4728C19.4102 12.6274 18.6492 13.6474 17.3639 14.257C16.865 14.4936 16.2686 14.2803 16.0319 13.7814C15.7953 13.2825 16.0077 12.6861 16.5065 12.4494C17.2417 12.1007 17.6192 11.5683 17.7751 10.9699C17.9388 10.3407 17.8671 9.58393 17.5749 8.85856C17.214 7.96301 16.7236 7.65698 15.9128 6.96208C15.3847 6.50947 14.848 5.97373 14.3825 5.15055C14.3212 5.31212 14.2653 5.48213 14.2214 5.66032C14.0892 6.19629 13.5474 6.52452 13.0114 6.39274C12.4752 6.26063 12.147 5.71799 12.279 5.1818C12.5894 3.92212 13.2573 2.88779 13.9001 2.27555Z"
|
|
12
10
|
/>
|
|
13
11
|
<path
|
|
14
|
-
d="
|
|
15
|
-
fill="currentColor"
|
|
12
|
+
d="M10.0866 5.08219C10.343 4.86061 10.6981 4.78126 11.029 4.88102C11.4069 4.99499 11.6823 5.32148 11.7321 5.71305C11.7832 6.11444 11.8712 6.44261 11.9772 6.71012C12.1806 7.22341 11.9299 7.80533 11.4167 8.00895C11.1392 8.11892 10.8421 8.09418 10.5954 7.96891C10.2495 8.81871 10.139 9.71915 10.3093 10.4894C10.4283 11.0286 10.0877 11.5626 9.54851 11.6818C9.00942 11.8008 8.47538 11.4601 8.35613 10.9211C7.91954 8.94592 8.64798 6.73191 9.98308 5.18571L10.0866 5.08219Z"
|
|
16
13
|
/>
|
|
17
14
|
</svg>
|
|
18
15
|
</template>
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<svg fill="
|
|
2
|
+
<svg fill="currentColor" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg">
|
|
3
3
|
<path
|
|
4
4
|
clip-rule="evenodd"
|
|
5
|
-
d="
|
|
6
|
-
fill="currentColor"
|
|
5
|
+
d="M16.9648 2.79004C17.5168 2.7903 17.9647 3.23803 17.9648 3.79004V6.7002C17.9646 7.25213 17.5168 7.69993 16.9648 7.7002H16.751V9.73926L18.0117 10.876C18.7017 11.4981 19.0956 12.3844 19.0957 13.3135V18.3604C19.0957 20.1722 17.6263 21.6413 15.8145 21.6416H8.18652C6.37448 21.6416 4.9043 20.1724 4.9043 18.3604V13.0566C4.90436 12.9508 4.92257 12.8487 4.95312 12.7529C5.07534 12.0379 5.431 11.3768 5.97461 10.8809L7.22168 9.74316V7.7002H7.00879C6.45664 7.7002 6.00901 7.25229 6.00879 6.7002V3.79004C6.00892 3.23787 6.45659 2.79004 7.00879 2.79004H16.9648ZM9.22168 10.1855C9.22158 10.4664 9.10289 10.7345 8.89551 10.9238L7.6543 12.0566H13.5176C14.0693 12.057 14.5172 12.5049 14.5176 13.0566V17.1387C14.5176 17.6907 14.0695 18.1383 13.5176 18.1387H6.90527V18.3604C6.90527 19.0678 7.47905 19.6416 8.18652 19.6416H15.8145C16.5217 19.6413 17.0957 19.0677 17.0957 18.3604V13.3135C17.0956 12.9511 16.9419 12.6051 16.6729 12.3623L15.082 10.9277C14.8718 10.7382 14.7511 10.4686 14.751 10.1855V7.7002H9.22168V10.1855ZM6.90527 16.1387H12.5176V14.0566H6.90527V16.1387ZM8.00879 5.7002H8.20508C8.21044 5.70006 8.2163 5.69922 8.22168 5.69922H15.751C15.7563 5.69927 15.7623 5.70011 15.7676 5.7002H15.9648V4.79004H8.00879V5.7002Z"
|
|
7
6
|
fill-rule="evenodd"
|
|
8
7
|
/>
|
|
9
8
|
</svg>
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<svg fill="
|
|
2
|
+
<svg fill="currentColor" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg">
|
|
3
3
|
<path
|
|
4
|
-
d="
|
|
5
|
-
fill="currentColor"
|
|
4
|
+
d="M20.8271 18.6025C21.3794 18.6026 21.8271 19.0503 21.8271 19.6025C21.827 20.1546 21.3793 20.6025 20.8271 20.6025H3C2.44797 20.6024 2.00017 20.1546 2 19.6025C2 19.0504 2.44786 18.6027 3 18.6025H20.8271Z"
|
|
6
5
|
/>
|
|
7
6
|
<path
|
|
8
7
|
clip-rule="evenodd"
|
|
9
|
-
d="
|
|
10
|
-
fill="currentColor"
|
|
8
|
+
d="M17.1426 3.39648C17.6947 3.39671 18.1426 3.84434 18.1426 4.39648C18.1426 4.94863 17.6947 5.39626 17.1426 5.39648H16.4531L17.1279 11.0869C17.6116 10.7959 18.1776 10.626 18.7832 10.626C20.5595 10.6262 21.9998 12.0665 22 13.8428C22 15.6192 20.5596 17.0593 18.7832 17.0596C17.4533 17.0594 16.3111 16.2527 15.8213 15.1016H8.17773C7.68783 16.2526 6.54672 17.0596 5.2168 17.0596C3.44035 17.0594 2 15.6193 2 13.8428C2.00019 12.0664 3.44047 10.6262 5.2168 10.626C6.73807 10.626 8.01172 11.6826 8.34668 13.1016H15.3535L14.3486 4.62793C14.271 3.97275 14.7826 3.39667 15.4424 3.39648H17.1426ZM5.2168 12.626C4.54504 12.6262 4.00019 13.171 4 13.8428C4 14.5147 4.54492 15.0594 5.2168 15.0596C5.88884 15.0596 6.43359 14.5148 6.43359 13.8428C6.4334 13.1709 5.88872 12.626 5.2168 12.626ZM18.7832 12.626C18.1114 12.6262 17.5656 13.171 17.5654 13.8428C17.5654 14.5147 18.1113 15.0594 18.7832 15.0596C19.455 15.0593 20 14.5147 20 13.8428C19.9998 13.1711 19.4549 12.6262 18.7832 12.626Z"
|
|
11
9
|
fill-rule="evenodd"
|
|
12
10
|
/>
|
|
13
11
|
</svg>
|
|
@@ -1,21 +1,18 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<svg fill="
|
|
2
|
+
<svg fill="currentColor" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg">
|
|
3
3
|
<path
|
|
4
4
|
clip-rule="evenodd"
|
|
5
|
-
d="
|
|
6
|
-
fill="currentColor"
|
|
5
|
+
d="M8.41016 8.32715C9.77894 8.32715 10.8887 9.43688 10.8887 10.8057C10.8883 12.1741 9.77868 13.2842 8.41016 13.2842C7.04183 13.2839 5.93206 12.1739 5.93164 10.8057C5.93164 9.43703 7.04157 8.32738 8.41016 8.32715ZM8.41016 10.29C8.12548 10.2903 7.89453 10.5209 7.89453 10.8057C7.89495 11.09 8.12574 11.3211 8.41016 11.3213C8.69477 11.3213 8.92536 11.0902 8.92578 10.8057C8.92578 10.5208 8.69503 10.29 8.41016 10.29Z"
|
|
7
6
|
fill-rule="evenodd"
|
|
8
7
|
/>
|
|
9
8
|
<path
|
|
10
9
|
clip-rule="evenodd"
|
|
11
|
-
d="
|
|
12
|
-
fill="currentColor"
|
|
10
|
+
d="M15.5889 8.32715C16.9576 8.32716 18.0674 9.43689 18.0674 10.8057C18.067 12.1741 16.9574 13.2842 15.5889 13.2842C14.2205 13.2839 13.1107 12.174 13.1104 10.8057C13.1104 9.43703 14.2203 8.32738 15.5889 8.32715ZM15.5889 10.29C15.3042 10.2903 15.0732 10.5209 15.0732 10.8057C15.0736 11.0901 15.3044 11.3211 15.5889 11.3213C15.8735 11.3213 16.1041 11.0902 16.1045 10.8057C16.1045 10.5208 15.8737 10.29 15.5889 10.29Z"
|
|
13
11
|
fill-rule="evenodd"
|
|
14
12
|
/>
|
|
15
13
|
<path
|
|
16
14
|
clip-rule="evenodd"
|
|
17
|
-
d="
|
|
18
|
-
fill="currentColor"
|
|
15
|
+
d="M12 2.18652C17.3697 2.18677 21.7227 6.5414 21.7227 11.9111V13.6357C21.7224 15.3851 20.3041 16.8037 18.5547 16.8037H18.2031V19.5205C18.2027 20.7866 17.1763 21.8133 15.9102 21.8135H8.08887C6.8229 21.8131 5.79629 20.7865 5.7959 19.5205V16.8037H5.44434C3.69514 16.8034 2.27663 15.3849 2.27637 13.6357V11.9111C2.27637 6.54139 6.63031 2.18675 12 2.18652ZM12 4.15039C7.71422 4.15062 4.23926 7.6253 4.23926 11.9111V13.6357C4.23952 14.301 4.77905 14.8415 5.44434 14.8418H6.77734C7.31907 14.8419 7.75853 15.2806 7.75879 15.8223V19.5205C7.75918 19.7026 7.90681 19.8502 8.08887 19.8506H9.50879V18.9072C9.50879 18.3654 9.94848 17.926 10.4902 17.9258C11.0321 17.9259 11.4717 18.3653 11.4717 18.9072V19.8506H12.5283V18.9072C12.5283 18.3655 12.9672 17.9262 13.5088 17.9258C14.0507 17.9258 14.4902 18.3653 14.4902 18.9072V19.8506H15.9102C16.0924 19.8504 16.2398 19.7027 16.2402 19.5205V15.8223C16.2405 15.2807 16.6802 14.8421 17.2217 14.8418H18.5547C19.2202 14.8417 19.7595 14.3012 19.7598 13.6357V11.9111C19.7598 7.62531 16.2858 4.15063 12 4.15039Z"
|
|
19
16
|
fill-rule="evenodd"
|
|
20
17
|
/>
|
|
21
18
|
</svg>
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<svg fill="
|
|
2
|
+
<svg fill="currentColor" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg">
|
|
3
3
|
<path
|
|
4
4
|
clip-rule="evenodd"
|
|
5
|
-
d="
|
|
6
|
-
fill="currentColor"
|
|
5
|
+
d="M5.38301 2.91128C5.77352 2.52077 6.40654 2.5208 6.79707 2.91128C7.18758 3.30181 7.18759 3.93482 6.79707 4.32534L6.26777 4.85366L7.27754 5.86245L7.95234 5.18862C8.34276 4.79821 8.97586 4.79842 9.36641 5.18862L18.6174 14.4396C19.5224 15.3446 19.7142 16.6892 19.1994 17.7843L21.0891 19.674C21.4796 20.0645 21.4796 20.6985 21.0891 21.089C20.6985 21.4795 20.0645 21.4795 19.674 21.089L17.7844 19.1994C16.6892 19.7142 15.3446 19.5223 14.4396 18.6173L5.18867 9.36636C4.79847 8.97582 4.79828 8.34272 5.18867 7.9523L5.86348 7.27749L4.85371 6.26773L4.32539 6.79702C3.93487 7.18752 3.30185 7.18752 2.91133 6.79702C2.52086 6.4065 2.52084 5.77347 2.91133 5.38296L5.38301 2.91128ZM7.30977 8.65933L15.8537 17.2033C16.2264 17.5759 16.8307 17.5759 17.2033 17.2033C17.5759 16.8306 17.5759 16.2263 17.2033 15.8537L8.65938 7.30972L7.30977 8.65933Z"
|
|
7
6
|
fill-rule="evenodd"
|
|
8
7
|
/>
|
|
9
8
|
</svg>
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<svg fill="
|
|
2
|
+
<svg fill="currentColor" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg">
|
|
3
3
|
<path
|
|
4
4
|
clip-rule="evenodd"
|
|
5
|
-
d="
|
|
6
|
-
fill="currentColor"
|
|
5
|
+
d="M4.24031 3.66727C5.09957 2.80811 6.4923 2.80824 7.35164 3.66727L9.32527 5.63992C10.1845 6.49925 10.1845 7.89292 9.32527 8.75223L8.10164 9.97391L8.7198 10.5921C8.75727 10.6293 8.80857 10.6506 8.8614 10.6507H11.7647C12.3482 10.6507 12.9078 10.8826 13.3204 11.2952L21.6885 19.6634C22.079 20.0539 22.0791 20.6869 21.6885 21.0774C21.298 21.4675 20.6649 21.4678 20.2745 21.0774L11.9063 12.7093C11.8688 12.6718 11.8178 12.6507 11.7647 12.6507H8.8614C8.27792 12.6506 7.71734 12.4187 7.30476 12.0061L2.31062 7.01102C1.93394 6.63423 1.92233 6.03256 2.27253 5.63992C2.28749 5.62278 2.30213 5.60451 2.31843 5.58817L4.24031 3.66727ZM5.93757 5.08133C5.85929 5.00335 5.73258 5.00323 5.65437 5.08133L4.4405 6.2952L6.69636 8.55106L7.91023 7.33817C7.98853 7.25987 7.98853 7.13228 7.91023 7.05399L5.93757 5.08133Z"
|
|
7
6
|
fill-rule="evenodd"
|
|
8
7
|
/>
|
|
9
8
|
</svg>
|
|
@@ -61,6 +61,10 @@ const meta = {
|
|
|
61
61
|
control: 'boolean',
|
|
62
62
|
description: 'Disable interactions and apply a muted style.',
|
|
63
63
|
},
|
|
64
|
+
hideLabel: {
|
|
65
|
+
control: 'boolean',
|
|
66
|
+
description: 'Hide the label and only show the leading and trailing icons.',
|
|
67
|
+
},
|
|
64
68
|
},
|
|
65
69
|
decorators: [
|
|
66
70
|
() => ({
|