@gitlab/ui 32.56.0 → 32.60.0
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/CHANGELOG.md +30 -0
- package/dist/components/base/breadcrumb/breadcrumb.js +56 -4
- package/dist/components/base/table/table.documentation.js +1 -5
- package/dist/utility_classes.css +1 -1
- package/dist/utility_classes.css.map +1 -1
- package/documentation/documented_stories.js +1 -0
- package/package.json +1 -1
- package/src/components/base/breadcrumb/breadcrumb.spec.js +64 -1
- package/src/components/base/breadcrumb/breadcrumb.stories.js +22 -0
- package/src/components/base/breadcrumb/breadcrumb.vue +71 -3
- package/src/components/base/table/table.documentation.js +0 -3
- package/src/components/base/table/table.stories.js +85 -71
- package/src/scss/utilities.scss +809 -93
- package/src/scss/utility-mixins/sizing.scss +27 -3
- package/src/scss/utility-mixins/spacing.scss +399 -2
- package/src/scss/utility-mixins/typography.scss +4 -0
- package/dist/components/base/table/examples/index.js +0 -19
- package/dist/components/base/table/examples/table.basic.example.js +0 -59
- package/dist/components/base/table/examples/table.custom_fields.example.js +0 -66
- package/src/components/base/table/examples/index.js +0 -22
- package/src/components/base/table/examples/table.basic.example.vue +0 -32
- package/src/components/base/table/examples/table.custom_fields.example.vue +0 -43
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
<script>
|
|
2
|
-
export default {
|
|
3
|
-
fields: [
|
|
4
|
-
{
|
|
5
|
-
key: 'column_one',
|
|
6
|
-
label: 'Column One',
|
|
7
|
-
},
|
|
8
|
-
{
|
|
9
|
-
key: 'col_2',
|
|
10
|
-
label: 'Styled Column 2',
|
|
11
|
-
},
|
|
12
|
-
{
|
|
13
|
-
key: 'custom_markup',
|
|
14
|
-
label: 'Styled Virtual Column',
|
|
15
|
-
},
|
|
16
|
-
],
|
|
17
|
-
items: [
|
|
18
|
-
{
|
|
19
|
-
column_one: 'test',
|
|
20
|
-
col_2: 1234,
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
column_one: 'test2',
|
|
24
|
-
col_2: 5678,
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
column_one: 'test3',
|
|
28
|
-
col_2: 9101,
|
|
29
|
-
},
|
|
30
|
-
],
|
|
31
|
-
};
|
|
32
|
-
</script>
|
|
33
|
-
|
|
34
|
-
<template>
|
|
35
|
-
<gl-table :items="$options.items" :fields="$options.fields">
|
|
36
|
-
<template #cell(col_2)="{ value }">
|
|
37
|
-
<span class="gl-font-weight-bold gl-text-green-500">{{ value }}</span>
|
|
38
|
-
</template>
|
|
39
|
-
<template #cell(custom_markup)="{ index }">
|
|
40
|
-
<span class="gl-font-style-italic gl-text-red-500">Index: {{ index + 1 }}</span>
|
|
41
|
-
</template>
|
|
42
|
-
</gl-table>
|
|
43
|
-
</template>
|