@gitlab/ui 36.1.0 → 36.5.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.
Files changed (41) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/dist/components/base/popover/popover.documentation.js +1 -23
  3. package/dist/components/base/popover/popover.js +10 -0
  4. package/dist/components/charts/single_stat/single_stat.documentation.js +1 -4
  5. package/dist/components/regions/empty_state/empty_state.js +3 -2
  6. package/dist/utility_classes.css +1 -1
  7. package/dist/utility_classes.css.map +1 -1
  8. package/documentation/documented_stories.js +2 -0
  9. package/package.json +2 -2
  10. package/src/components/base/popover/popover.documentation.js +0 -25
  11. package/src/components/base/popover/popover.stories.js +78 -74
  12. package/src/components/base/popover/popover.vue +8 -0
  13. package/src/components/charts/single_stat/single_stat.documentation.js +0 -2
  14. package/src/components/charts/single_stat/single_stat.md +0 -2
  15. package/src/components/charts/single_stat/single_stat.stories.js +73 -80
  16. package/src/components/regions/empty_state/empty_state.spec.js +49 -0
  17. package/src/components/regions/empty_state/empty_state.vue +11 -8
  18. package/src/scss/utilities.scss +28 -0
  19. package/src/scss/utility-mixins/color.scss +4 -0
  20. package/src/scss/utility-mixins/grid.scss +4 -0
  21. package/src/scss/utility-mixins/spacing.scss +6 -0
  22. package/dist/components/base/popover/examples/index.js +0 -25
  23. package/dist/components/base/popover/examples/popover.basic.example.js +0 -38
  24. package/dist/components/base/popover/examples/popover.loading.example.js +0 -38
  25. package/dist/components/base/popover/examples/popover.notitle.example.js +0 -38
  26. package/dist/components/charts/single_stat/examples/index.js +0 -32
  27. package/dist/components/charts/single_stat/examples/single_stat.badge.example.js +0 -38
  28. package/dist/components/charts/single_stat/examples/single_stat.hover.example.js +0 -38
  29. package/dist/components/charts/single_stat/examples/single_stat.meta_icon.example.js +0 -38
  30. package/dist/components/charts/single_stat/examples/single_stat.simple.example.js +0 -38
  31. package/dist/components/charts/single_stat/examples/single_stat.title_icon.example.js +0 -38
  32. package/src/components/base/popover/examples/index.js +0 -29
  33. package/src/components/base/popover/examples/popover.basic.example.vue +0 -13
  34. package/src/components/base/popover/examples/popover.loading.example.vue +0 -15
  35. package/src/components/base/popover/examples/popover.notitle.example.vue +0 -12
  36. package/src/components/charts/single_stat/examples/index.js +0 -38
  37. package/src/components/charts/single_stat/examples/single_stat.badge.example.vue +0 -31
  38. package/src/components/charts/single_stat/examples/single_stat.hover.example.vue +0 -7
  39. package/src/components/charts/single_stat/examples/single_stat.meta_icon.example.vue +0 -10
  40. package/src/components/charts/single_stat/examples/single_stat.simple.example.vue +0 -7
  41. package/src/components/charts/single_stat/examples/single_stat.title_icon.example.vue +0 -7
@@ -126,6 +126,8 @@ export const setupStorybookReadme = () =>
126
126
  'GlNav',
127
127
  'GlNavItem',
128
128
  'GlNavItemDropdown',
129
+ 'GlPopover',
130
+ 'GlSingleStat',
129
131
  ],
130
132
  components: {
131
133
  GlComponentDocumentation,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gitlab/ui",
3
- "version": "36.1.0",
3
+ "version": "36.5.0",
4
4
  "description": "GitLab UI Components",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",
@@ -84,7 +84,7 @@
84
84
  "@babel/preset-env": "^7.10.2",
85
85
  "@gitlab/eslint-plugin": "10.0.2",
86
86
  "@gitlab/stylelint-config": "4.0.0",
87
- "@gitlab/svgs": "2.2.0",
87
+ "@gitlab/svgs": "2.5.0",
88
88
  "@rollup/plugin-commonjs": "^11.1.0",
89
89
  "@rollup/plugin-node-resolve": "^7.1.3",
90
90
  "@rollup/plugin-replace": "^2.3.2",
@@ -1,28 +1,3 @@
1
- import examples from './examples';
2
-
3
1
  export default {
4
2
  followsDesignSystem: true,
5
- examples,
6
- bootstrapComponent: 'b-popover',
7
- bootstrapPropsInfo: {
8
- target: {
9
- additionalInfo:
10
- 'Element string ID, or a reference to an element or component, that you want to trigger the popover.',
11
- required: true,
12
- },
13
- triggers: {
14
- enum: 'triggerVariantOptions',
15
- },
16
- placement: {
17
- enum: 'popoverPlacements',
18
- },
19
- boundary: {
20
- additionalInfo:
21
- '"scrollParent", "viewport", "window", or a reference to an HTML element. This is the container that the popover will be constrained to visually.You may need to change this if your target element is in a small container with overflow scroll',
22
- },
23
- container: {
24
- additionalInfo:
25
- 'Specify container as null (default, appends to <body>) to avoid rendering problems in more complex components (like input groups, button groups, etc). You can use container to optionally specify a different element to append the popover to.',
26
- },
27
- },
28
3
  };
@@ -1,8 +1,8 @@
1
- import { withKnobs, select, text } from '@storybook/addon-knobs';
2
1
  import { GlPopover, GlButton } from '../../../index';
3
- import { documentedStoriesOf } from '../../../../documentation/documented_stories';
4
2
  import { popoverPlacements } from '../../../utils/constants';
5
3
 
4
+ const defaultValue = (prop) => GlPopover.props[prop].default;
5
+
6
6
  const components = { GlPopover, GlButton };
7
7
 
8
8
  const contentString = `
@@ -11,84 +11,88 @@ const contentString = `
11
11
  massa ac, porta condimentum libero. Ut id lacus tristique, egestas arcu non, molestie nisi.
12
12
  `;
13
13
 
14
- const template = `
15
- <div class="gl-display-flex gl-justify-content-center gl-p-6">
16
- <gl-button id="pop-top">{{placement}}</gl-button>
17
- <gl-popover target="pop-top"
18
- triggers="hover focus"
14
+ const getTemplate = (id, slots = '') => `
15
+ <div style="height:400px;" class="gl-display-flex gl-justify-content-center gl-align-items-center">
16
+ <gl-button id="${id}">{{placement}}</gl-button>
17
+ <gl-popover
18
+ target="${id}"
19
+ :triggers="triggers"
19
20
  :title="title"
20
21
  :placement="placement"
22
+ :show-close-button="showCloseButton"
21
23
  content="${contentString}"
22
- data-testid="popover-with-props"
23
- show
24
- />
25
- </div>
26
- `;
24
+ data-testid="${id}"
25
+ :show="$options.viewMode !== 'docs'">${slots}</gl-popover>
26
+ </div>`;
27
27
 
28
- const scopedSlotTemplate = `
29
- <div class="gl-display-flex gl-justify-content-center gl-p-6">
30
- <gl-button id="pop-top-two" data-testid="popover-button-click">{{placement}}</gl-button>
31
- <gl-popover target="pop-top-two"
32
- triggers="click"
33
- :placement="placement"
34
- content="${contentString}"
35
- >
36
- <template #title>
37
- <span data-testid="popover-title">Popover title</span>
38
- </template>
39
- </gl-popover>
40
- </div>
41
- `;
28
+ const generateProps = ({
29
+ placement = popoverPlacements.top,
30
+ title = 'Popover',
31
+ triggers = defaultValue('triggers'),
32
+ cssClasses = defaultValue('cssClasses'),
33
+ showCloseButton = defaultValue('showCloseButton'),
34
+ } = {}) => ({
35
+ placement,
36
+ title,
37
+ triggers,
38
+ cssClasses,
39
+ showCloseButton,
40
+ });
41
+
42
+ export const Default = (_args, { viewMode, argTypes }) => ({
43
+ viewMode,
44
+ components,
45
+ props: Object.keys(argTypes),
46
+ template: getTemplate('popover-with-props'),
47
+ });
48
+ Default.args = generateProps();
42
49
 
43
- function generateProps({ placement = popoverPlacements.top, title = 'Popover', triggers } = {}) {
44
- return {
50
+ export const WithCloseButton = (_args, { viewMode, argTypes }) => ({
51
+ viewMode,
52
+ components,
53
+ props: Object.keys(argTypes),
54
+ template: getTemplate('popover-with-close-button'),
55
+ });
56
+ WithCloseButton.args = generateProps({
57
+ showCloseButton: true,
58
+ });
59
+
60
+ export const OnClick = (_args, { viewMode, argTypes }) => ({
61
+ viewMode,
62
+ components,
63
+ props: Object.keys(argTypes),
64
+ template: getTemplate(
65
+ 'popover-button-click',
66
+ `
67
+ <template #title>
68
+ <span data-testid="popover-title">Popover title</span>
69
+ </template>
70
+ `
71
+ ),
72
+ });
73
+ OnClick.args = generateProps({
74
+ triggers: 'click',
75
+ });
76
+ OnClick.parameters = {
77
+ storyshots: { disable: true },
78
+ };
79
+
80
+ export default {
81
+ title: 'base/popover',
82
+ component: GlPopover,
83
+ parameters: {
84
+ knobs: { disable: true },
85
+ bootstrapComponent: 'b-popover',
86
+ },
87
+ argTypes: {
45
88
  placement: {
46
- type: String,
47
- default: select('placement', popoverPlacements, placement),
89
+ options: Object.values(popoverPlacements),
90
+ control: {
91
+ type: 'select',
92
+ },
48
93
  },
49
94
  title: {
50
- type: String,
51
- default: text('title', title),
95
+ control: { type: 'text' },
52
96
  },
53
- triggers: {
54
- type: String,
55
- default: text('hover focus', triggers),
56
- },
57
- };
58
- }
59
-
60
- documentedStoriesOf('base/popover', '')
61
- .addDecorator(withKnobs)
62
- .add('default', () => ({
63
- components,
64
- template,
65
- props: generateProps(),
66
- }))
67
- .add('with close button', () => ({
68
- components,
69
- template: `
70
- <div class="gl-display-flex gl-justify-content-center gl-p-6">
71
- <gl-button id="pop-with-close-button">{{placement}}</gl-button>
72
- <gl-popover
73
- target="pop-with-close-button"
74
- data-testid="popover-with-close-button"
75
- triggers="hover focus"
76
- :title="title"
77
- :placement="placement"
78
- content="${contentString}"
79
- show
80
- show-close-button
81
- />
82
- </div>
83
- `,
84
- props: generateProps(),
85
- }))
86
- .add(
87
- 'on click',
88
- () => ({
89
- components,
90
- template: scopedSlotTemplate,
91
- props: generateProps(),
92
- }),
93
- { storyshots: false }
94
- );
97
+ },
98
+ };
@@ -18,6 +18,11 @@ export default {
18
18
  required: false,
19
19
  default: () => [],
20
20
  },
21
+ /**
22
+ * Space-separated triggers for the popover.
23
+ *
24
+ * @values click, hover, focus, manual
25
+ */
21
26
  triggers: {
22
27
  type: String,
23
28
  required: false,
@@ -45,6 +50,9 @@ export default {
45
50
  methods: {
46
51
  close(e) {
47
52
  this.$refs[popoverRefName].doClose();
53
+ /**
54
+ * Emitted when the close button is clicked (requires showCloseButton to be `true`).
55
+ */
48
56
  this.$emit('close-button-clicked', e);
49
57
  },
50
58
  },
@@ -1,7 +1,5 @@
1
- import examples from './examples';
2
1
  import description from './single_stat.md';
3
2
 
4
3
  export default {
5
- examples,
6
4
  description,
7
5
  };
@@ -1,5 +1,3 @@
1
- ### Single Stat
2
-
3
1
  The single stat component is used to show a single value. The color of the meta icon / badge is
4
2
  determined by the **variant** prop, which can be one of "success", "warning", "danger", "info",
5
3
  "neutral" or "muted" (default).
@@ -1,100 +1,93 @@
1
1
  import iconSpriteInfo from '@gitlab/svgs/dist/icons.json';
2
- import { withKnobs, text, select, boolean, number } from '@storybook/addon-knobs';
3
2
  import { GlSingleStat } from '../../../charts';
4
- import { documentedStoriesOf } from '../../../../documentation/documented_stories';
5
3
  import { badgeVariantOptions } from '../../../utils/constants';
6
4
  import readme from './single_stat.md';
7
5
 
8
- const components = {
9
- GlSingleStat,
10
- };
11
-
12
- const template = `
13
- <gl-single-stat
14
- :title="title"
15
- :value="value"
16
- :unit="unit"
17
- :variant="variant"
18
- :meta-text="metaText"
19
- :meta-icon="metaIcon"
20
- :title-icon="titleIcon"
21
- :should-animate="shouldAnimate"
22
- :animation-decimal-places="animationDecimalPlaces"
23
- />
24
- `;
25
-
26
6
  const generateProps = ({
27
7
  variant = GlSingleStat.props.variant.default,
28
8
  title = 'Single stat',
29
9
  value = '100',
30
- unit = null,
31
- metaText = null,
10
+ unit = '',
11
+ metaText = '',
32
12
  metaIcon = null,
33
13
  titleIcon = null,
34
14
  shouldAnimate = false,
35
15
  animationDecimalPlaces = 0,
36
16
  } = {}) => ({
37
- variant: {
38
- type: String,
39
- default: select('variant', Object.values(badgeVariantOptions), variant),
40
- },
41
- title: {
42
- type: String,
43
- default: text('title', title),
44
- },
45
- value: {
46
- type: String,
47
- default: text('value', value),
48
- },
49
- unit: {
50
- type: [String, Number],
51
- default: text('unit', unit),
52
- },
53
- metaText: {
54
- type: String,
55
- default: text('metaText', metaText),
56
- },
57
- metaIcon: {
58
- type: String,
59
- default: select('metaIcon', ['', ...iconSpriteInfo.icons], metaIcon),
60
- },
61
- titleIcon: {
62
- type: String,
63
- default: select('titleIcon', ['', ...iconSpriteInfo.icons], titleIcon),
64
- },
65
- shouldAnimate: {
66
- type: Boolean,
67
- default: boolean('shouldAnimate', shouldAnimate),
68
- },
69
- animationDecimalPlaces: {
70
- type: Number,
71
- default: number('animationDecimalPlaces', animationDecimalPlaces),
72
- },
17
+ variant,
18
+ title,
19
+ value,
20
+ unit,
21
+ metaText,
22
+ metaIcon,
23
+ titleIcon,
24
+ shouldAnimate,
25
+ animationDecimalPlaces,
73
26
  });
74
27
 
75
28
  const metaText = 'Super fast';
76
29
  const metaIcon = 'check-circle';
77
30
  const titleIcon = 'hourglass';
78
31
 
79
- documentedStoriesOf('charts/single-stat', readme)
80
- .addDecorator(withKnobs)
81
- .add('default', () => ({
82
- components,
83
- props: generateProps(),
84
- template,
85
- }))
86
- .add('with badge', () => ({
87
- components,
88
- props: generateProps({ metaText, metaIcon }),
89
- template,
90
- }))
91
- .add('with meta icon', () => ({
92
- components,
93
- props: generateProps({ metaIcon }),
94
- template,
95
- }))
96
- .add('with title icon', () => ({
97
- components,
98
- props: generateProps({ titleIcon }),
99
- template,
100
- }));
32
+ const Template = (args, { argTypes }) => ({
33
+ components: {
34
+ GlSingleStat,
35
+ },
36
+ props: Object.keys(argTypes),
37
+ template: `
38
+ <gl-single-stat
39
+ :title="title"
40
+ :value="value"
41
+ :unit="unit"
42
+ :variant="variant"
43
+ :meta-text="metaText"
44
+ :meta-icon="metaIcon"
45
+ :title-icon="titleIcon"
46
+ :should-animate="shouldAnimate"
47
+ :animation-decimal-places="animationDecimalPlaces"
48
+ />`,
49
+ });
50
+
51
+ export const Default = Template.bind({});
52
+ Default.args = generateProps();
53
+
54
+ export const WithBadge = Template.bind({});
55
+ WithBadge.args = generateProps({ metaText, metaIcon });
56
+
57
+ export const WithMetaIcon = Template.bind({});
58
+ WithMetaIcon.args = generateProps({ metaIcon });
59
+
60
+ export const WithTitleIcon = Template.bind({});
61
+ WithTitleIcon.args = generateProps({ titleIcon });
62
+
63
+ export default {
64
+ title: 'charts/single-stat',
65
+ component: GlSingleStat,
66
+ parameters: {
67
+ knobs: { disable: true },
68
+ docs: {
69
+ description: {
70
+ component: readme,
71
+ },
72
+ },
73
+ },
74
+ argTypes: {
75
+ variant: {
76
+ options: Object.values(badgeVariantOptions),
77
+ control: {
78
+ type: 'select',
79
+ },
80
+ },
81
+ metaIcon: {
82
+ options: iconSpriteInfo.icons,
83
+ control: 'select',
84
+ },
85
+ titleIcon: {
86
+ options: iconSpriteInfo.icons,
87
+ control: 'select',
88
+ },
89
+ unit: {
90
+ control: 'text',
91
+ },
92
+ },
93
+ };
@@ -148,6 +148,55 @@ describe('empty state component', () => {
148
148
  });
149
149
  });
150
150
 
151
+ describe('with different titles', () => {
152
+ it('should render title from prop', () => {
153
+ component = shallowMount(EmptyState, {
154
+ propsData: {
155
+ ...props,
156
+ },
157
+ });
158
+
159
+ const title = component.find('h1');
160
+ expect(title.text()).toBe(props.title);
161
+ });
162
+
163
+ it('should render title from slot', () => {
164
+ const slotTitle = 'Slotted title';
165
+
166
+ component = shallowMount(EmptyState, {
167
+ propsData: {
168
+ ...props,
169
+ title: null,
170
+ },
171
+ slots: {
172
+ title: `<strong id="slotted">${slotTitle}</strong>`,
173
+ },
174
+ });
175
+
176
+ const title = component.find('#slotted');
177
+ expect(title.text()).toBe(slotTitle);
178
+ });
179
+
180
+ it('should render a slotted title over a props title', () => {
181
+ const slotTitle = 'Slotted title';
182
+
183
+ component = shallowMount(EmptyState, {
184
+ propsData: {
185
+ ...props,
186
+ },
187
+ slots: {
188
+ title: `<strong id="slotted">${slotTitle}</strong>`,
189
+ },
190
+ });
191
+
192
+ const title = component.find('#slotted');
193
+ const propTitle = component.find('h1');
194
+
195
+ expect(title.text()).toBe(slotTitle);
196
+ expect(propTitle.exists()).toBe(false);
197
+ });
198
+ });
199
+
151
200
  describe('with different descriptions', () => {
152
201
  it('should render description from prop', () => {
153
202
  component = shallowMount(EmptyState, {
@@ -11,7 +11,8 @@ export default {
11
11
  */
12
12
  title: {
13
13
  type: String,
14
- required: true,
14
+ required: false,
15
+ default: null,
15
16
  },
16
17
  /**
17
18
  * The illustration's URL.
@@ -112,13 +113,15 @@ export default {
112
113
  </div>
113
114
  <div :class="compact ? 'gl-flex-grow-1 gl-flex-basis-0 gl-px-4' : 'gl-max-w-full gl-m-auto'">
114
115
  <div class="gl-mx-auto gl-my-0" :class="{ 'gl-p-5': !compact }">
115
- <h1
116
- ref="title"
117
- class="gl-font-size-h-display gl-line-height-36"
118
- :class="compact ? 'h5' : 'h4'"
119
- >
120
- {{ title }}
121
- </h1>
116
+ <!--
117
+ @slot Use this slot to customize the empty state's title area.
118
+ Overrides the `title` prop.
119
+ -->
120
+ <slot ref="title" name="title">
121
+ <h1 class="gl-font-size-h-display gl-line-height-36" :class="compact ? 'h5' : 'h4'">
122
+ {{ title }}
123
+ </h1>
124
+ </slot>
122
125
  <p v-if="description || $scopedSlots.description" ref="description" class="gl-mt-3">
123
126
  <!--
124
127
  @slot Use this slot to customize the empty state's description
@@ -1981,6 +1981,14 @@
1981
1981
  color: inherit !important;
1982
1982
  }
1983
1983
 
1984
+ .gl-text-transparent {
1985
+ color: transparent;
1986
+ }
1987
+
1988
+ .gl-text-transparent\! {
1989
+ color: transparent !important;
1990
+ }
1991
+
1984
1992
  .gl-text-white {
1985
1993
  color: $white;
1986
1994
  }
@@ -3287,6 +3295,14 @@
3287
3295
  grid-column-start: 1 !important
3288
3296
  }
3289
3297
 
3298
+ .gl-grid-template-columns-2 {
3299
+ grid-template-columns: 1fr 1fr
3300
+ }
3301
+
3302
+ .gl-grid-template-columns-2\! {
3303
+ grid-template-columns: 1fr 1fr !important
3304
+ }
3305
+
3290
3306
  .gl-list-style-none {
3291
3307
  list-style-type: none
3292
3308
  }
@@ -6392,6 +6408,18 @@
6392
6408
  padding-left: $gl-spacing-scale-7 !important;
6393
6409
  }
6394
6410
  }
6411
+ .gl-md-px-7 {
6412
+ @include gl-media-breakpoint-up(md) {
6413
+ padding-left: $gl-spacing-scale-7;
6414
+ padding-right: $gl-spacing-scale-7;
6415
+ }
6416
+ }
6417
+ .gl-md-px-7\! {
6418
+ @include gl-media-breakpoint-up(md) {
6419
+ padding-left: $gl-spacing-scale-7 !important;
6420
+ padding-right: $gl-spacing-scale-7 !important;
6421
+ }
6422
+ }
6395
6423
  .gl-lg-pt-0 {
6396
6424
  @include gl-media-breakpoint-up(lg) {
6397
6425
  padding-top: 0;
@@ -11,6 +11,10 @@
11
11
  color: inherit;
12
12
  }
13
13
 
14
+ @mixin gl-text-transparent {
15
+ color: transparent;
16
+ }
17
+
14
18
  @mixin gl-text-white($hover: true) {
15
19
  color: $white;
16
20
  }
@@ -10,3 +10,7 @@
10
10
  @mixin gl-grid-col-start-1 {
11
11
  grid-column-start: 1;
12
12
  }
13
+
14
+ @mixin gl-grid-template-columns-2 {
15
+ grid-template-columns: 1fr 1fr;
16
+ }
@@ -1209,6 +1209,12 @@
1209
1209
  }
1210
1210
  }
1211
1211
 
1212
+ @mixin gl-md-px-7 {
1213
+ @include gl-media-breakpoint-up(md) {
1214
+ @include gl-px-7;
1215
+ }
1216
+ }
1217
+
1212
1218
  @mixin gl-lg-pt-0 {
1213
1219
  @include gl-media-breakpoint-up(lg) {
1214
1220
  @include gl-pt-0;
@@ -1,25 +0,0 @@
1
- import PopoverBasicExample from './popover.basic.example';
2
- import PopoverLoadingExample from './popover.loading.example';
3
- import PopoverNoTitleExample from './popover.notitle.example';
4
-
5
- var index = [{
6
- name: 'Examples',
7
- items: [{
8
- id: 'popover-basic',
9
- name: 'Basic',
10
- description: 'Basic Popover',
11
- component: PopoverBasicExample
12
- }, {
13
- id: 'popover-loading',
14
- name: 'Loading',
15
- description: 'Popover with Skeleton Loading',
16
- component: PopoverLoadingExample
17
- }, {
18
- id: 'popover-no-title',
19
- name: 'No title',
20
- description: 'Popover with no title',
21
- component: PopoverNoTitleExample
22
- }]
23
- }];
24
-
25
- export default index;
@@ -1,38 +0,0 @@
1
- import __vue_normalize__ from 'vue-runtime-helpers/dist/normalize-component.js';
2
-
3
- /* script */
4
-
5
- /* template */
6
- var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{"id":"popovercontainer"}},[_c('gl-button',{attrs:{"id":"pop-basic"}},[_vm._v("Popover Button")]),_vm._v(" "),_c('gl-popover',{attrs:{"target":"pop-basic","container":"popovercontainer","placement":"top","title":"This is a Popover","triggers":"hover focus","content":"With a placement of top"}})],1)};
7
- var __vue_staticRenderFns__ = [];
8
-
9
- /* style */
10
- const __vue_inject_styles__ = undefined;
11
- /* scoped */
12
- const __vue_scope_id__ = undefined;
13
- /* module identifier */
14
- const __vue_module_identifier__ = undefined;
15
- /* functional template */
16
- const __vue_is_functional_template__ = false;
17
- /* style inject */
18
-
19
- /* style inject SSR */
20
-
21
- /* style inject shadow dom */
22
-
23
-
24
-
25
- const __vue_component__ = __vue_normalize__(
26
- { render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },
27
- __vue_inject_styles__,
28
- {},
29
- __vue_scope_id__,
30
- __vue_is_functional_template__,
31
- __vue_module_identifier__,
32
- false,
33
- undefined,
34
- undefined,
35
- undefined
36
- );
37
-
38
- export default __vue_component__;