lightning_ui_kit 0.4.0 → 0.4.1
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 +4 -4
- data/app/assets/vendor/lightning_ui_kit.css +21 -12
- data/app/assets/vendor/lightning_ui_kit.js +6 -6
- data/app/components/lightning_ui_kit/chart_component.html.erb +31 -9
- data/app/components/lightning_ui_kit/chart_component.rb +317 -46
- data/app/components/lightning_ui_kit/description_list/item_component.html.erb +2 -12
- data/app/components/lightning_ui_kit/description_list/item_component.rb +28 -1
- data/app/components/lightning_ui_kit/description_list_component.html.erb +2 -2
- data/app/components/lightning_ui_kit/description_list_component.rb +27 -1
- data/app/components/lightning_ui_kit/file_input_component.rb +1 -1
- data/app/components/lightning_ui_kit/table_component.html.erb +102 -100
- data/app/components/lightning_ui_kit/table_component.rb +26 -4
- data/app/javascript/lightning_ui_kit/controllers/chart_controller.js +61 -5
- data/config/deploy.yml +1 -1
- data/lib/lightning_ui_kit/version.rb +1 -1
- data/vendor/bundle/ruby/3.4.0/cache/ostruct-0.6.3.gem +0 -0
- data/vendor/bundle/ruby/3.4.0/extensions/x86_64-linux/3.4.0/bigdecimal-4.1.2/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.4.0/extensions/x86_64-linux/3.4.0/bigdecimal-4.1.2/mkmf.log +2 -2
- data/vendor/bundle/ruby/3.4.0/extensions/x86_64-linux/3.4.0/date-3.4.1/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.4.0/extensions/x86_64-linux/3.4.0/erb-5.0.2/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.4.0/extensions/x86_64-linux/3.4.0/io-console-0.8.1/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.4.0/extensions/x86_64-linux/3.4.0/json-2.18.1/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.4.0/extensions/x86_64-linux/3.4.0/nio4r-2.7.4/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.4.0/extensions/x86_64-linux/3.4.0/prism-1.9.0/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.4.0/extensions/x86_64-linux/3.4.0/psych-5.2.6/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.4.0/extensions/x86_64-linux/3.4.0/racc-1.8.1/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.4.0/extensions/x86_64-linux/3.4.0/stringio-3.1.7/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.4.0/extensions/x86_64-linux/3.4.0/websocket-driver-0.8.0/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.4.0/gems/ostruct-0.6.3/BSDL +22 -0
- data/vendor/bundle/ruby/3.4.0/gems/ostruct-0.6.3/COPYING +56 -0
- data/vendor/bundle/ruby/3.4.0/gems/ostruct-0.6.3/Gemfile +10 -0
- data/vendor/bundle/ruby/3.4.0/gems/ostruct-0.6.3/README.md +69 -0
- data/vendor/bundle/ruby/3.4.0/gems/ostruct-0.6.3/Rakefile +18 -0
- data/vendor/bundle/ruby/3.4.0/gems/ostruct-0.6.3/bin/console +14 -0
- data/vendor/bundle/ruby/3.4.0/gems/ostruct-0.6.3/bin/setup +8 -0
- data/vendor/bundle/ruby/3.4.0/gems/ostruct-0.6.3/lib/ostruct.rb +492 -0
- data/vendor/bundle/ruby/3.4.0/gems/ostruct-0.6.3/ostruct.gemspec +26 -0
- data/vendor/bundle/ruby/3.4.0/specifications/ostruct-0.6.3.gemspec +22 -0
- metadata +12 -1
|
@@ -68,7 +68,7 @@ class LightningUiKit::FileInputComponent < LightningUiKit::BaseComponent
|
|
|
68
68
|
end
|
|
69
69
|
|
|
70
70
|
def file_input_classes
|
|
71
|
-
"lui:relative lui:block lui:w-full lui:appearance-none lui:rounded-lg lui:text-base/6 lui:text-foreground lui:placeholder:text-foreground-muted lui:sm:text-sm/6 lui:border lui:border-border lui:data-[hover]:border-border-hover lui:bg-transparent lui:focus:outline-hidden lui:data-invalid:border-destructive-border lui:data-invalid:data-[hover]:border-destructive-border lui:data-disabled:cursor-not-allowed lui:data-disabled:border-border-hover lui:data-disabled:file:cursor-not-allowed lui:file:cursor-pointer lui:cursor-pointer lui:file:border-0 lui:file:px-[calc(--spacing(3.5)-1px)] lui:file:py-[calc(--spacing(2.5)-1px)] lui:file:sm:px-[calc(--spacing(3)-1px)] lui:file:sm:py-[calc(--spacing(1.5)-1px)] lui:file:mr-4 lui:file:bg-surface-tertiary lui:file:rounded-l-[calc(var(--radius-lg)-1px)]"
|
|
71
|
+
"lui:relative lui:block lui:w-full lui:appearance-none lui:rounded-lg lui:text-base/6 lui:text-foreground lui:placeholder:text-foreground-muted lui:sm:text-sm/6 lui:border lui:border-border lui:data-[hover]:border-border-hover lui:bg-transparent lui:focus:outline-hidden lui:data-invalid:border-destructive-border lui:data-invalid:data-[hover]:border-destructive-border lui:data-disabled:cursor-not-allowed lui:data-disabled:border-border-hover lui:data-disabled:file:cursor-not-allowed lui:file:cursor-pointer lui:cursor-pointer lui:file:border-0 lui:file:px-[calc(--spacing(3.5)-1px)] lui:file:py-[calc(--spacing(2.5)-1px)] lui:file:sm:px-[calc(--spacing(3)-1px)] lui:file:sm:py-[calc(--spacing(1.5)-1px)] lui:file:mr-4 lui:file:bg-surface-tertiary lui:file:rounded-l-[calc(var(--lui-radius-lg)-1px)]"
|
|
72
72
|
end
|
|
73
73
|
|
|
74
74
|
def file_input_html_options
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<% if selectable? && bulk_actions? %>
|
|
3
3
|
<div
|
|
4
4
|
data-lui-table-target="bulkBar"
|
|
5
|
-
class="lui:absolute lui:inset-x-0 lui:top-0 lui:z-10 lui:hidden lui:h-[calc(2.5rem+1px)] lui:items-center lui:gap-4 lui:rounded-t-[calc(var(--radius-lg)-1px)] lui:border-b lui:border-b-border lui:bg-surface lui:pl-4 lui:pr-4"
|
|
5
|
+
class="lui:absolute lui:inset-x-0 lui:top-0 lui:z-10 lui:hidden lui:h-[calc(2.5rem+1px)] lui:items-center lui:gap-4 lui:rounded-t-[calc(var(--lui-radius-lg)-1px)] lui:border-b lui:border-b-border lui:bg-surface lui:pl-4 lui:pr-4"
|
|
6
6
|
>
|
|
7
7
|
<span class="lui:group/cb lui:relative lui:inline-flex lui:items-center lui:justify-center">
|
|
8
8
|
<input
|
|
@@ -25,107 +25,109 @@
|
|
|
25
25
|
</div>
|
|
26
26
|
</div>
|
|
27
27
|
<% end %>
|
|
28
|
-
<
|
|
29
|
-
<
|
|
30
|
-
<
|
|
31
|
-
<% if selectable? %>
|
|
32
|
-
<th scope="col" class="lui:w-px lui:border-b lui:border-b-border lui:py-2 lui:pl-4 lui:pr-2">
|
|
33
|
-
<span class="lui:group/cb lui:relative lui:inline-flex lui:items-center lui:justify-center lui:align-middle">
|
|
34
|
-
<input
|
|
35
|
-
type="checkbox"
|
|
36
|
-
class="<%= checkbox_input_classes %>"
|
|
37
|
-
aria-label="Select all"
|
|
38
|
-
data-lui-table-target="selectAll"
|
|
39
|
-
data-action="change->lui-table#toggleAll"
|
|
40
|
-
>
|
|
41
|
-
<svg class="<%= checkbox_icon_classes %>" viewBox="0 0 14 14" fill="none">
|
|
42
|
-
<path class="lui:group-has-[:indeterminate]/cb:opacity-0" d="M3 8L6 11L11 3.5" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
|
|
43
|
-
<path class="lui:opacity-0 lui:group-has-[:indeterminate]/cb:opacity-100" d="M3 7H11" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
|
|
44
|
-
</svg>
|
|
45
|
-
</span>
|
|
46
|
-
</th>
|
|
47
|
-
<% end %>
|
|
48
|
-
<% columns.each do |column| %>
|
|
49
|
-
<th
|
|
50
|
-
scope="col"
|
|
51
|
-
class="lui:border-b lui:border-b-border lui:px-4 lui:py-2 lui:font-medium <%= column.alignment_classes %>"
|
|
52
|
-
<% if aria_sort(column) %>aria-sort="<%= aria_sort(column) %>"<% end %>
|
|
53
|
-
>
|
|
54
|
-
<% if column.sortable? %>
|
|
55
|
-
<a
|
|
56
|
-
href="<%= sort_url(column) %>"
|
|
57
|
-
class="lui:group/sort lui:inline-flex lui:items-center lui:gap-1 lui:hover:text-foreground <%= "lui:text-foreground" if sorted_by?(column) %>"
|
|
58
|
-
>
|
|
59
|
-
<%= column.title %>
|
|
60
|
-
<%= heroicon(sort_icon(column), variant: :outline, options: {class: "lui:size-3.5 lui:shrink-0 #{"lui:text-foreground-faint lui:group-hover/sort:text-foreground-muted" unless sorted_by?(column)}"}) %>
|
|
61
|
-
</a>
|
|
62
|
-
<% else %>
|
|
63
|
-
<%= column.title %>
|
|
64
|
-
<% end %>
|
|
65
|
-
</th>
|
|
66
|
-
<% end %>
|
|
67
|
-
<% if actions.present? %>
|
|
68
|
-
<th scope="col" class="lui:border-b lui:border-b-border lui:px-4 lui:py-2 lui:font-medium"><%= @actions_title %></th>
|
|
69
|
-
<% end %>
|
|
70
|
-
</tr>
|
|
71
|
-
</thead>
|
|
72
|
-
<tbody>
|
|
73
|
-
<% if @data.empty? %>
|
|
28
|
+
<div class="lui:overflow-x-auto lui:rounded-[calc(var(--lui-radius-lg)-1px)] lui:border-inherit">
|
|
29
|
+
<table class="lui:w-full lui:text-left lui:text-sm/6 lui:text-foreground lui:border-collapse lui:border-inherit">
|
|
30
|
+
<thead class="lui:text-foreground-muted">
|
|
74
31
|
<tr>
|
|
75
|
-
|
|
76
|
-
<
|
|
77
|
-
|
|
32
|
+
<% if selectable? %>
|
|
33
|
+
<th scope="col" class="lui:w-px lui:border-b lui:border-b-border lui:py-2 lui:pl-4 lui:pr-2">
|
|
34
|
+
<span class="lui:group/cb lui:relative lui:inline-flex lui:items-center lui:justify-center lui:align-middle">
|
|
35
|
+
<input
|
|
36
|
+
type="checkbox"
|
|
37
|
+
class="<%= checkbox_input_classes %>"
|
|
38
|
+
aria-label="Select all"
|
|
39
|
+
data-lui-table-target="selectAll"
|
|
40
|
+
data-action="change->lui-table#toggleAll"
|
|
41
|
+
>
|
|
42
|
+
<svg class="<%= checkbox_icon_classes %>" viewBox="0 0 14 14" fill="none">
|
|
43
|
+
<path class="lui:group-has-[:indeterminate]/cb:opacity-0" d="M3 8L6 11L11 3.5" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
|
|
44
|
+
<path class="lui:opacity-0 lui:group-has-[:indeterminate]/cb:opacity-100" d="M3 7H11" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
|
|
45
|
+
</svg>
|
|
46
|
+
</span>
|
|
47
|
+
</th>
|
|
48
|
+
<% end %>
|
|
49
|
+
<% columns.each do |column| %>
|
|
50
|
+
<th
|
|
51
|
+
scope="col"
|
|
52
|
+
class="lui:border-b lui:border-b-border lui:px-4 lui:py-2 lui:font-medium lui:whitespace-nowrap <%= column.alignment_classes %>"
|
|
53
|
+
<% if aria_sort(column) %>aria-sort="<%= aria_sort(column) %>"<% end %>
|
|
54
|
+
>
|
|
55
|
+
<% if column.sortable? %>
|
|
56
|
+
<a
|
|
57
|
+
href="<%= sort_url(column) %>"
|
|
58
|
+
class="lui:group/sort lui:inline-flex lui:items-center lui:gap-1 lui:hover:text-foreground <%= "lui:text-foreground" if sorted_by?(column) %>"
|
|
59
|
+
>
|
|
60
|
+
<%= column.title %>
|
|
61
|
+
<%= heroicon(sort_icon(column), variant: :outline, options: {class: "lui:size-3.5 lui:shrink-0 #{"lui:text-foreground-faint lui:group-hover/sort:text-foreground-muted" unless sorted_by?(column)}"}) %>
|
|
62
|
+
</a>
|
|
63
|
+
<% else %>
|
|
64
|
+
<%= column.title %>
|
|
65
|
+
<% end %>
|
|
66
|
+
</th>
|
|
67
|
+
<% end %>
|
|
68
|
+
<% if actions.present? %>
|
|
69
|
+
<th scope="col" class="lui:border-b lui:border-b-border lui:px-4 lui:py-2 lui:font-medium lui:whitespace-nowrap"><%= @actions_title %></th>
|
|
70
|
+
<% end %>
|
|
78
71
|
</tr>
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
<tr
|
|
83
|
-
class="lui:
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
data-action="click->lui-table#visitRow"
|
|
87
|
-
<% elsif selectable? %>
|
|
88
|
-
data-action="click->lui-table#toggleRow"
|
|
89
|
-
<% end %>
|
|
90
|
-
>
|
|
91
|
-
<% if selectable? %>
|
|
92
|
-
<td
|
|
93
|
-
class="lui:w-px lui:border-b lui:border-border-subtle lui:group-last:border-b-0 lui:py-4 lui:pl-4 lui:pr-2"
|
|
94
|
-
data-action="click->lui-table#toggleCell"
|
|
95
|
-
>
|
|
96
|
-
<span class="lui:relative lui:inline-flex lui:items-center lui:justify-center lui:align-middle">
|
|
97
|
-
<input
|
|
98
|
-
type="checkbox"
|
|
99
|
-
name="<%= @select_name %>"
|
|
100
|
-
value="<%= row_value(row) %>"
|
|
101
|
-
class="<%= checkbox_input_classes %>"
|
|
102
|
-
aria-label="Select row"
|
|
103
|
-
data-lui-table-target="rowCheckbox"
|
|
104
|
-
data-action="change->lui-table#update"
|
|
105
|
-
>
|
|
106
|
-
<svg class="<%= checkbox_icon_classes %>" viewBox="0 0 14 14" fill="none">
|
|
107
|
-
<path d="M3 8L6 11L11 3.5" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
|
|
108
|
-
</svg>
|
|
109
|
-
</span>
|
|
110
|
-
</td>
|
|
111
|
-
<% end %>
|
|
112
|
-
<% columns.each do |column| %>
|
|
113
|
-
<td class="lui:p-4 lui:border-b lui:border-border-subtle lui:group-last:border-b-0 lui:break-words <%= column.alignment_classes %>">
|
|
114
|
-
<%= column.call(row) %>
|
|
115
|
-
</td>
|
|
116
|
-
<% end %>
|
|
117
|
-
<% if actions.present? %>
|
|
118
|
-
<td class="lui:p-4 lui:border-b lui:border-border-subtle lui:group-last:border-b-0 lui:break-words">
|
|
119
|
-
<div class="lui:flex lui:gap-3">
|
|
120
|
-
<% actions.each do |action| %>
|
|
121
|
-
<%= action.call(row) %>
|
|
122
|
-
<% end %>
|
|
123
|
-
</div>
|
|
124
|
-
</td>
|
|
125
|
-
<% end %>
|
|
72
|
+
</thead>
|
|
73
|
+
<tbody>
|
|
74
|
+
<% if @data.empty? %>
|
|
75
|
+
<tr>
|
|
76
|
+
<td class="lui:p-4 lui:text-center lui:break-words" colspan="<%= colspan %>">
|
|
77
|
+
<p class="lui:font-medium"><%= @empty_message %></p>
|
|
78
|
+
</td>
|
|
126
79
|
</tr>
|
|
80
|
+
<% else %>
|
|
81
|
+
<% @data.each do |row| %>
|
|
82
|
+
<% url = row_url_for(row) %>
|
|
83
|
+
<tr
|
|
84
|
+
class="lui:group lui:data-selected:bg-surface-hover <%= "lui:cursor-pointer lui:hover:bg-surface-hover" if url || selectable? %>"
|
|
85
|
+
<% if url %>
|
|
86
|
+
data-url="<%= url %>"
|
|
87
|
+
data-action="click->lui-table#visitRow"
|
|
88
|
+
<% elsif selectable? %>
|
|
89
|
+
data-action="click->lui-table#toggleRow"
|
|
90
|
+
<% end %>
|
|
91
|
+
>
|
|
92
|
+
<% if selectable? %>
|
|
93
|
+
<td
|
|
94
|
+
class="lui:w-px lui:border-b lui:border-border-subtle lui:group-last:border-b-0 lui:py-4 lui:pl-4 lui:pr-2"
|
|
95
|
+
data-action="click->lui-table#toggleCell"
|
|
96
|
+
>
|
|
97
|
+
<span class="lui:relative lui:inline-flex lui:items-center lui:justify-center lui:align-middle">
|
|
98
|
+
<input
|
|
99
|
+
type="checkbox"
|
|
100
|
+
name="<%= @select_name %>"
|
|
101
|
+
value="<%= row_value(row) %>"
|
|
102
|
+
class="<%= checkbox_input_classes %>"
|
|
103
|
+
aria-label="Select row"
|
|
104
|
+
data-lui-table-target="rowCheckbox"
|
|
105
|
+
data-action="change->lui-table#update"
|
|
106
|
+
>
|
|
107
|
+
<svg class="<%= checkbox_icon_classes %>" viewBox="0 0 14 14" fill="none">
|
|
108
|
+
<path d="M3 8L6 11L11 3.5" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
|
|
109
|
+
</svg>
|
|
110
|
+
</span>
|
|
111
|
+
</td>
|
|
112
|
+
<% end %>
|
|
113
|
+
<% columns.each do |column| %>
|
|
114
|
+
<td class="lui:p-4 lui:border-b lui:border-border-subtle lui:group-last:border-b-0 lui:whitespace-nowrap <%= column.alignment_classes %>">
|
|
115
|
+
<%= column.call(row) %>
|
|
116
|
+
</td>
|
|
117
|
+
<% end %>
|
|
118
|
+
<% if actions.present? %>
|
|
119
|
+
<td class="lui:p-4 lui:border-b lui:border-border-subtle lui:group-last:border-b-0 lui:whitespace-nowrap">
|
|
120
|
+
<div class="lui:flex lui:gap-3">
|
|
121
|
+
<% actions.each do |action| %>
|
|
122
|
+
<%= action.call(row) %>
|
|
123
|
+
<% end %>
|
|
124
|
+
</div>
|
|
125
|
+
</td>
|
|
126
|
+
<% end %>
|
|
127
|
+
</tr>
|
|
128
|
+
<% end %>
|
|
127
129
|
<% end %>
|
|
128
|
-
|
|
129
|
-
</
|
|
130
|
-
</
|
|
130
|
+
</tbody>
|
|
131
|
+
</table>
|
|
132
|
+
</div>
|
|
131
133
|
</div>
|
|
@@ -1,12 +1,26 @@
|
|
|
1
1
|
class LightningUiKit::TableComponent < LightningUiKit::BaseComponent
|
|
2
|
-
renders_many :columns, ->(title, sort_key: nil, align: :left,
|
|
3
|
-
LightningUiKit::Table::ColumnComponent.new(title, sort_key: sort_key, align: align, &
|
|
2
|
+
renders_many :columns, ->(title, sort_key: nil, align: :left, cell: nil) do
|
|
3
|
+
LightningUiKit::Table::ColumnComponent.new(title, sort_key: sort_key, align: align) { |row| capture_cell(row, &cell) }
|
|
4
4
|
end
|
|
5
|
-
renders_many :actions, ->(
|
|
6
|
-
LightningUiKit::Table::ActionComponent.new(&
|
|
5
|
+
renders_many :actions, ->(cell: nil) do
|
|
6
|
+
LightningUiKit::Table::ActionComponent.new { |row| capture_cell(row, &cell) }
|
|
7
7
|
end
|
|
8
8
|
renders_one :bulk_actions
|
|
9
9
|
|
|
10
|
+
# ViewComponent funnels slot blocks through Rails' `capture`, which discards
|
|
11
|
+
# non-String return values (Integers, Dates, ...), rendering blank cells.
|
|
12
|
+
# Route blocks around that wrapper via the cell: argument so capture_cell
|
|
13
|
+
# can evaluate them instead.
|
|
14
|
+
alias_method :__with_column_slot, :with_column
|
|
15
|
+
def with_column(title, sort_key: nil, align: :left, &block)
|
|
16
|
+
__with_column_slot(title, sort_key: sort_key, align: align, cell: block)
|
|
17
|
+
end
|
|
18
|
+
|
|
19
|
+
alias_method :__with_action_slot, :with_action
|
|
20
|
+
def with_action(&block)
|
|
21
|
+
__with_action_slot(cell: block)
|
|
22
|
+
end
|
|
23
|
+
|
|
10
24
|
def initialize(
|
|
11
25
|
data:,
|
|
12
26
|
selectable: false,
|
|
@@ -123,6 +137,14 @@ class LightningUiKit::TableComponent < LightningUiKit::BaseComponent
|
|
|
123
137
|
|
|
124
138
|
private
|
|
125
139
|
|
|
140
|
+
# Like Rails' `capture`, but preserves non-String block values so ERB can
|
|
141
|
+
# `to_s` them: buffered markup wins, otherwise the raw value passes through.
|
|
142
|
+
def capture_cell(row, &block)
|
|
143
|
+
value = nil
|
|
144
|
+
buffer = view_context.with_output_buffer { value = block.call(row) }
|
|
145
|
+
buffer.presence || value
|
|
146
|
+
end
|
|
147
|
+
|
|
126
148
|
def sort_state
|
|
127
149
|
@sort_state ||= begin
|
|
128
150
|
url_key = current_query_parameters[@sort_param.to_s].to_s
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { Controller } from "@hotwired/stimulus"
|
|
2
2
|
|
|
3
3
|
export default class extends Controller {
|
|
4
|
-
static targets = ["tooltip"]
|
|
4
|
+
static targets = ["tooltip", "cursor", "markers"]
|
|
5
5
|
|
|
6
6
|
show(event) {
|
|
7
|
+
const el = event.currentTarget
|
|
8
|
+
this.trackCursor(el)
|
|
7
9
|
if (!this.hasTooltipTarget) return
|
|
8
10
|
|
|
9
|
-
const el = event.currentTarget
|
|
10
11
|
const label = el.dataset.label || ""
|
|
11
12
|
let items = []
|
|
12
13
|
try {
|
|
@@ -18,12 +19,12 @@ export default class extends Controller {
|
|
|
18
19
|
const rows = items.map((item) => `
|
|
19
20
|
<div class="lui:flex lui:items-center lui:justify-between lui:gap-4">
|
|
20
21
|
<span class="lui:flex lui:items-center lui:gap-1.5 lui:text-foreground-muted">
|
|
21
|
-
<span class="lui:size-2 lui:shrink-0 lui:rounded-[2px]" style="background-color:${item.color}"></span>${item.label}
|
|
22
|
+
<span class="lui:size-2.5 lui:shrink-0 lui:rounded-[2px]" style="background-color:${this.escapeHtml(item.color)}"></span>${this.escapeHtml(item.label)}
|
|
22
23
|
</span>
|
|
23
|
-
<span class="lui:font-medium lui:text-foreground lui:tabular-nums">${item.value}</span>
|
|
24
|
+
<span class="lui:font-medium lui:text-foreground lui:tabular-nums">${this.escapeHtml(item.value)}</span>
|
|
24
25
|
</div>`).join("")
|
|
25
26
|
|
|
26
|
-
this.tooltipTarget.innerHTML = `<div class="lui:
|
|
27
|
+
this.tooltipTarget.innerHTML = `<div class="lui:font-medium lui:text-foreground">${this.escapeHtml(label)}</div>${rows}`
|
|
27
28
|
this.tooltipTarget.classList.remove("lui:hidden")
|
|
28
29
|
this.position(event)
|
|
29
30
|
}
|
|
@@ -34,9 +35,64 @@ export default class extends Controller {
|
|
|
34
35
|
|
|
35
36
|
hide() {
|
|
36
37
|
if (this.hasTooltipTarget) this.tooltipTarget.classList.add("lui:hidden")
|
|
38
|
+
if (this.hasCursorTarget) this.cursorTarget.style.display = "none"
|
|
39
|
+
if (this.hasMarkersTarget) this.markersTarget.style.display = "none"
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
// Moves the vertical cursor (or bar band) and one active dot per series onto
|
|
43
|
+
// the hovered column.
|
|
44
|
+
trackCursor(el) {
|
|
45
|
+
const x = el.dataset.cursorX
|
|
46
|
+
|
|
47
|
+
if (this.hasCursorTarget) {
|
|
48
|
+
const line = this.cursorTarget.querySelector('[data-role="cursor-line"]')
|
|
49
|
+
if (line) {
|
|
50
|
+
line.setAttribute("x1", x)
|
|
51
|
+
line.setAttribute("x2", x)
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
const band = this.cursorTarget.querySelector('[data-role="cursor-band"]')
|
|
55
|
+
if (band) {
|
|
56
|
+
band.setAttribute("x", el.getAttribute("x"))
|
|
57
|
+
band.setAttribute("width", el.getAttribute("width"))
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
this.cursorTarget.style.display = ""
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
if (!this.hasMarkersTarget) return
|
|
64
|
+
|
|
65
|
+
let markers = []
|
|
66
|
+
try {
|
|
67
|
+
markers = JSON.parse(el.dataset.markers || "[]")
|
|
68
|
+
} catch (_) {
|
|
69
|
+
markers = []
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
this.markersTarget.querySelectorAll('[data-role="active-dot"]').forEach((dot, i) => {
|
|
73
|
+
const y = markers[i]
|
|
74
|
+
if (y === null || y === undefined) {
|
|
75
|
+
dot.style.display = "none"
|
|
76
|
+
return
|
|
77
|
+
}
|
|
78
|
+
dot.setAttribute("cx", x)
|
|
79
|
+
dot.setAttribute("cy", y)
|
|
80
|
+
dot.style.display = ""
|
|
81
|
+
})
|
|
82
|
+
this.markersTarget.style.display = ""
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
// Labels, series names and y_format: output are caller-supplied, so they are
|
|
86
|
+
// escaped before going into innerHTML.
|
|
87
|
+
escapeHtml(text) {
|
|
88
|
+
const div = document.createElement("div")
|
|
89
|
+
div.textContent = text ?? ""
|
|
90
|
+
return div.innerHTML
|
|
37
91
|
}
|
|
38
92
|
|
|
39
93
|
position(event) {
|
|
94
|
+
if (!this.hasTooltipTarget) return
|
|
95
|
+
|
|
40
96
|
const rect = this.element.getBoundingClientRect()
|
|
41
97
|
const tip = this.tooltipTarget
|
|
42
98
|
const x = event.clientX - rect.left
|
data/config/deploy.yml
CHANGED
|
Binary file
|
|
@@ -23,17 +23,17 @@ checking for RUBY_TYPED_EMBEDDABLE in ruby.h... yes
|
|
|
23
23
|
creating Makefile
|
|
24
24
|
|
|
25
25
|
current directory: /home/runner/work/lightning_ui_kit/lightning_ui_kit/vendor/bundle/ruby/3.4.0/gems/bigdecimal-4.1.2/ext/bigdecimal
|
|
26
|
-
make DESTDIR\= sitearchdir\=./.gem.
|
|
26
|
+
make DESTDIR\= sitearchdir\=./.gem.20260821-2353-6yd3wo sitelibdir\=./.gem.20260821-2353-6yd3wo clean
|
|
27
27
|
|
|
28
28
|
current directory: /home/runner/work/lightning_ui_kit/lightning_ui_kit/vendor/bundle/ruby/3.4.0/gems/bigdecimal-4.1.2/ext/bigdecimal
|
|
29
|
-
make DESTDIR\= sitearchdir\=./.gem.
|
|
29
|
+
make DESTDIR\= sitearchdir\=./.gem.20260821-2353-6yd3wo sitelibdir\=./.gem.20260821-2353-6yd3wo
|
|
30
30
|
compiling bigdecimal.c
|
|
31
31
|
compiling missing.c
|
|
32
32
|
linking shared-object bigdecimal.so
|
|
33
33
|
|
|
34
34
|
current directory: /home/runner/work/lightning_ui_kit/lightning_ui_kit/vendor/bundle/ruby/3.4.0/gems/bigdecimal-4.1.2/ext/bigdecimal
|
|
35
|
-
make DESTDIR\= sitearchdir\=./.gem.
|
|
36
|
-
/usr/bin/install -c -m 0755 bigdecimal.so ./.gem.
|
|
35
|
+
make DESTDIR\= sitearchdir\=./.gem.20260821-2353-6yd3wo sitelibdir\=./.gem.20260821-2353-6yd3wo install
|
|
36
|
+
/usr/bin/install -c -m 0755 bigdecimal.so ./.gem.20260821-2353-6yd3wo
|
|
37
37
|
|
|
38
38
|
current directory: /home/runner/work/lightning_ui_kit/lightning_ui_kit/vendor/bundle/ruby/3.4.0/gems/bigdecimal-4.1.2/ext/bigdecimal
|
|
39
|
-
make DESTDIR\= sitearchdir\=./.gem.
|
|
39
|
+
make DESTDIR\= sitearchdir\=./.gem.20260821-2353-6yd3wo sitelibdir\=./.gem.20260821-2353-6yd3wo clean
|
|
@@ -135,7 +135,7 @@ checked program was:
|
|
|
135
135
|
have_func: checking for _lzcnt_u32() in x86intrin.h... -------------------- no
|
|
136
136
|
|
|
137
137
|
LD_LIBRARY_PATH=.:/opt/hostedtoolcache/Ruby/3.4.10/x64/lib ASAN_OPTIONS=detect_leaks=0 "gcc -o conftest -I/opt/hostedtoolcache/Ruby/3.4.10/x64/include/ruby-3.4.0/x86_64-linux -I/opt/hostedtoolcache/Ruby/3.4.10/x64/include/ruby-3.4.0/ruby/backward -I/opt/hostedtoolcache/Ruby/3.4.10/x64/include/ruby-3.4.0 -I. -DENABLE_PATH_CHECK=0 -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wdiv-by-zero -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wold-style-definition -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -Wmisleading-indentation -Wundef -fPIC conftest.c -L. -L/opt/hostedtoolcache/Ruby/3.4.10/x64/lib -Wl,-rpath,/opt/hostedtoolcache/Ruby/3.4.10/x64/lib -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,--no-as-needed -Wl,-rpath,/opt/hostedtoolcache/Ruby/3.4.10/x64/lib -L/opt/hostedtoolcache/Ruby/3.4.10/x64/lib -lruby -lm -lpthread -lc"
|
|
138
|
-
/usr/bin/ld: /tmp/
|
|
138
|
+
/usr/bin/ld: /tmp/ccBQlqWF.o: in function `t':
|
|
139
139
|
/home/runner/work/lightning_ui_kit/lightning_ui_kit/vendor/bundle/ruby/3.4.0/gems/bigdecimal-4.1.2/ext/bigdecimal/conftest.c:16:(.text+0x7): undefined reference to `_lzcnt_u32'
|
|
140
140
|
collect2: error: ld returned 1 exit status
|
|
141
141
|
checked program was:
|
|
@@ -197,7 +197,7 @@ checked program was:
|
|
|
197
197
|
have_func: checking for _lzcnt_u64() in x86intrin.h... -------------------- no
|
|
198
198
|
|
|
199
199
|
LD_LIBRARY_PATH=.:/opt/hostedtoolcache/Ruby/3.4.10/x64/lib ASAN_OPTIONS=detect_leaks=0 "gcc -o conftest -I/opt/hostedtoolcache/Ruby/3.4.10/x64/include/ruby-3.4.0/x86_64-linux -I/opt/hostedtoolcache/Ruby/3.4.10/x64/include/ruby-3.4.0/ruby/backward -I/opt/hostedtoolcache/Ruby/3.4.10/x64/include/ruby-3.4.0 -I. -DENABLE_PATH_CHECK=0 -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wdiv-by-zero -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wold-style-definition -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -Wmisleading-indentation -Wundef -fPIC conftest.c -L. -L/opt/hostedtoolcache/Ruby/3.4.10/x64/lib -Wl,-rpath,/opt/hostedtoolcache/Ruby/3.4.10/x64/lib -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,--no-as-needed -Wl,-rpath,/opt/hostedtoolcache/Ruby/3.4.10/x64/lib -L/opt/hostedtoolcache/Ruby/3.4.10/x64/lib -lruby -lm -lpthread -lc"
|
|
200
|
-
/usr/bin/ld: /tmp/
|
|
200
|
+
/usr/bin/ld: /tmp/cc5wr1jj.o: in function `t':
|
|
201
201
|
/home/runner/work/lightning_ui_kit/lightning_ui_kit/vendor/bundle/ruby/3.4.0/gems/bigdecimal-4.1.2/ext/bigdecimal/conftest.c:16:(.text+0x7): undefined reference to `_lzcnt_u64'
|
|
202
202
|
collect2: error: ld returned 1 exit status
|
|
203
203
|
checked program was:
|
|
@@ -6,10 +6,10 @@ checking for altzone in time.h with -Werror... no
|
|
|
6
6
|
creating Makefile
|
|
7
7
|
|
|
8
8
|
current directory: /home/runner/work/lightning_ui_kit/lightning_ui_kit/vendor/bundle/ruby/3.4.0/gems/date-3.4.1/ext/date
|
|
9
|
-
make DESTDIR\= sitearchdir\=./.gem.
|
|
9
|
+
make DESTDIR\= sitearchdir\=./.gem.20260821-2353-qwabyc sitelibdir\=./.gem.20260821-2353-qwabyc clean
|
|
10
10
|
|
|
11
11
|
current directory: /home/runner/work/lightning_ui_kit/lightning_ui_kit/vendor/bundle/ruby/3.4.0/gems/date-3.4.1/ext/date
|
|
12
|
-
make DESTDIR\= sitearchdir\=./.gem.
|
|
12
|
+
make DESTDIR\= sitearchdir\=./.gem.20260821-2353-qwabyc sitelibdir\=./.gem.20260821-2353-qwabyc
|
|
13
13
|
compiling date_core.c
|
|
14
14
|
compiling date_parse.c
|
|
15
15
|
compiling date_strftime.c
|
|
@@ -17,8 +17,8 @@ compiling date_strptime.c
|
|
|
17
17
|
linking shared-object date_core.so
|
|
18
18
|
|
|
19
19
|
current directory: /home/runner/work/lightning_ui_kit/lightning_ui_kit/vendor/bundle/ruby/3.4.0/gems/date-3.4.1/ext/date
|
|
20
|
-
make DESTDIR\= sitearchdir\=./.gem.
|
|
21
|
-
/usr/bin/install -c -m 0755 date_core.so ./.gem.
|
|
20
|
+
make DESTDIR\= sitearchdir\=./.gem.20260821-2353-qwabyc sitelibdir\=./.gem.20260821-2353-qwabyc install
|
|
21
|
+
/usr/bin/install -c -m 0755 date_core.so ./.gem.20260821-2353-qwabyc
|
|
22
22
|
|
|
23
23
|
current directory: /home/runner/work/lightning_ui_kit/lightning_ui_kit/vendor/bundle/ruby/3.4.0/gems/date-3.4.1/ext/date
|
|
24
|
-
make DESTDIR\= sitearchdir\=./.gem.
|
|
24
|
+
make DESTDIR\= sitearchdir\=./.gem.20260821-2353-qwabyc sitelibdir\=./.gem.20260821-2353-qwabyc clean
|
|
@@ -4,16 +4,16 @@ checking for rb_ext_ractor_safe() in ruby.h... yes
|
|
|
4
4
|
creating Makefile
|
|
5
5
|
|
|
6
6
|
current directory: /home/runner/work/lightning_ui_kit/lightning_ui_kit/vendor/bundle/ruby/3.4.0/gems/erb-5.0.2/ext/erb/escape
|
|
7
|
-
make DESTDIR\= sitearchdir\=./.gem.
|
|
7
|
+
make DESTDIR\= sitearchdir\=./.gem.20260821-2353-9qwp9q sitelibdir\=./.gem.20260821-2353-9qwp9q clean
|
|
8
8
|
|
|
9
9
|
current directory: /home/runner/work/lightning_ui_kit/lightning_ui_kit/vendor/bundle/ruby/3.4.0/gems/erb-5.0.2/ext/erb/escape
|
|
10
|
-
make DESTDIR\= sitearchdir\=./.gem.
|
|
10
|
+
make DESTDIR\= sitearchdir\=./.gem.20260821-2353-9qwp9q sitelibdir\=./.gem.20260821-2353-9qwp9q
|
|
11
11
|
compiling escape.c
|
|
12
12
|
linking shared-object erb/escape.so
|
|
13
13
|
|
|
14
14
|
current directory: /home/runner/work/lightning_ui_kit/lightning_ui_kit/vendor/bundle/ruby/3.4.0/gems/erb-5.0.2/ext/erb/escape
|
|
15
|
-
make DESTDIR\= sitearchdir\=./.gem.
|
|
16
|
-
/usr/bin/install -c -m 0755 escape.so ./.gem.
|
|
15
|
+
make DESTDIR\= sitearchdir\=./.gem.20260821-2353-9qwp9q sitelibdir\=./.gem.20260821-2353-9qwp9q install
|
|
16
|
+
/usr/bin/install -c -m 0755 escape.so ./.gem.20260821-2353-9qwp9q/erb
|
|
17
17
|
|
|
18
18
|
current directory: /home/runner/work/lightning_ui_kit/lightning_ui_kit/vendor/bundle/ruby/3.4.0/gems/erb-5.0.2/ext/erb/escape
|
|
19
|
-
make DESTDIR\= sitearchdir\=./.gem.
|
|
19
|
+
make DESTDIR\= sitearchdir\=./.gem.20260821-2353-9qwp9q sitelibdir\=./.gem.20260821-2353-9qwp9q clean
|
|
@@ -16,16 +16,16 @@ checking for ttyname_r()... yes
|
|
|
16
16
|
creating Makefile
|
|
17
17
|
|
|
18
18
|
current directory: /home/runner/work/lightning_ui_kit/lightning_ui_kit/vendor/bundle/ruby/3.4.0/gems/io-console-0.8.1/ext/io/console
|
|
19
|
-
make DESTDIR\= sitearchdir\=./.gem.
|
|
19
|
+
make DESTDIR\= sitearchdir\=./.gem.20260821-2353-516uuz sitelibdir\=./.gem.20260821-2353-516uuz clean
|
|
20
20
|
|
|
21
21
|
current directory: /home/runner/work/lightning_ui_kit/lightning_ui_kit/vendor/bundle/ruby/3.4.0/gems/io-console-0.8.1/ext/io/console
|
|
22
|
-
make DESTDIR\= sitearchdir\=./.gem.
|
|
22
|
+
make DESTDIR\= sitearchdir\=./.gem.20260821-2353-516uuz sitelibdir\=./.gem.20260821-2353-516uuz
|
|
23
23
|
compiling console.c
|
|
24
24
|
linking shared-object io/console.so
|
|
25
25
|
|
|
26
26
|
current directory: /home/runner/work/lightning_ui_kit/lightning_ui_kit/vendor/bundle/ruby/3.4.0/gems/io-console-0.8.1/ext/io/console
|
|
27
|
-
make DESTDIR\= sitearchdir\=./.gem.
|
|
28
|
-
/usr/bin/install -c -m 0755 console.so ./.gem.
|
|
27
|
+
make DESTDIR\= sitearchdir\=./.gem.20260821-2353-516uuz sitelibdir\=./.gem.20260821-2353-516uuz install
|
|
28
|
+
/usr/bin/install -c -m 0755 console.so ./.gem.20260821-2353-516uuz/io
|
|
29
29
|
|
|
30
30
|
current directory: /home/runner/work/lightning_ui_kit/lightning_ui_kit/vendor/bundle/ruby/3.4.0/gems/io-console-0.8.1/ext/io/console
|
|
31
|
-
make DESTDIR\= sitearchdir\=./.gem.
|
|
31
|
+
make DESTDIR\= sitearchdir\=./.gem.20260821-2353-516uuz sitelibdir\=./.gem.20260821-2353-516uuz clean
|
|
@@ -10,16 +10,16 @@ checking for cpuid.h... yes
|
|
|
10
10
|
creating Makefile
|
|
11
11
|
|
|
12
12
|
current directory: /home/runner/work/lightning_ui_kit/lightning_ui_kit/vendor/bundle/ruby/3.4.0/gems/json-2.18.1/ext/json/ext/parser
|
|
13
|
-
make DESTDIR\= sitearchdir\=./.gem.
|
|
13
|
+
make DESTDIR\= sitearchdir\=./.gem.20260821-2353-88tcpx sitelibdir\=./.gem.20260821-2353-88tcpx clean
|
|
14
14
|
|
|
15
15
|
current directory: /home/runner/work/lightning_ui_kit/lightning_ui_kit/vendor/bundle/ruby/3.4.0/gems/json-2.18.1/ext/json/ext/parser
|
|
16
|
-
make DESTDIR\= sitearchdir\=./.gem.
|
|
16
|
+
make DESTDIR\= sitearchdir\=./.gem.20260821-2353-88tcpx sitelibdir\=./.gem.20260821-2353-88tcpx
|
|
17
17
|
compiling parser.c
|
|
18
18
|
linking shared-object json/ext/parser.so
|
|
19
19
|
|
|
20
20
|
current directory: /home/runner/work/lightning_ui_kit/lightning_ui_kit/vendor/bundle/ruby/3.4.0/gems/json-2.18.1/ext/json/ext/parser
|
|
21
|
-
make DESTDIR\= sitearchdir\=./.gem.
|
|
22
|
-
/usr/bin/install -c -m 0755 parser.so ./.gem.
|
|
21
|
+
make DESTDIR\= sitearchdir\=./.gem.20260821-2353-88tcpx sitelibdir\=./.gem.20260821-2353-88tcpx install
|
|
22
|
+
/usr/bin/install -c -m 0755 parser.so ./.gem.20260821-2353-88tcpx/json/ext
|
|
23
23
|
|
|
24
24
|
current directory: /home/runner/work/lightning_ui_kit/lightning_ui_kit/vendor/bundle/ruby/3.4.0/gems/json-2.18.1/ext/json/ext/parser
|
|
25
|
-
make DESTDIR\= sitearchdir\=./.gem.
|
|
25
|
+
make DESTDIR\= sitearchdir\=./.gem.20260821-2353-88tcpx sitelibdir\=./.gem.20260821-2353-88tcpx clean
|
|
@@ -13,10 +13,10 @@ checking for sys/resource.h... yes
|
|
|
13
13
|
creating Makefile
|
|
14
14
|
|
|
15
15
|
current directory: /home/runner/work/lightning_ui_kit/lightning_ui_kit/vendor/bundle/ruby/3.4.0/gems/nio4r-2.7.4/ext/nio4r
|
|
16
|
-
make DESTDIR\= sitearchdir\=./.gem.
|
|
16
|
+
make DESTDIR\= sitearchdir\=./.gem.20260821-2353-cc74f8 sitelibdir\=./.gem.20260821-2353-cc74f8 clean
|
|
17
17
|
|
|
18
18
|
current directory: /home/runner/work/lightning_ui_kit/lightning_ui_kit/vendor/bundle/ruby/3.4.0/gems/nio4r-2.7.4/ext/nio4r
|
|
19
|
-
make DESTDIR\= sitearchdir\=./.gem.
|
|
19
|
+
make DESTDIR\= sitearchdir\=./.gem.20260821-2353-cc74f8 sitelibdir\=./.gem.20260821-2353-cc74f8
|
|
20
20
|
compiling bytebuffer.c
|
|
21
21
|
bytebuffer.c: In function ‘Init_NIO_ByteBuffer’:
|
|
22
22
|
bytebuffer.c:59:6: warning: old-style function definition [-Wold-style-definition]
|
|
@@ -275,8 +275,8 @@ cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’
|
|
|
275
275
|
linking shared-object nio4r_ext.so
|
|
276
276
|
|
|
277
277
|
current directory: /home/runner/work/lightning_ui_kit/lightning_ui_kit/vendor/bundle/ruby/3.4.0/gems/nio4r-2.7.4/ext/nio4r
|
|
278
|
-
make DESTDIR\= sitearchdir\=./.gem.
|
|
279
|
-
/usr/bin/install -c -m 0755 nio4r_ext.so ./.gem.
|
|
278
|
+
make DESTDIR\= sitearchdir\=./.gem.20260821-2353-cc74f8 sitelibdir\=./.gem.20260821-2353-cc74f8 install
|
|
279
|
+
/usr/bin/install -c -m 0755 nio4r_ext.so ./.gem.20260821-2353-cc74f8
|
|
280
280
|
|
|
281
281
|
current directory: /home/runner/work/lightning_ui_kit/lightning_ui_kit/vendor/bundle/ruby/3.4.0/gems/nio4r-2.7.4/ext/nio4r
|
|
282
|
-
make DESTDIR\= sitearchdir\=./.gem.
|
|
282
|
+
make DESTDIR\= sitearchdir\=./.gem.20260821-2353-cc74f8 sitelibdir\=./.gem.20260821-2353-cc74f8 clean
|
|
@@ -6,10 +6,10 @@ checking for whether -fvisibility=hidden is accepted as CFLAGS... yes
|
|
|
6
6
|
creating Makefile
|
|
7
7
|
|
|
8
8
|
current directory: /home/runner/work/lightning_ui_kit/lightning_ui_kit/vendor/bundle/ruby/3.4.0/gems/prism-1.9.0/ext/prism
|
|
9
|
-
make DESTDIR\= sitearchdir\=./.gem.
|
|
9
|
+
make DESTDIR\= sitearchdir\=./.gem.20260821-2353-enn5s3 sitelibdir\=./.gem.20260821-2353-enn5s3 clean
|
|
10
10
|
|
|
11
11
|
current directory: /home/runner/work/lightning_ui_kit/lightning_ui_kit/vendor/bundle/ruby/3.4.0/gems/prism-1.9.0/ext/prism
|
|
12
|
-
make DESTDIR\= sitearchdir\=./.gem.
|
|
12
|
+
make DESTDIR\= sitearchdir\=./.gem.20260821-2353-enn5s3 sitelibdir\=./.gem.20260821-2353-enn5s3
|
|
13
13
|
compiling api_node.c
|
|
14
14
|
compiling api_pack.c
|
|
15
15
|
compiling extension.c
|
|
@@ -37,8 +37,8 @@ compiling ./../../src/util/pm_strpbrk.c
|
|
|
37
37
|
linking shared-object prism/prism.so
|
|
38
38
|
|
|
39
39
|
current directory: /home/runner/work/lightning_ui_kit/lightning_ui_kit/vendor/bundle/ruby/3.4.0/gems/prism-1.9.0/ext/prism
|
|
40
|
-
make DESTDIR\= sitearchdir\=./.gem.
|
|
41
|
-
/usr/bin/install -c -m 0755 prism.so ./.gem.
|
|
40
|
+
make DESTDIR\= sitearchdir\=./.gem.20260821-2353-enn5s3 sitelibdir\=./.gem.20260821-2353-enn5s3 install
|
|
41
|
+
/usr/bin/install -c -m 0755 prism.so ./.gem.20260821-2353-enn5s3/prism
|
|
42
42
|
|
|
43
43
|
current directory: /home/runner/work/lightning_ui_kit/lightning_ui_kit/vendor/bundle/ruby/3.4.0/gems/prism-1.9.0/ext/prism
|
|
44
|
-
make DESTDIR\= sitearchdir\=./.gem.
|
|
44
|
+
make DESTDIR\= sitearchdir\=./.gem.20260821-2353-enn5s3 sitelibdir\=./.gem.20260821-2353-enn5s3 clean
|
|
@@ -6,13 +6,13 @@ checking for yaml_get_version() in -lyaml... yes
|
|
|
6
6
|
creating Makefile
|
|
7
7
|
|
|
8
8
|
current directory: /home/runner/work/lightning_ui_kit/lightning_ui_kit/vendor/bundle/ruby/3.4.0/gems/psych-5.2.6/ext/psych
|
|
9
|
-
make DESTDIR\= sitearchdir\=./.gem.
|
|
9
|
+
make DESTDIR\= sitearchdir\=./.gem.20260821-2353-7yl79f sitelibdir\=./.gem.20260821-2353-7yl79f clean
|
|
10
10
|
cd libyaml && make clean
|
|
11
11
|
/bin/sh: 1: cd: can't cd to libyaml
|
|
12
12
|
make: [Makefile:287: clean-so] Error 2 (ignored)
|
|
13
13
|
|
|
14
14
|
current directory: /home/runner/work/lightning_ui_kit/lightning_ui_kit/vendor/bundle/ruby/3.4.0/gems/psych-5.2.6/ext/psych
|
|
15
|
-
make DESTDIR\= sitearchdir\=./.gem.
|
|
15
|
+
make DESTDIR\= sitearchdir\=./.gem.20260821-2353-7yl79f sitelibdir\=./.gem.20260821-2353-7yl79f
|
|
16
16
|
compiling psych.c
|
|
17
17
|
compiling psych_emitter.c
|
|
18
18
|
compiling psych_parser.c
|
|
@@ -21,11 +21,11 @@ compiling psych_yaml_tree.c
|
|
|
21
21
|
linking shared-object psych.so
|
|
22
22
|
|
|
23
23
|
current directory: /home/runner/work/lightning_ui_kit/lightning_ui_kit/vendor/bundle/ruby/3.4.0/gems/psych-5.2.6/ext/psych
|
|
24
|
-
make DESTDIR\= sitearchdir\=./.gem.
|
|
25
|
-
/usr/bin/install -c -m 0755 psych.so ./.gem.
|
|
24
|
+
make DESTDIR\= sitearchdir\=./.gem.20260821-2353-7yl79f sitelibdir\=./.gem.20260821-2353-7yl79f install
|
|
25
|
+
/usr/bin/install -c -m 0755 psych.so ./.gem.20260821-2353-7yl79f
|
|
26
26
|
|
|
27
27
|
current directory: /home/runner/work/lightning_ui_kit/lightning_ui_kit/vendor/bundle/ruby/3.4.0/gems/psych-5.2.6/ext/psych
|
|
28
|
-
make DESTDIR\= sitearchdir\=./.gem.
|
|
28
|
+
make DESTDIR\= sitearchdir\=./.gem.20260821-2353-7yl79f sitelibdir\=./.gem.20260821-2353-7yl79f clean
|
|
29
29
|
cd libyaml && make clean
|
|
30
30
|
/bin/sh: 1: cd: can't cd to libyaml
|
|
31
31
|
make: [Makefile:287: clean-so] Error 2 (ignored)
|