completion-kit 0.5.15 → 0.5.16

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c9c349e12b1fb11eccb4b691dfac14e86bceda2cac6718523e9d3a9e0516698d
4
- data.tar.gz: 43374b6f2a44ad5cfc44ac307ad6ba933c61262f79cfc1dd8797cdabef52fd87
3
+ metadata.gz: 44ca1ebf41c36d1a0db28cd7963d28dce2fad193b58a260bfdef5557208ffd1b
4
+ data.tar.gz: 82b93baa3544e4522c8e9f7551d0d23fb51bf22f9b6fab48664862c4cd96a084
5
5
  SHA512:
6
- metadata.gz: 33ed9038a4416e3d3929b7a18757779e5c406f4b4b3cdb1d8bf0ce945f6a8ceac4606d467068b4710a53f86c544a6fbe5fd6b56473ff9d4c7da2ac0f11cb2a13
7
- data.tar.gz: 0c907dae8acd807f60061c79213022cdb12bc33c627080d2e85be2954345fea1335eb38fed99ccfe95c9d3f470be1d90e9e3f5a636180ab43648328fd30749b1
6
+ metadata.gz: 9c51360d6a20ce128f039953cfcf1c4eff81db63676c034a0e20f1d2506ccc4e8b46ce70137c503ce0c35d4f307f8e912c84363740434667f4f7d3d2c7850efd
7
+ data.tar.gz: f8481312aec99fbfee9a5ca4e29fd12da91b3af4196ced84f831133b5b9f55ec4fdbadbca6cb0a853d85fbc002c1c9d916a65cc259e82f5bf7875d531639605e
@@ -1080,10 +1080,13 @@ tr:hover .ck-chip--publish {
1080
1080
 
1081
1081
  .ck-model-table {
1082
1082
  width: 100%;
1083
+ table-layout: fixed;
1083
1084
  border-collapse: collapse;
1084
1085
  font-family: var(--ck-mono);
1085
1086
  font-size: 0.8rem;
1086
1087
  }
1088
+ .ck-model-table th.ck-model-table__name,
1089
+ .ck-model-table td.ck-model-table__name { width: auto; }
1087
1090
 
1088
1091
  .ck-model-table thead th {
1089
1092
  position: sticky;
@@ -1998,6 +2001,7 @@ select.ck-input {
1998
2001
 
1999
2002
  .ck-results-table {
2000
2003
  width: 100%;
2004
+ table-layout: fixed;
2001
2005
  border-collapse: separate;
2002
2006
  border-spacing: 0;
2003
2007
  border: 1px solid var(--ck-line);
@@ -3055,11 +3059,12 @@ select.ck-input {
3055
3059
  white-space: nowrap;
3056
3060
  }
3057
3061
 
3058
- .ck-prompts-table th:nth-child(n+2),
3059
- .ck-prompts-table td:nth-child(n+2) {
3060
- width: 1%;
3061
- white-space: nowrap;
3062
- }
3062
+ .ck-prompts-table th:nth-child(1), .ck-prompts-table td:nth-child(1) { width: auto; }
3063
+ .ck-prompts-table th:nth-child(2), .ck-prompts-table td:nth-child(2) { width: 6rem; white-space: nowrap; }
3064
+ .ck-prompts-table th:nth-child(3), .ck-prompts-table td:nth-child(3) { width: 12rem; white-space: nowrap; }
3065
+ .ck-prompts-table th:nth-child(4), .ck-prompts-table td:nth-child(4) { width: 7.5rem; white-space: nowrap; }
3066
+ .ck-prompts-table th:nth-child(5), .ck-prompts-table td:nth-child(5) { width: 7.5rem; white-space: nowrap; }
3067
+ .ck-prompts-table th:nth-child(6), .ck-prompts-table td:nth-child(6) { width: 3rem; }
3063
3068
 
3064
3069
  .ck-prompts-table__runs {
3065
3070
  display: flex;
@@ -3113,14 +3118,9 @@ select.ck-input {
3113
3118
  overflow: hidden;
3114
3119
  }
3115
3120
 
3116
- .ck-tags-table th:first-child,
3117
- .ck-tags-table td:first-child {
3118
- width: 35%;
3119
- }
3120
- .ck-tags-table th:nth-child(2),
3121
- .ck-tags-table td:nth-child(2) {
3122
- width: 60%;
3123
- }
3121
+ .ck-tags-table th:nth-child(1), .ck-tags-table td:nth-child(1) { width: 14rem; }
3122
+ .ck-tags-table th:nth-child(2), .ck-tags-table td:nth-child(2) { width: auto; }
3123
+ .ck-tags-table th:nth-child(3), .ck-tags-table td:nth-child(3) { width: 3rem; }
3124
3124
  .tag-mark.tag-mark--lg {
3125
3125
  padding: 4px 10px;
3126
3126
  font-size: 0.8rem;
@@ -3172,6 +3172,33 @@ select.ck-input {
3172
3172
  cursor: pointer;
3173
3173
  }
3174
3174
 
3175
+ .ck-metrics-table th:nth-child(1), .ck-metrics-table td:nth-child(1) { width: 16rem; white-space: nowrap; }
3176
+ .ck-metrics-table th:nth-child(2), .ck-metrics-table td:nth-child(2) { width: auto; }
3177
+ .ck-metrics-table th:nth-child(3), .ck-metrics-table td:nth-child(3) { width: 16rem; }
3178
+ .ck-metrics-table th:nth-child(4), .ck-metrics-table td:nth-child(4) { width: 3rem; }
3179
+
3180
+ .ck-datasets-table th:nth-child(1), .ck-datasets-table td:nth-child(1) { width: auto; }
3181
+ .ck-datasets-table th:nth-child(2), .ck-datasets-table td:nth-child(2) { width: 5rem; white-space: nowrap; }
3182
+ .ck-datasets-table th:nth-child(3), .ck-datasets-table td:nth-child(3) { width: 8rem; white-space: nowrap; }
3183
+ .ck-datasets-table th:nth-child(4), .ck-datasets-table td:nth-child(4) { width: 9rem; white-space: nowrap; }
3184
+ .ck-datasets-table th:nth-child(5), .ck-datasets-table td:nth-child(5) { width: 3rem; }
3185
+
3186
+ .ck-metric-groups-table th:nth-child(1), .ck-metric-groups-table td:nth-child(1) { width: 16rem; white-space: nowrap; }
3187
+ .ck-metric-groups-table th:nth-child(2), .ck-metric-groups-table td:nth-child(2) { width: auto; }
3188
+ .ck-metric-groups-table th:nth-child(3), .ck-metric-groups-table td:nth-child(3) { width: 12rem; }
3189
+ .ck-metric-groups-table th:nth-child(4), .ck-metric-groups-table td:nth-child(4) { width: 3rem; }
3190
+
3191
+ .ck-prompt-versions-table th:nth-child(1), .ck-prompt-versions-table td:nth-child(1) { width: 14rem; }
3192
+ .ck-prompt-versions-table th:nth-child(2), .ck-prompt-versions-table td:nth-child(2) { width: 16rem; white-space: nowrap; }
3193
+ .ck-prompt-versions-table th:nth-child(3), .ck-prompt-versions-table td:nth-child(3) { width: 8rem; white-space: nowrap; }
3194
+ .ck-prompt-versions-table th:nth-child(4), .ck-prompt-versions-table td:nth-child(4) { width: auto; }
3195
+
3196
+ .ck-suggestions-table th:nth-child(1), .ck-suggestions-table td:nth-child(1) { width: 16rem; white-space: nowrap; }
3197
+ .ck-suggestions-table th:nth-child(2), .ck-suggestions-table td:nth-child(2) { width: auto; }
3198
+ .ck-suggestions-table th:nth-child(3), .ck-suggestions-table td:nth-child(3) { width: 6rem; white-space: nowrap; }
3199
+ .ck-suggestions-table th:nth-child(4), .ck-suggestions-table td:nth-child(4) { width: 9rem; white-space: nowrap; }
3200
+ .ck-suggestions-table th:nth-child(5), .ck-suggestions-table td:nth-child(5) { width: 3rem; }
3201
+
3175
3202
  .ck-metrics-table__groups {
3176
3203
  display: flex;
3177
3204
  flex-wrap: wrap;
@@ -3195,12 +3222,18 @@ a.ck-metric-group-pill {
3195
3222
  padding-right: 0.85rem;
3196
3223
  }
3197
3224
 
3198
- .ck-responses-table th:not(:nth-child(2)),
3199
- .ck-responses-table td:not(:nth-child(2)) {
3200
- width: 1%;
3201
- white-space: nowrap;
3202
- }
3225
+ .ck-responses-table th:nth-child(1), .ck-responses-table td:nth-child(1) { width: 3.5rem; white-space: nowrap; }
3226
+ .ck-responses-table th:nth-child(2), .ck-responses-table td:nth-child(2) { width: auto; }
3227
+ .ck-responses-table th:nth-child(3), .ck-responses-table td:nth-child(3) { width: 14rem; white-space: nowrap; }
3228
+ .ck-responses-table th:nth-child(4), .ck-responses-table td:nth-child(4) { width: 5.5rem; white-space: nowrap; }
3229
+ .ck-responses-table th:nth-child(5), .ck-responses-table td:nth-child(5) { width: 8rem; white-space: nowrap; }
3230
+ .ck-responses-table th:nth-child(6), .ck-responses-table td:nth-child(6) { width: 3rem; }
3231
+
3203
3232
 
3233
+ table.ck-runs-table {
3234
+ table-layout: fixed;
3235
+ width: 100%;
3236
+ }
3204
3237
 
3205
3238
  .ck-runs-table th {
3206
3239
  vertical-align: middle;
@@ -3215,18 +3248,36 @@ a.ck-metric-group-pill {
3215
3248
 
3216
3249
  .ck-runs-table th:first-child,
3217
3250
  .ck-runs-table td:first-child {
3218
- width: 1%;
3251
+ width: 27rem;
3219
3252
  }
3220
3253
 
3221
- .ck-runs-table th:nth-child(n+2),
3222
- .ck-runs-table td:nth-child(n+2) {
3223
- width: 1%;
3254
+ .ck-runs-table th:nth-child(2),
3255
+ .ck-runs-table td:nth-child(2) {
3256
+ width: 6rem;
3257
+ white-space: nowrap;
3258
+ }
3259
+
3260
+ .ck-runs-table th:nth-child(3),
3261
+ .ck-runs-table td:nth-child(3) {
3262
+ width: auto;
3263
+ white-space: nowrap;
3264
+ }
3265
+
3266
+ .ck-runs-table th:nth-child(4),
3267
+ .ck-runs-table td:nth-child(4) {
3268
+ width: 5.5rem;
3269
+ white-space: nowrap;
3270
+ }
3271
+
3272
+ .ck-runs-table th:nth-child(5),
3273
+ .ck-runs-table td:nth-child(5) {
3274
+ width: 9rem;
3224
3275
  white-space: nowrap;
3225
3276
  }
3226
3277
 
3227
3278
  .ck-runs-table th:last-child,
3228
3279
  .ck-runs-table td:last-child {
3229
- width: auto;
3280
+ width: 3rem;
3230
3281
  }
3231
3282
 
3232
3283
  .ck-runs-table__identity {
@@ -3848,7 +3899,7 @@ a.tag:hover, label.tag:hover { filter: brightness(1.12); }
3848
3899
  letter-spacing: 0.02em;
3849
3900
  text-transform: lowercase;
3850
3901
  white-space: nowrap;
3851
- background: color-mix(in srgb, var(--mark-color) 24%, transparent);
3902
+ background: color-mix(in srgb, var(--mark-color) 38%, transparent);
3852
3903
  color: color-mix(in srgb, var(--mark-color) 88%, var(--ck-text));
3853
3904
  }
3854
3905
 
@@ -14,7 +14,7 @@
14
14
  base_path: datasets_path %>
15
15
 
16
16
  <% if @datasets.any? %>
17
- <table class="ck-results-table">
17
+ <table class="ck-results-table ck-datasets-table">
18
18
  <thead>
19
19
  <tr>
20
20
  <th>Name</th>
@@ -19,7 +19,7 @@
19
19
  base_path: metric_groups_path %>
20
20
 
21
21
  <% if @metric_groups.any? %>
22
- <table class="ck-results-table">
22
+ <table class="ck-results-table ck-metric-groups-table">
23
23
  <thead>
24
24
  <tr>
25
25
  <th>Name</th>
@@ -53,7 +53,7 @@
53
53
  <% if versions.size > 1 %>
54
54
  <section class="ck-card--spaced">
55
55
  <p class="ck-kicker">Versions</p>
56
- <table class="ck-results-table" style="margin-top: 0.5rem;">
56
+ <table class="ck-results-table ck-prompt-versions-table" style="margin-top: 0.5rem;">
57
57
  <thead>
58
58
  <tr>
59
59
  <th>Version</th>
@@ -147,7 +147,7 @@
147
147
  <% if suggestions.any? %>
148
148
  <section class="ck-card--spaced">
149
149
  <p class="ck-kicker">Suggestions</p>
150
- <table class="ck-results-table" style="margin-top: 0.5rem;">
150
+ <table class="ck-results-table ck-suggestions-table" style="margin-top: 0.5rem;">
151
151
  <thead>
152
152
  <tr>
153
153
  <th>Run</th>
@@ -1,3 +1,3 @@
1
1
  module CompletionKit
2
- VERSION = "0.5.15"
2
+ VERSION = "0.5.16"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: completion-kit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.15
4
+ version: 0.5.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Damien Bastin