@primer/view-components 0.0.117-rc.6bf5df1d → 0.0.117
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/app/assets/javascripts/primer_view_components.js +1 -1
- package/app/assets/javascripts/primer_view_components.js.map +1 -1
- package/app/components/primer/alpha/tool_tip.js +3 -7
- package/package.json +1 -1
- package/static/audited_at.json +2 -1
- package/static/constants.json +5 -2
- package/static/statuses.json +2 -1
|
@@ -191,13 +191,9 @@ class ToolTipElement extends HTMLElement {
|
|
|
191
191
|
__classPrivateFieldGet(this, _ToolTipElement_instances, "m", _ToolTipElement_updateDirection).call(this);
|
|
192
192
|
if (!this.shadowRoot) {
|
|
193
193
|
const shadow = this.attachShadow({ mode: 'open' });
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
${this.styles()}
|
|
198
|
-
</style>
|
|
199
|
-
<slot></slot>
|
|
200
|
-
`;
|
|
194
|
+
const style = shadow.appendChild(document.createElement('style'));
|
|
195
|
+
style.textContent = this.styles();
|
|
196
|
+
shadow.appendChild(document.createElement('slot'));
|
|
201
197
|
}
|
|
202
198
|
this.hiddenFromView = true;
|
|
203
199
|
__classPrivateFieldSet(this, _ToolTipElement_allowUpdatePosition, true, "f");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@primer/view-components",
|
|
3
|
-
"version": "0.0.117
|
|
3
|
+
"version": "0.0.117",
|
|
4
4
|
"description": "ViewComponents for the Primer Design System",
|
|
5
5
|
"main": "app/assets/javascripts/primer_view_components.js",
|
|
6
6
|
"module": "app/components/primer/primer.js",
|
package/static/audited_at.json
CHANGED
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"Primer::Beta::Subhead": "",
|
|
69
69
|
"Primer::Beta::Text": "",
|
|
70
70
|
"Primer::Beta::TimelineItem": "",
|
|
71
|
-
"Primer::Beta::TimelineItem::
|
|
71
|
+
"Primer::Beta::TimelineItem::Badge": "",
|
|
72
72
|
"Primer::Beta::Truncate": "",
|
|
73
73
|
"Primer::Beta::Truncate::TruncateText": "",
|
|
74
74
|
"Primer::BlankslateComponent": "",
|
|
@@ -100,6 +100,7 @@
|
|
|
100
100
|
"Primer::TabContainerComponent": "",
|
|
101
101
|
"Primer::TimeAgoComponent": "",
|
|
102
102
|
"Primer::TimelineItemComponent": "",
|
|
103
|
+
"Primer::TimelineItemComponent::BadgeComponent": "",
|
|
103
104
|
"Primer::Tooltip": "",
|
|
104
105
|
"Primer::Truncate": ""
|
|
105
106
|
}
|
package/static/constants.json
CHANGED
|
@@ -978,9 +978,9 @@
|
|
|
978
978
|
"DEFAULT_TAG": "span"
|
|
979
979
|
},
|
|
980
980
|
"Primer::Beta::TimelineItem": {
|
|
981
|
-
"
|
|
981
|
+
"Badge": "Primer::Beta::TimelineItem::Badge"
|
|
982
982
|
},
|
|
983
|
-
"Primer::Beta::TimelineItem::
|
|
983
|
+
"Primer::Beta::TimelineItem::Badge": {
|
|
984
984
|
},
|
|
985
985
|
"Primer::Beta::Truncate": {
|
|
986
986
|
"TruncateText": "Primer::Beta::Truncate::TruncateText"
|
|
@@ -1131,6 +1131,9 @@
|
|
|
1131
1131
|
"Primer::TimeAgoComponent": {
|
|
1132
1132
|
},
|
|
1133
1133
|
"Primer::TimelineItemComponent": {
|
|
1134
|
+
"BadgeComponent": "Primer::TimelineItemComponent::BadgeComponent"
|
|
1135
|
+
},
|
|
1136
|
+
"Primer::TimelineItemComponent::BadgeComponent": {
|
|
1134
1137
|
},
|
|
1135
1138
|
"Primer::Tooltip": {
|
|
1136
1139
|
"ALIGN_DEFAULT": "default",
|
package/static/statuses.json
CHANGED
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"Primer::Beta::Subhead": "beta",
|
|
69
69
|
"Primer::Beta::Text": "beta",
|
|
70
70
|
"Primer::Beta::TimelineItem": "beta",
|
|
71
|
-
"Primer::Beta::TimelineItem::
|
|
71
|
+
"Primer::Beta::TimelineItem::Badge": "beta",
|
|
72
72
|
"Primer::Beta::Truncate": "beta",
|
|
73
73
|
"Primer::Beta::Truncate::TruncateText": "alpha",
|
|
74
74
|
"Primer::BlankslateComponent": "deprecated",
|
|
@@ -100,6 +100,7 @@
|
|
|
100
100
|
"Primer::TabContainerComponent": "deprecated",
|
|
101
101
|
"Primer::TimeAgoComponent": "deprecated",
|
|
102
102
|
"Primer::TimelineItemComponent": "deprecated",
|
|
103
|
+
"Primer::TimelineItemComponent::BadgeComponent": "deprecated",
|
|
103
104
|
"Primer::Tooltip": "deprecated",
|
|
104
105
|
"Primer::Truncate": "beta"
|
|
105
106
|
}
|