@appscode/design-system 1.0.43-alpha.211 → 1.0.43-alpha.213
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/components/_ac-tags.scss +3 -0
- package/package.json +1 -1
- package/vue-components/v3/content/ContentHeader.vue +2 -1
- package/vue-components/v3/content/ContentTable.vue +3 -0
- package/vue-components/v3/table/Table.vue +7 -1
- package/vue-components/v3/table/TableRow.vue +1 -1
- package/vue-components/v3/tag/Tag.vue +1 -1
package/components/_ac-tags.scss
CHANGED
package/package.json
CHANGED
|
@@ -4,9 +4,10 @@
|
|
|
4
4
|
<div class="ac-cheader-left">
|
|
5
5
|
<!-- title -->
|
|
6
6
|
<div class="ac-content-title">
|
|
7
|
-
<h6>
|
|
7
|
+
<h6 class="is-flex">
|
|
8
8
|
<slot name="header-icon" />
|
|
9
9
|
{{ headerTitle }}
|
|
10
|
+
<slot name="title-right-actions" />
|
|
10
11
|
</h6>
|
|
11
12
|
<p v-if="headerSubTitle">{{ headerSubTitle }}</p>
|
|
12
13
|
</div>
|
|
@@ -7,6 +7,9 @@
|
|
|
7
7
|
:header-sub-title="tableSubTitle"
|
|
8
8
|
:class="{ 'pl-0 pr-0': removeTableHeaderPadding }"
|
|
9
9
|
>
|
|
10
|
+
<template #title-right-actions>
|
|
11
|
+
<slot name="title-right-actions" />
|
|
12
|
+
</template>
|
|
10
13
|
<slot name="content-left-controls" />
|
|
11
14
|
<header-item>
|
|
12
15
|
<search-bar v-if="searchable" @search="updateSearchText" />
|
|
@@ -2,13 +2,15 @@
|
|
|
2
2
|
<table-container ref="ac-table-container" @scroller="handleScroller">
|
|
3
3
|
<table
|
|
4
4
|
ref="ac-table"
|
|
5
|
-
class="table ac-table
|
|
5
|
+
class="table ac-table"
|
|
6
6
|
:class="{
|
|
7
7
|
'is-fullwidth':
|
|
8
8
|
!isDynamicWidthTable ||
|
|
9
9
|
isFullTableLoaderActive ||
|
|
10
10
|
isTableEmpty ||
|
|
11
11
|
isLoaderActive,
|
|
12
|
+
'ac-striped': !columnStriped,
|
|
13
|
+
'ac-label-texted': columnStriped,
|
|
12
14
|
}"
|
|
13
15
|
>
|
|
14
16
|
<thead>
|
|
@@ -144,6 +146,10 @@ export default defineComponent({
|
|
|
144
146
|
type: Number,
|
|
145
147
|
default: 1920,
|
|
146
148
|
},
|
|
149
|
+
columnStriped: {
|
|
150
|
+
type: Boolean,
|
|
151
|
+
default: false,
|
|
152
|
+
},
|
|
147
153
|
},
|
|
148
154
|
emits: ["sort", "scroller"],
|
|
149
155
|
components: {
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
<table-cell v-if="collapsible">
|
|
41
41
|
<collapsible-button
|
|
42
42
|
@click.stop="toggleCollapse"
|
|
43
|
-
modifier-classes="is-square is-
|
|
43
|
+
modifier-classes="is-square is-light height-20 width-20 is-rounded is-size-7"
|
|
44
44
|
:icon-class="isCollapsed ? 'chevron-right' : 'chevron-down'"
|
|
45
45
|
/>
|
|
46
46
|
</table-cell>
|