@weni/unnnic-system 2.0.9 → 2.0.11
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/style.css +1 -1
- package/dist/unnnic.mjs +7543 -7193
- package/dist/unnnic.umd.js +21 -21
- package/package.json +1 -1
- package/src/assets/scss/colors.scss +6 -6
- package/src/components/Alert/AlertBanner.vue +180 -0
- package/src/components/AudioRecorder/AudioRecorder.vue +5 -3
- package/src/components/Card/CardCompany.vue +132 -255
- package/src/components/Checkbox/Checkbox.vue +3 -6
- package/src/components/Disclaimer/Disclaimer.vue +64 -0
- package/src/components/Drawer/Drawer.vue +234 -0
- package/src/components/Radio/Radio.vue +1 -1
- package/src/components/Slider/Slider.vue +137 -57
- package/src/components/Tab/Tab.vue +64 -5
- package/src/components/TextArea/TextArea.vue +1 -4
- package/src/components/ToolTip/ToolTip.vue +24 -20
- package/src/components/index.js +6 -0
- package/src/locales/en.json +3 -0
- package/src/locales/es.json +3 -0
- package/src/locales/pt_br.json +3 -0
- package/src/mixins/i18n.js +14 -1
- package/src/stories/Alert.stories.js +46 -20
- package/src/stories/AudioRecorder.stories.js +25 -29
- package/src/stories/Disclaimer.stories.js +37 -0
- package/src/stories/Drawer.stories.js +136 -0
- package/src/stories/Introduction.mdx +196 -196
- package/src/stories/Slider.stories.js +14 -18
- package/src/stories/Tab.stories.js +38 -31
- package/src/stories/ToolTip.stories.js +11 -0
- package/.vscode/extensions.json +0 -3
|
@@ -1,196 +1,196 @@
|
|
|
1
|
-
import { Meta } from '@storybook/blocks'
|
|
2
|
-
|
|
3
|
-
<Meta title="Example/Introduction" />
|
|
4
|
-
|
|
5
|
-
<style>
|
|
6
|
-
{`
|
|
7
|
-
.subheading {
|
|
8
|
-
--mediumdark: '#999999';
|
|
9
|
-
font-weight: 700;
|
|
10
|
-
font-size: 13px;
|
|
11
|
-
color: #999;
|
|
12
|
-
letter-spacing: 6px;
|
|
13
|
-
line-height: 24px;
|
|
14
|
-
text-transform: uppercase;
|
|
15
|
-
margin-bottom: 12px;
|
|
16
|
-
margin-top: 40px;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.link-list {
|
|
20
|
-
display: grid;
|
|
21
|
-
grid-template-columns: 1fr;
|
|
22
|
-
grid-template-rows: 1fr 1fr;
|
|
23
|
-
row-gap: 10px;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
@media (min-width: 620px) {
|
|
27
|
-
.link-list {
|
|
28
|
-
row-gap: 20px;
|
|
29
|
-
column-gap: 20px;
|
|
30
|
-
grid-template-columns: 1fr 1fr;
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
@media all and (-ms-high-contrast:none) {
|
|
35
|
-
.link-list {
|
|
36
|
-
display: -ms-grid;
|
|
37
|
-
-ms-grid-columns: 1fr 1fr;
|
|
38
|
-
-ms-grid-rows: 1fr 1fr;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.link-item {
|
|
43
|
-
display: block;
|
|
44
|
-
padding: 20px;
|
|
45
|
-
border: 1px solid #00000010;
|
|
46
|
-
border-radius: 5px;
|
|
47
|
-
transition: background 150ms ease-out, border 150ms ease-out, transform 150ms ease-out;
|
|
48
|
-
color: #333333;
|
|
49
|
-
display: flex;
|
|
50
|
-
align-items: flex-start;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.link-item:hover {
|
|
54
|
-
border-color: #1EA7FD50;
|
|
55
|
-
transform: translate3d(0, -3px, 0);
|
|
56
|
-
box-shadow: rgba(0, 0, 0, 0.08) 0 3px 10px 0;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
.link-item:active {
|
|
60
|
-
border-color: #1EA7FD;
|
|
61
|
-
transform: translate3d(0, 0, 0);
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
.link-item strong {
|
|
65
|
-
font-weight: 700;
|
|
66
|
-
display: block;
|
|
67
|
-
margin-bottom: 2px;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
.link-item img {
|
|
71
|
-
height: 40px;
|
|
72
|
-
width: 40px;
|
|
73
|
-
margin-right: 15px;
|
|
74
|
-
flex: none;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
.link-item span,
|
|
78
|
-
.link-item p {
|
|
79
|
-
margin: 0;
|
|
80
|
-
font-size: 14px;
|
|
81
|
-
line-height: 20px;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
.tip {
|
|
85
|
-
display: inline-block;
|
|
86
|
-
border-radius: 1em;
|
|
87
|
-
font-size: 11px;
|
|
88
|
-
line-height: 12px;
|
|
89
|
-
font-weight: 700;
|
|
90
|
-
background: #E7FDD8;
|
|
91
|
-
color: #66BF3C;
|
|
92
|
-
padding: 4px 12px;
|
|
93
|
-
margin-right: 10px;
|
|
94
|
-
vertical-align: top;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
.tip-wrapper {
|
|
98
|
-
font-size: 13px;
|
|
99
|
-
line-height: 20px;
|
|
100
|
-
margin-top: 40px;
|
|
101
|
-
margin-bottom: 40px;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
.tip-wrapper code {
|
|
105
|
-
font-size: 12px;
|
|
106
|
-
display: inline-block;
|
|
107
|
-
}
|
|
108
|
-
`}
|
|
109
|
-
</style>
|
|
110
|
-
|
|
111
|
-
# Welcome to Storybook
|
|
112
|
-
|
|
113
|
-
Storybook helps you build UI components in isolation from your app's business logic, data, and context.
|
|
114
|
-
That makes it easy to develop hard-to-reach states. Save these UI states as **stories** to revisit during development, testing, or QA.
|
|
115
|
-
|
|
116
|
-
Browse example stories now by navigating to them in the sidebar.
|
|
117
|
-
View their code in the `stories` directory to learn how they work.
|
|
118
|
-
We recommend building UIs with a [**component-driven**](https://componentdriven.org) process starting with atomic components and ending with pages.
|
|
119
|
-
|
|
120
|
-
<div className="subheading">Configure</div>
|
|
121
|
-
|
|
122
|
-
<div className="link-list">
|
|
123
|
-
<a
|
|
124
|
-
className="link-item"
|
|
125
|
-
href="https://storybook.js.org/docs/react/addons/addon-types"
|
|
126
|
-
target="_blank"
|
|
127
|
-
>
|
|
128
|
-
<span>
|
|
129
|
-
<strong>Presets for popular tools</strong>
|
|
130
|
-
Easy setup for TypeScript, SCSS and more.
|
|
131
|
-
</span>
|
|
132
|
-
</a>
|
|
133
|
-
<a
|
|
134
|
-
className="link-item"
|
|
135
|
-
href="https://storybook.js.org/docs/react/configure/webpack"
|
|
136
|
-
target="_blank"
|
|
137
|
-
>
|
|
138
|
-
<span>
|
|
139
|
-
<strong>Build configuration</strong>
|
|
140
|
-
How to customize webpack and Babel
|
|
141
|
-
</span>
|
|
142
|
-
</a>
|
|
143
|
-
<a
|
|
144
|
-
className="link-item"
|
|
145
|
-
href="https://storybook.js.org/docs/react/configure/styling-and-css"
|
|
146
|
-
target="_blank"
|
|
147
|
-
>
|
|
148
|
-
<span>
|
|
149
|
-
<strong>Styling</strong>
|
|
150
|
-
How to load and configure CSS libraries
|
|
151
|
-
</span>
|
|
152
|
-
</a>
|
|
153
|
-
<a
|
|
154
|
-
className="link-item"
|
|
155
|
-
href="https://storybook.js.org/docs/react/get-started/setup#configure-storybook-for-your-stack"
|
|
156
|
-
target="_blank"
|
|
157
|
-
>
|
|
158
|
-
<span>
|
|
159
|
-
<strong>Data</strong>
|
|
160
|
-
Providers and mocking for data libraries
|
|
161
|
-
</span>
|
|
162
|
-
</a>
|
|
163
|
-
</div>
|
|
164
|
-
|
|
165
|
-
<div className="subheading">Learn</div>
|
|
166
|
-
|
|
167
|
-
<div className="link-list">
|
|
168
|
-
<a className="link-item" href="https://storybook.js.org/docs" target="_blank">
|
|
169
|
-
<span>
|
|
170
|
-
<strong>Storybook documentation</strong>
|
|
171
|
-
Configure, customize, and extend
|
|
172
|
-
</span>
|
|
173
|
-
</a>
|
|
174
|
-
<a className="link-item" href="https://storybook.js.org/tutorials/" target="_blank">
|
|
175
|
-
<span>
|
|
176
|
-
<strong>In-depth guides</strong>
|
|
177
|
-
Best practices from leading teams
|
|
178
|
-
</span>
|
|
179
|
-
</a>
|
|
180
|
-
<a className="link-item" href="https://github.com/storybookjs/storybook" target="_blank">
|
|
181
|
-
<span>
|
|
182
|
-
<strong>GitHub project</strong>
|
|
183
|
-
View the source and add issues
|
|
184
|
-
</span>
|
|
185
|
-
</a>
|
|
186
|
-
<a className="link-item" href="https://discord.gg/storybook" target="_blank">
|
|
187
|
-
<span>
|
|
188
|
-
<strong>Discord chat</strong>
|
|
189
|
-
Chat with maintainers and the community
|
|
190
|
-
</span>
|
|
191
|
-
</a>
|
|
192
|
-
</div>
|
|
193
|
-
|
|
194
|
-
<div className="tip-wrapper">
|
|
195
|
-
<span className="tip">Tip</span>Edit the Markdown in <code>stories/Introduction.stories.mdx</code>
|
|
196
|
-
</div>
|
|
1
|
+
import { Meta } from '@storybook/blocks'
|
|
2
|
+
|
|
3
|
+
<Meta title="Example/Introduction" />
|
|
4
|
+
|
|
5
|
+
<style>
|
|
6
|
+
{`
|
|
7
|
+
.subheading {
|
|
8
|
+
--mediumdark: '#999999';
|
|
9
|
+
font-weight: 700;
|
|
10
|
+
font-size: 13px;
|
|
11
|
+
color: #999;
|
|
12
|
+
letter-spacing: 6px;
|
|
13
|
+
line-height: 24px;
|
|
14
|
+
text-transform: uppercase;
|
|
15
|
+
margin-bottom: 12px;
|
|
16
|
+
margin-top: 40px;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.link-list {
|
|
20
|
+
display: grid;
|
|
21
|
+
grid-template-columns: 1fr;
|
|
22
|
+
grid-template-rows: 1fr 1fr;
|
|
23
|
+
row-gap: 10px;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
@media (min-width: 620px) {
|
|
27
|
+
.link-list {
|
|
28
|
+
row-gap: 20px;
|
|
29
|
+
column-gap: 20px;
|
|
30
|
+
grid-template-columns: 1fr 1fr;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
@media all and (-ms-high-contrast:none) {
|
|
35
|
+
.link-list {
|
|
36
|
+
display: -ms-grid;
|
|
37
|
+
-ms-grid-columns: 1fr 1fr;
|
|
38
|
+
-ms-grid-rows: 1fr 1fr;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.link-item {
|
|
43
|
+
display: block;
|
|
44
|
+
padding: 20px;
|
|
45
|
+
border: 1px solid #00000010;
|
|
46
|
+
border-radius: 5px;
|
|
47
|
+
transition: background 150ms ease-out, border 150ms ease-out, transform 150ms ease-out;
|
|
48
|
+
color: #333333;
|
|
49
|
+
display: flex;
|
|
50
|
+
align-items: flex-start;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.link-item:hover {
|
|
54
|
+
border-color: #1EA7FD50;
|
|
55
|
+
transform: translate3d(0, -3px, 0);
|
|
56
|
+
box-shadow: rgba(0, 0, 0, 0.08) 0 3px 10px 0;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.link-item:active {
|
|
60
|
+
border-color: #1EA7FD;
|
|
61
|
+
transform: translate3d(0, 0, 0);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.link-item strong {
|
|
65
|
+
font-weight: 700;
|
|
66
|
+
display: block;
|
|
67
|
+
margin-bottom: 2px;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.link-item img {
|
|
71
|
+
height: 40px;
|
|
72
|
+
width: 40px;
|
|
73
|
+
margin-right: 15px;
|
|
74
|
+
flex: none;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.link-item span,
|
|
78
|
+
.link-item p {
|
|
79
|
+
margin: 0;
|
|
80
|
+
font-size: 14px;
|
|
81
|
+
line-height: 20px;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.tip {
|
|
85
|
+
display: inline-block;
|
|
86
|
+
border-radius: 1em;
|
|
87
|
+
font-size: 11px;
|
|
88
|
+
line-height: 12px;
|
|
89
|
+
font-weight: 700;
|
|
90
|
+
background: #E7FDD8;
|
|
91
|
+
color: #66BF3C;
|
|
92
|
+
padding: 4px 12px;
|
|
93
|
+
margin-right: 10px;
|
|
94
|
+
vertical-align: top;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.tip-wrapper {
|
|
98
|
+
font-size: 13px;
|
|
99
|
+
line-height: 20px;
|
|
100
|
+
margin-top: 40px;
|
|
101
|
+
margin-bottom: 40px;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.tip-wrapper code {
|
|
105
|
+
font-size: 12px;
|
|
106
|
+
display: inline-block;
|
|
107
|
+
}
|
|
108
|
+
`}
|
|
109
|
+
</style>
|
|
110
|
+
|
|
111
|
+
# Welcome to Storybook
|
|
112
|
+
|
|
113
|
+
Storybook helps you build UI components in isolation from your app's business logic, data, and context.
|
|
114
|
+
That makes it easy to develop hard-to-reach states. Save these UI states as **stories** to revisit during development, testing, or QA.
|
|
115
|
+
|
|
116
|
+
Browse example stories now by navigating to them in the sidebar.
|
|
117
|
+
View their code in the `stories` directory to learn how they work.
|
|
118
|
+
We recommend building UIs with a [**component-driven**](https://componentdriven.org) process starting with atomic components and ending with pages.
|
|
119
|
+
|
|
120
|
+
<div className="subheading">Configure</div>
|
|
121
|
+
|
|
122
|
+
<div className="link-list">
|
|
123
|
+
<a
|
|
124
|
+
className="link-item"
|
|
125
|
+
href="https://storybook.js.org/docs/react/addons/addon-types"
|
|
126
|
+
target="_blank"
|
|
127
|
+
>
|
|
128
|
+
<span>
|
|
129
|
+
<strong>Presets for popular tools</strong>
|
|
130
|
+
Easy setup for TypeScript, SCSS and more.
|
|
131
|
+
</span>
|
|
132
|
+
</a>
|
|
133
|
+
<a
|
|
134
|
+
className="link-item"
|
|
135
|
+
href="https://storybook.js.org/docs/react/configure/webpack"
|
|
136
|
+
target="_blank"
|
|
137
|
+
>
|
|
138
|
+
<span>
|
|
139
|
+
<strong>Build configuration</strong>
|
|
140
|
+
How to customize webpack and Babel
|
|
141
|
+
</span>
|
|
142
|
+
</a>
|
|
143
|
+
<a
|
|
144
|
+
className="link-item"
|
|
145
|
+
href="https://storybook.js.org/docs/react/configure/styling-and-css"
|
|
146
|
+
target="_blank"
|
|
147
|
+
>
|
|
148
|
+
<span>
|
|
149
|
+
<strong>Styling</strong>
|
|
150
|
+
How to load and configure CSS libraries
|
|
151
|
+
</span>
|
|
152
|
+
</a>
|
|
153
|
+
<a
|
|
154
|
+
className="link-item"
|
|
155
|
+
href="https://storybook.js.org/docs/react/get-started/setup#configure-storybook-for-your-stack"
|
|
156
|
+
target="_blank"
|
|
157
|
+
>
|
|
158
|
+
<span>
|
|
159
|
+
<strong>Data</strong>
|
|
160
|
+
Providers and mocking for data libraries
|
|
161
|
+
</span>
|
|
162
|
+
</a>
|
|
163
|
+
</div>
|
|
164
|
+
|
|
165
|
+
<div className="subheading">Learn</div>
|
|
166
|
+
|
|
167
|
+
<div className="link-list">
|
|
168
|
+
<a className="link-item" href="https://storybook.js.org/docs" target="_blank">
|
|
169
|
+
<span>
|
|
170
|
+
<strong>Storybook documentation</strong>
|
|
171
|
+
Configure, customize, and extend
|
|
172
|
+
</span>
|
|
173
|
+
</a>
|
|
174
|
+
<a className="link-item" href="https://storybook.js.org/tutorials/" target="_blank">
|
|
175
|
+
<span>
|
|
176
|
+
<strong>In-depth guides</strong>
|
|
177
|
+
Best practices from leading teams
|
|
178
|
+
</span>
|
|
179
|
+
</a>
|
|
180
|
+
<a className="link-item" href="https://github.com/storybookjs/storybook" target="_blank">
|
|
181
|
+
<span>
|
|
182
|
+
<strong>GitHub project</strong>
|
|
183
|
+
View the source and add issues
|
|
184
|
+
</span>
|
|
185
|
+
</a>
|
|
186
|
+
<a className="link-item" href="https://discord.gg/storybook" target="_blank">
|
|
187
|
+
<span>
|
|
188
|
+
<strong>Discord chat</strong>
|
|
189
|
+
Chat with maintainers and the community
|
|
190
|
+
</span>
|
|
191
|
+
</a>
|
|
192
|
+
</div>
|
|
193
|
+
|
|
194
|
+
<div className="tip-wrapper">
|
|
195
|
+
<span className="tip">Tip</span>Edit the Markdown in <code>stories/Introduction.stories.mdx</code>
|
|
196
|
+
</div>
|
|
@@ -3,25 +3,21 @@ import unnnicSlider from '../components/Slider/Slider.vue';
|
|
|
3
3
|
export default {
|
|
4
4
|
title: 'Form/Slider',
|
|
5
5
|
component: unnnicSlider,
|
|
6
|
+
argTypes: {
|
|
7
|
+
size: { control: { type: 'select', options: ['small', 'medium'] } },
|
|
8
|
+
textLeft: { control: { type: 'text' } },
|
|
9
|
+
textRight: { control: { type: 'text' } },
|
|
10
|
+
disabled: { control: { type: 'boolean' } },
|
|
11
|
+
},
|
|
6
12
|
};
|
|
7
13
|
|
|
8
|
-
const
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
export const Default = {
|
|
15
|
+
args: {
|
|
16
|
+
initialValue: 1,
|
|
17
|
+
minValue: 1,
|
|
18
|
+
maxValue: 4,
|
|
19
|
+
step: 1,
|
|
20
|
+
minLabel: '1',
|
|
21
|
+
maxLabel: '4',
|
|
16
22
|
},
|
|
17
|
-
});
|
|
18
|
-
|
|
19
|
-
export const Default = Template.bind({});
|
|
20
|
-
Default.args = {
|
|
21
|
-
initialValue: 1,
|
|
22
|
-
minValue: 1,
|
|
23
|
-
maxValue: 4,
|
|
24
|
-
step: 1,
|
|
25
|
-
minLabel: '1',
|
|
26
|
-
maxLabel: '4',
|
|
27
23
|
};
|
|
@@ -6,37 +6,44 @@ export default {
|
|
|
6
6
|
argTypes: {
|
|
7
7
|
size: { control: { type: 'select', options: ['md', 'sm'] } },
|
|
8
8
|
},
|
|
9
|
+
render: (args) => ({
|
|
10
|
+
components: {
|
|
11
|
+
unnnicTab,
|
|
12
|
+
},
|
|
13
|
+
setup() {
|
|
14
|
+
return { args };
|
|
15
|
+
},
|
|
16
|
+
template: `
|
|
17
|
+
<unnnic-tab v-bind="args">
|
|
18
|
+
<template #tab-head-first>
|
|
19
|
+
First
|
|
20
|
+
</template>
|
|
21
|
+
<template #tab-head-first-tooltip>
|
|
22
|
+
Tooltip text
|
|
23
|
+
</template>
|
|
24
|
+
<template #tab-panel-first>
|
|
25
|
+
<h2 class="title">First Content</h2>
|
|
26
|
+
<p class="description">
|
|
27
|
+
First description
|
|
28
|
+
</p>
|
|
29
|
+
</template>
|
|
30
|
+
<template #tab-head-second>
|
|
31
|
+
Second
|
|
32
|
+
</template>
|
|
33
|
+
<template #tab-panel-second>
|
|
34
|
+
<h2 class="title">Second Content</h2>
|
|
35
|
+
<p class="description">
|
|
36
|
+
Second description
|
|
37
|
+
</p>
|
|
38
|
+
</template>
|
|
39
|
+
</unnnic-tab>
|
|
40
|
+
`,
|
|
41
|
+
}),
|
|
9
42
|
};
|
|
10
43
|
|
|
11
|
-
const
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
<template slot="tab-head-first">
|
|
17
|
-
First
|
|
18
|
-
</template>
|
|
19
|
-
<template slot="tab-panel-first">
|
|
20
|
-
<h2 class="title">First Content</h2>
|
|
21
|
-
<p class="description">
|
|
22
|
-
First description
|
|
23
|
-
</p>
|
|
24
|
-
</template>
|
|
25
|
-
<template slot="tab-head-second">
|
|
26
|
-
Second
|
|
27
|
-
</template>
|
|
28
|
-
<template slot="tab-panel-second">
|
|
29
|
-
<h2 class="title">Second Content</h2>
|
|
30
|
-
<p class="description">
|
|
31
|
-
Second description
|
|
32
|
-
</p>
|
|
33
|
-
</template>
|
|
34
|
-
</unnnic-tab>
|
|
35
|
-
`,
|
|
36
|
-
});
|
|
37
|
-
|
|
38
|
-
export const Default = Template.bind({});
|
|
39
|
-
Default.args = {
|
|
40
|
-
initialTab: 'first',
|
|
41
|
-
tabs: ['first', 'second'],
|
|
44
|
+
export const Default = {
|
|
45
|
+
args: {
|
|
46
|
+
initialTab: 'first',
|
|
47
|
+
tabs: ['first', 'second'],
|
|
48
|
+
},
|
|
42
49
|
};
|
|
@@ -12,6 +12,17 @@ export default {
|
|
|
12
12
|
maxWidth: { control: { type: 'text' } },
|
|
13
13
|
forceOpen: { control: { type: 'boolean' } },
|
|
14
14
|
},
|
|
15
|
+
render: (args) => ({
|
|
16
|
+
components: {
|
|
17
|
+
unnnicToolTip,
|
|
18
|
+
},
|
|
19
|
+
setup() {
|
|
20
|
+
return { args };
|
|
21
|
+
},
|
|
22
|
+
template: `
|
|
23
|
+
<unnnic-tool-tip v-bind="args"> Hover over text </unnnic-tool-tip>
|
|
24
|
+
`,
|
|
25
|
+
}),
|
|
15
26
|
};
|
|
16
27
|
|
|
17
28
|
export const Normal = {
|
package/.vscode/extensions.json
DELETED