@appscode/design-system 2.7.17 → 2.17.18

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appscode/design-system",
3
- "version": "2.7.17",
3
+ "version": "2.17.18",
4
4
  "description": "A design system for Appscode websites and dashboards made using Bulma",
5
5
  "main": "main.scss",
6
6
  "scripts": {
@@ -0,0 +1,11 @@
1
+ <template>
2
+ <svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 20 20">
3
+ <!-- Icon from HeroIcons by Refactoring UI Inc - https://github.com/tailwindlabs/heroicons/blob/master/LICENSE -->
4
+ <path
5
+ fill="currentColor"
6
+ fill-rule="evenodd"
7
+ d="M7.793 2.232a.75.75 0 0 1-.025 1.06L3.622 7.25h10.003a5.375 5.375 0 0 1 0 10.75H10.75a.75.75 0 0 1 0-1.5h2.875a3.875 3.875 0 0 0 0-7.75H3.622l4.146 3.957a.75.75 0 0 1-1.036 1.085l-5.5-5.25a.75.75 0 0 1 0-1.085l5.5-5.25a.75.75 0 0 1 1.06.025"
8
+ clip-rule="evenodd"
9
+ />
10
+ </svg>
11
+ </template>
@@ -4,7 +4,7 @@ import ArrowIcon from "../icons/ArrowIcon.vue";
4
4
  import AcButton from "../button/Button.vue";
5
5
  import HeaderItem from "../header/HeaderItem.vue";
6
6
  import HeaderItems from "../header/HeaderItems.vue";
7
- import HeroiconsArrowUturnLeft20Solid from "~icons/heroicons/arrow-uturn-left-20-solid.svg";
7
+ import ArrowUturnLeft from "../icons/ArrowUturnLeft.vue";
8
8
 
9
9
  interface Props {
10
10
  title?: string;
@@ -41,14 +41,8 @@ function handleBack() {
41
41
  :class="{ 'mb-8': resetStyle }"
42
42
  >
43
43
  <header-items>
44
- <button
45
- v-if="hasBackButton"
46
- title="Back"
47
- class="ac-back-button"
48
- @click="handleBack"
49
- data-testid="back-button"
50
- >
51
- <HeroiconsArrowUturnLeft20Solid />
44
+ <button v-if="hasBackButton" title="Back" class="ac-back-button" @click="handleBack">
45
+ <ArrowUturnLeft />
52
46
  </button>
53
47
  <header-item>
54
48
  <div v-if="custom">
@@ -62,7 +56,11 @@ function handleBack() {
62
56
  <!-- Add buttons here -->
63
57
  <div class="buttons is-right">
64
58
  <slot name="header-buttons" />
65
- <AcButton modifier-classes="is-white" v-if="isExpandable" @click="isOpen = !isOpen">
59
+ <AcButton
60
+ modifier-classes="width-32 height-32 is-rounded-50 b-1 p-0"
61
+ v-if="isExpandable"
62
+ @click="isOpen = !isOpen"
63
+ >
66
64
  <ArrowIcon :direction="isOpen ? 'down' : 'up'" />
67
65
  </AcButton>
68
66
  </div>