@aquera/nile-elements 0.1.33-beta-1.1 → 0.1.33
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/README.md +6 -13
- package/demo/index.html +27 -262
- package/dist/{fixture-d5b55278.cjs.js → fixture-161dee0b.cjs.js} +3 -3
- package/dist/fixture-161dee0b.cjs.js.map +1 -0
- package/dist/{fixture-df8b52d7.esm.js → fixture-372df3b0.esm.js} +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/internal/animate.cjs.js +1 -1
- package/dist/internal/animate.cjs.js.map +1 -1
- package/dist/internal/animate.esm.js +1 -1
- package/dist/nile-accordion/nile-accordian.test.cjs.js +1 -1
- package/dist/nile-accordion/nile-accordian.test.esm.js +1 -1
- package/dist/nile-auto-complete/nile-auto-complete.test.cjs.js +1 -1
- package/dist/nile-auto-complete/nile-auto-complete.test.esm.js +1 -1
- package/dist/nile-avatar/nile-avatar.test.cjs.js +1 -1
- package/dist/nile-avatar/nile-avatar.test.esm.js +1 -1
- package/dist/nile-badge/nile-badge.test.cjs.js +1 -1
- package/dist/nile-badge/nile-badge.test.esm.js +1 -1
- package/dist/nile-button/nile-button.test.cjs.js +1 -1
- package/dist/nile-button/nile-button.test.esm.js +1 -1
- package/dist/nile-button-toggle-group/nile-button-toggle-group.test.cjs.js +1 -1
- package/dist/nile-button-toggle-group/nile-button-toggle-group.test.esm.js +1 -1
- package/dist/nile-calendar/nile-calendar.test.cjs.js +1 -1
- package/dist/nile-calendar/nile-calendar.test.esm.js +1 -1
- package/dist/nile-card/nile-card.test.cjs.js +1 -1
- package/dist/nile-card/nile-card.test.esm.js +1 -1
- package/dist/nile-checkbox/nile-checkbox.test.cjs.js +1 -1
- package/dist/nile-checkbox/nile-checkbox.test.esm.js +1 -1
- package/dist/nile-chip/nile-chip.test.cjs.js +1 -1
- package/dist/nile-chip/nile-chip.test.esm.js +1 -1
- package/dist/nile-dialog/nile-dialog.test.cjs.js +1 -1
- package/dist/nile-dialog/nile-dialog.test.esm.js +1 -1
- package/dist/nile-drawer/nile-drawer.test.cjs.js +1 -1
- package/dist/nile-drawer/nile-drawer.test.esm.js +1 -1
- package/dist/nile-dropdown/nile-dropdown.test.cjs.js +1 -1
- package/dist/nile-dropdown/nile-dropdown.test.esm.js +1 -1
- package/dist/nile-empty-state/nile-empty-state.test.cjs.js +1 -1
- package/dist/nile-empty-state/nile-empty-state.test.esm.js +1 -1
- package/dist/nile-error-message/nile-error-message.test.cjs.js +1 -1
- package/dist/nile-error-message/nile-error-message.test.esm.js +1 -1
- package/dist/nile-form-group/nile-form-group.test.cjs.js +1 -1
- package/dist/nile-form-group/nile-form-group.test.esm.js +1 -1
- package/dist/nile-form-help-text/nile-form-help-text.test.cjs.js +1 -1
- package/dist/nile-form-help-text/nile-form-help-text.test.esm.js +1 -1
- package/dist/nile-hero/nile-hero.test.cjs.js +1 -1
- package/dist/nile-hero/nile-hero.test.esm.js +1 -1
- package/dist/nile-icon/nile-icon.test.cjs.js +1 -1
- package/dist/nile-icon/nile-icon.test.esm.js +1 -1
- package/dist/nile-input/nile-input.css.cjs.js +1 -1
- package/dist/nile-input/nile-input.css.cjs.js.map +1 -1
- package/dist/nile-input/nile-input.css.esm.js +0 -8
- package/dist/nile-input/nile-input.test.cjs.js +1 -1
- package/dist/nile-input/nile-input.test.esm.js +1 -1
- package/dist/nile-link/nile-link.test.cjs.js +1 -1
- package/dist/nile-link/nile-link.test.esm.js +1 -1
- package/dist/nile-loader/nile-loader.test.cjs.js +1 -1
- package/dist/nile-loader/nile-loader.test.esm.js +1 -1
- package/dist/nile-popover/nile-popover.test.cjs.js +1 -1
- package/dist/nile-popover/nile-popover.test.esm.js +1 -1
- package/dist/nile-popup/nile-popup.test.cjs.js +1 -1
- package/dist/nile-popup/nile-popup.test.esm.js +1 -1
- package/dist/nile-progress-bar/nile-progress-bar.test.cjs.js +1 -1
- package/dist/nile-progress-bar/nile-progress-bar.test.esm.js +1 -1
- package/dist/nile-radio/nile-radio.test.cjs.js +1 -1
- package/dist/nile-radio/nile-radio.test.esm.js +1 -1
- package/dist/nile-radio-group/nile-radio-group.test.cjs.js +1 -1
- package/dist/nile-radio-group/nile-radio-group.test.esm.js +1 -1
- package/dist/nile-select/nile-select.test.cjs.js +1 -1
- package/dist/nile-select/nile-select.test.esm.js +1 -1
- package/dist/nile-slide-toggle/nile-slide-toggle.test.cjs.js +1 -1
- package/dist/nile-slide-toggle/nile-slide-toggle.test.esm.js +1 -1
- package/dist/nile-tab-group/nile-tab-group.test.cjs.js +1 -1
- package/dist/nile-tab-group/nile-tab-group.test.esm.js +1 -1
- package/dist/nile-table/nile-table.cjs.js.map +1 -1
- package/dist/nile-textarea/nile-textarea.test.cjs.js +1 -1
- package/dist/nile-textarea/nile-textarea.test.esm.js +1 -1
- package/dist/nile-tooltip/index.cjs.js +1 -1
- package/dist/nile-tooltip/index.esm.js +1 -1
- package/dist/nile-tooltip/nile-tooltip.cjs.js +1 -1
- package/dist/nile-tooltip/nile-tooltip.cjs.js.map +1 -1
- package/dist/nile-tooltip/nile-tooltip.css.cjs.js +1 -1
- package/dist/nile-tooltip/nile-tooltip.css.cjs.js.map +1 -1
- package/dist/nile-tooltip/nile-tooltip.css.esm.js +56 -59
- package/dist/nile-tooltip/nile-tooltip.esm.js +28 -23
- package/dist/src/nile-input/nile-input.css.js +0 -8
- package/dist/src/nile-input/nile-input.css.js.map +1 -1
- package/dist/src/nile-table/nile-table.js.map +1 -1
- package/dist/src/nile-tooltip/nile-tooltip.css.js +45 -48
- package/dist/src/nile-tooltip/nile-tooltip.css.js.map +1 -1
- package/dist/src/nile-tooltip/nile-tooltip.d.ts +44 -23
- package/dist/src/nile-tooltip/nile-tooltip.js +227 -157
- package/dist/src/nile-tooltip/nile-tooltip.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/nile-input/nile-input.css.ts +0 -8
- package/src/nile-table/nile-table.ts +2 -2
- package/src/nile-tooltip/nile-tooltip.css.ts +46 -49
- package/src/nile-tooltip/nile-tooltip.ts +237 -155
- package/vscode-html-custom-data.json +81 -81
- package/dist/fixture-d5b55278.cjs.js.map +0 -1
- package/dist/nile-tooltip/nile-tooltip-utils.cjs.js +0 -2
- package/dist/nile-tooltip/nile-tooltip-utils.cjs.js.map +0 -1
- package/dist/nile-tooltip/nile-tooltip-utils.esm.js +0 -1
- package/dist/nile-tooltip/nile-tooltip.test.cjs.js +0 -2
- package/dist/nile-tooltip/nile-tooltip.test.cjs.js.map +0 -1
- package/dist/nile-tooltip/nile-tooltip.test.esm.js +0 -51
- package/dist/src/nile-tooltip/nile-tooltip-utils.d.ts +0 -18
- package/dist/src/nile-tooltip/nile-tooltip-utils.js +0 -151
- package/dist/src/nile-tooltip/nile-tooltip-utils.js.map +0 -1
- package/dist/src/nile-tooltip/nile-tooltip.test.d.ts +0 -1
- package/dist/src/nile-tooltip/nile-tooltip.test.js +0 -158
- package/dist/src/nile-tooltip/nile-tooltip.test.js.map +0 -1
- package/src/nile-tooltip/nile-tooltip-utils.ts +0 -190
- package/src/nile-tooltip/nile-tooltip.test.ts +0 -178
package/README.md
CHANGED
@@ -79,21 +79,14 @@ To run a local development server that serves the basic demo located in `demo/in
|
|
79
79
|
|
80
80
|
In this section, you can find the updates for each release of `nile-elements`. It's a good practice to maintain detailed release notes to help users and developers understand what changes have been made from one version to another and how these changes might affect their projects.
|
81
81
|
|
82
|
-
#### Version 0.1.33-beta-1.1
|
83
|
-
- Nile Menu: Property added allowSpaceKey
|
84
82
|
|
85
|
-
#### Version 0.1.33
|
86
|
-
- Nile Menu: Bugfix for
|
83
|
+
#### Version 0.1.33
|
84
|
+
- Nile Menu: Bugfix for nile-input inside nile menu, Property added allowSpaceKey
|
85
|
+
- Nile tokens: Spacing tokens updated e.g: nile-spacing-spacing-lg to nile-spacing-lg
|
86
|
+
- Dependency: Nile 0.3.61
|
87
87
|
|
88
|
-
#### Version 0.1.32
|
89
|
-
- Nile
|
90
|
-
- Dependency Nile 0.3.61-beta-1.0
|
91
|
-
|
92
|
-
#### Version 0.1.32-beta-1.4
|
93
|
-
- Nile Tooltip: Bug Fixes
|
94
|
-
|
95
|
-
#### Version 0.1.32-beta-1.3
|
96
|
-
- Nile Input: Safari's AutoFill icon defect fix
|
88
|
+
#### Version 0.1.32
|
89
|
+
- Nile Table: Nile Table available as a wrapper component
|
97
90
|
|
98
91
|
#### Version 0.1.31
|
99
92
|
- Nile Stepper: Stylings updates and State change bugfixes
|
package/demo/index.html
CHANGED
@@ -1,274 +1,39 @@
|
|
1
1
|
<!DOCTYPE html>
|
2
2
|
<html lang="en-GB">
|
3
|
+
|
3
4
|
<head>
|
4
5
|
<meta charset="utf-8" />
|
5
6
|
<link rel="stylesheet" href="variables_v2.css" id="stylesheet" />
|
6
7
|
<link rel="stylesheet" href="index.css" />
|
7
8
|
<script type="module" src="index.js"></script>
|
8
|
-
<style>
|
9
|
-
body {
|
10
|
-
font-family: sans-serif;
|
11
|
-
padding: 150px;
|
12
|
-
padding-left: 300px;
|
13
|
-
}
|
14
|
-
.demo {
|
15
|
-
margin-bottom: 30px;
|
16
|
-
}
|
17
|
-
.demo h2 {
|
18
|
-
margin-bottom: 10px;
|
19
|
-
}
|
20
|
-
/* Container for testing the hoist prop */
|
21
|
-
.overflow-container {
|
22
|
-
overflow: auto;
|
23
|
-
width: 300px;
|
24
|
-
height: 100px;
|
25
|
-
border: 1px solid #ccc;
|
26
|
-
padding: 20px;
|
27
|
-
position: relative;
|
28
|
-
}
|
29
|
-
</style>
|
30
9
|
</head>
|
31
|
-
<
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
<!-- Large tooltip -->
|
49
|
-
<div class="demo">
|
50
|
-
<h2>Large Tooltip</h2>
|
51
|
-
<nile-tooltip content=" " placement="tops-birat">
|
52
|
-
<button>Hover over me</button>
|
53
|
-
</nile-tooltip>
|
54
|
-
</div>
|
55
|
-
|
56
|
-
<!-- Tooltip with bottom-start placement -->
|
57
|
-
<div class="demo">
|
58
|
-
<h2>Bottom-Start Placement</h2>
|
59
|
-
<nile-tooltip content="Tooltip at bottom-start does it work even lets check
|
60
|
-
|
61
|
-
freestar
|
62
|
-
|
63
|
-
What is Lorem Ipsum?
|
64
|
-
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
|
65
|
-
|
66
|
-
Why do we use it?
|
67
|
-
It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).
|
68
|
-
|
69
|
-
" placement="bottom" max-width="400px" max-height="250px" >
|
70
|
-
<button>Hover over me</button>
|
71
|
-
</nile-tooltip>
|
72
|
-
</div>
|
73
|
-
|
74
|
-
<div style="padding: 150px;">
|
75
|
-
|
76
|
-
|
77
|
-
<div class="demo">
|
78
|
-
<h2>Top Placement</h2>
|
79
|
-
<nile-tooltip content="Tooltip at top What is Lorem Ipsum?
|
80
|
-
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
|
81
|
-
|
82
|
-
Why do we use it?
|
83
|
-
It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point o" placement="top">
|
84
|
-
<button>Hover over me</button>
|
85
|
-
</nile-tooltip>
|
86
|
-
</div>
|
87
|
-
|
88
|
-
<div class="demo">
|
89
|
-
<h2>Top-Start Placement</h2>
|
90
|
-
<nile-tooltip content="Tooltip at top-start does it work even lets check What is Lorem Ipsum?
|
91
|
-
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
|
92
|
-
|
93
|
-
Why do we use it?
|
94
|
-
It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point o" placement="top-start">
|
95
|
-
<button>Hover over me</button>
|
96
|
-
</nile-tooltip>
|
97
|
-
</div>
|
98
|
-
|
99
|
-
<div class="demo">
|
100
|
-
<h2>Top-End Placement</h2>
|
101
|
-
<nile-tooltip content="Tooltip at top-end does it work even lets chec What is Lorem Ipsum?
|
102
|
-
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
|
103
|
-
|
104
|
-
Why do we use it?
|
105
|
-
It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point ok" placement="top-end">
|
106
|
-
<button>Hover over me</button>
|
107
|
-
</nile-tooltip>
|
108
|
-
</div>
|
109
|
-
|
110
|
-
<div class="demo">
|
111
|
-
<h2>Right Placement</h2>
|
112
|
-
<nile-tooltip content="Tooltip at right What is Lorem Ipsum?
|
113
|
-
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
|
114
|
-
|
115
|
-
Why do we use it?
|
116
|
-
It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point o" placement="right">
|
117
|
-
<button>Hover over me</button>
|
118
|
-
</nile-tooltip>
|
119
|
-
</div>
|
120
|
-
|
121
|
-
<div class="demo">
|
122
|
-
<h2>Right-Start Placement</h2>
|
123
|
-
<nile-tooltip content="Tooltip at right-start does it work even lets check What is Lorem Ipsum?
|
124
|
-
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
|
125
|
-
|
126
|
-
Why do we use it?
|
127
|
-
It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point o" placement="right-start">
|
128
|
-
<button>Hover over me</button>
|
129
|
-
</nile-tooltip>
|
130
|
-
</div>
|
131
|
-
|
132
|
-
<div class="demo">
|
133
|
-
<h2>Right-End Placement</h2>
|
134
|
-
<nile-tooltip content="Tooltip at right-end does it work even lets check What is Lorem Ipsum?
|
135
|
-
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
|
136
|
-
|
137
|
-
Why do we use it?
|
138
|
-
It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point o" placement="right-end">
|
139
|
-
<button>Hover over me</button>
|
140
|
-
</nile-tooltip>
|
141
|
-
</div>
|
142
|
-
|
143
|
-
<div class="demo">
|
144
|
-
<h2>Bottom Placement</h2>
|
145
|
-
<nile-tooltip content="Tooltip at bottom What is Lorem Ipsum?
|
146
|
-
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
|
147
|
-
|
148
|
-
Why do we use it?
|
149
|
-
It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point o " placement="bottom">
|
150
|
-
<button>Hover over me</button>
|
151
|
-
</nile-tooltip>
|
152
|
-
</div>
|
153
|
-
|
154
|
-
<div class="demo">
|
155
|
-
<h2>Bottom-Start Placement</h2>
|
156
|
-
<nile-tooltip content="Tooltip at bottom-start What is Lorem Ipsum?
|
157
|
-
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
|
158
|
-
|
159
|
-
Why do we use it?
|
160
|
-
It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point odoes it work even lets check" placement="bottom-start">
|
161
|
-
<button>Hover over me</button>
|
162
|
-
</nile-tooltip>
|
163
|
-
</div>
|
164
|
-
|
165
|
-
<div class="demo">
|
166
|
-
<h2>Bottom-End Placement</h2>
|
167
|
-
<nile-tooltip content="Tooltip at bottom-end does i What is Lorem Ipsum?
|
168
|
-
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
|
169
|
-
|
170
|
-
Why do we use it?
|
171
|
-
It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point ot work even lets check" placement="bottom-end">
|
172
|
-
<button>Hover over me</button>
|
173
|
-
</nile-tooltip>
|
174
|
-
</div>
|
175
|
-
|
176
|
-
<div class="demo">
|
177
|
-
<h2>Left Placement</h2>
|
178
|
-
<nile-tooltip content="Tooltip at
|
179
|
-
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum h" placement="left">
|
180
|
-
<button>Hover over me</button>
|
181
|
-
</nile-tooltip>
|
182
|
-
</div>
|
183
|
-
|
184
|
-
<div class="demo">
|
185
|
-
<h2>Left-Start Placement</h2>
|
186
|
-
<nile-tooltip content="Tooltip at left-start doe What is Lorem Ipsum?
|
187
|
-
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
|
188
|
-
|
189
|
-
Why do we use it?
|
190
|
-
It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point os it work even lets check" placement="left-start">
|
191
|
-
<button>Hover over me</button>
|
192
|
-
</nile-tooltip>
|
193
|
-
</div>
|
194
|
-
|
195
|
-
<div class="demo">
|
196
|
-
<h2>Left-End Placement</h2>
|
197
|
-
<nile-tooltip content=" Tooltip at bottom-start does it work even lets check
|
10
|
+
<style>
|
11
|
+
.flex-container {
|
12
|
+
display: flex;
|
13
|
+
flex-wrap: wrap;
|
14
|
+
gap: 30px;
|
15
|
+
padding: 0;
|
16
|
+
margin: 0;
|
17
|
+
border: 1px solid silver;
|
18
|
+
height: 900px;
|
19
|
+
}
|
20
|
+
|
21
|
+
nile-button {
|
22
|
+
flex: 0 0 auto;
|
23
|
+
height: 38px;
|
24
|
+
}
|
25
|
+
</style>
|
198
26
|
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
</nile-tooltip>
|
209
|
-
</div>
|
210
|
-
</div>
|
211
|
-
|
212
|
-
|
213
|
-
<!-- Tooltip with right-end placement and skidding -->
|
214
|
-
<div class="demo">
|
215
|
-
<h2>Right-End Placement with Skidding</h2>
|
216
|
-
<nile-tooltip content="Tooltip right-end with skidding" placement="right-end" skidding="80">
|
217
|
-
<button>Hover over me</button>
|
218
|
-
</nile-tooltip>
|
219
|
-
</div>
|
220
|
-
|
221
|
-
<!-- Tooltip with increased distance -->
|
222
|
-
<div class="demo">
|
223
|
-
<h2>Increased Distance (20px)</h2>
|
224
|
-
<nile-tooltip content="Tooltip with 20px distance" distance="20">
|
225
|
-
<button>Hover over me</button>
|
226
|
-
</nile-tooltip>
|
227
|
-
</div>
|
228
|
-
|
229
|
-
<!-- Tooltip triggered by click -->
|
230
|
-
<div class="demo">
|
231
|
-
<h2>Click Trigger</h2>
|
232
|
-
<nile-tooltip content="Tooltip triggered by click" placement="left" trigger="click">
|
233
|
-
<nile-button>Click me</nile-button>
|
234
|
-
</nile-tooltip>
|
235
|
-
</div>
|
236
|
-
|
237
|
-
<!-- Tooltip that is open by default -->
|
238
|
-
<div class="demo">
|
239
|
-
<h2>Open by Default</h2>
|
240
|
-
<nile-tooltip content="Tooltip open by default of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like)." open>
|
241
|
-
<button>Tooltip is open</button>
|
242
|
-
</nile-tooltip>
|
243
|
-
</div>
|
244
|
-
|
245
|
-
<!-- Disabled tooltip (should not show) -->
|
246
|
-
<div class="demo">
|
247
|
-
<h2>Disabled Tooltip</h2>
|
248
|
-
<nile-tooltip content="This tooltip should not appear " disabled>
|
249
|
-
<button>Hover over me (disabled)</button>
|
250
|
-
</nile-tooltip>
|
251
|
-
</div>
|
252
|
-
|
253
|
-
<!-- Hoisted tooltip inside an overflow container -->
|
254
|
-
<div class="demo">
|
255
|
-
<h2>Hoisted Tooltip (within overflow container)</h2>
|
256
|
-
<div class="overflow-container">
|
257
|
-
<nile-tooltip content="This tooltip is hoisted" placement="top" hoist>
|
258
|
-
<button>Hover over me</button>
|
259
|
-
</nile-tooltip>
|
27
|
+
<body>
|
28
|
+
<div style="padding: 30px;">
|
29
|
+
<nile-progress-bar value="80"></nile-progress-bar>
|
30
|
+
</div>
|
31
|
+
<div style="padding: 30px;">
|
32
|
+
<nile-circular-progressbar content="text"></nile-circular-progressbar>
|
33
|
+
<nile-circular-progressbar value="80" size="60"></nile-circular-progressbar>
|
34
|
+
<nile-circular-progressbar></nile-circular-progressbar>
|
35
|
+
<nile-circular-progressbar value="30" content=" "></nile-circular-progressbar>
|
260
36
|
</div>
|
261
|
-
</div>
|
262
|
-
<div class="test-container">
|
263
|
-
<h2> Tooltip with Slot</h2>
|
264
|
-
<nile-tooltip content="Skidded tooltip" placement="bottom">
|
265
|
-
<div slot="content">
|
266
|
-
<h1> Hi</h1>
|
267
|
-
</div>
|
268
|
-
<button>Hover me</button>
|
269
|
-
</nile-tooltip>
|
270
|
-
</div>
|
271
|
-
|
272
37
|
</body>
|
273
|
-
</html>
|
274
38
|
|
39
|
+
</html>
|