lightning_ui_kit 0.3.1 → 0.3.3
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/README.md +30 -0
- data/app/assets/stylesheets/lightning_ui_kit/application.css +58 -0
- data/app/assets/stylesheets/lightning_ui_kit/themes.css +133 -0
- data/app/assets/vendor/lightning_ui_kit.css +415 -374
- data/app/assets/vendor/lightning_ui_kit.js +2 -2
- data/app/components/lightning_ui_kit/alert_component.rb +1 -1
- data/app/components/lightning_ui_kit/avatar_component.html.erb +1 -1
- data/app/components/lightning_ui_kit/badge_component.rb +14 -14
- data/app/components/lightning_ui_kit/banner_component.html.erb +1 -1
- data/app/components/lightning_ui_kit/banner_component.rb +3 -3
- data/app/components/lightning_ui_kit/button_component.rb +16 -16
- data/app/components/lightning_ui_kit/checkbox_component.html.erb +10 -10
- data/app/components/lightning_ui_kit/combobox_component.html.erb +14 -14
- data/app/components/lightning_ui_kit/combobox_component.rb +4 -4
- data/app/components/lightning_ui_kit/description_list/item_component.html.erb +2 -2
- data/app/components/lightning_ui_kit/dropdown_component.html.erb +2 -2
- data/app/components/lightning_ui_kit/dropdown_component.rb +1 -1
- data/app/components/lightning_ui_kit/dropzone_component.html.erb +13 -13
- data/app/components/lightning_ui_kit/dropzone_component.rb +1 -1
- data/app/components/lightning_ui_kit/file_input_component.html.erb +2 -2
- data/app/components/lightning_ui_kit/file_input_component.rb +3 -3
- data/app/components/lightning_ui_kit/input_component.html.erb +2 -2
- data/app/components/lightning_ui_kit/input_component.rb +9 -9
- data/app/components/lightning_ui_kit/layout_component.html.erb +10 -10
- data/app/components/lightning_ui_kit/modal_component.html.erb +4 -4
- data/app/components/lightning_ui_kit/pagination_component.html.erb +3 -3
- data/app/components/lightning_ui_kit/pagination_component.rb +14 -5
- data/app/components/lightning_ui_kit/select_component.html.erb +3 -3
- data/app/components/lightning_ui_kit/select_component.rb +3 -3
- data/app/components/lightning_ui_kit/sidebar_link_component.html.erb +1 -1
- data/app/components/lightning_ui_kit/sidebar_link_component.rb +11 -7
- data/app/components/lightning_ui_kit/sidebar_section_component.rb +1 -1
- data/app/components/lightning_ui_kit/skeleton_component.html.erb +2 -2
- data/app/components/lightning_ui_kit/spinner_component.html.erb +5 -4
- data/app/components/lightning_ui_kit/switch_component.html.erb +2 -2
- data/app/components/lightning_ui_kit/switch_component.rb +7 -7
- data/app/components/lightning_ui_kit/table_component.html.erb +7 -7
- data/app/components/lightning_ui_kit/text_component.rb +1 -1
- data/app/components/lightning_ui_kit/textarea_component.html.erb +2 -2
- data/app/components/lightning_ui_kit/textarea_component.rb +3 -3
- data/app/components/lightning_ui_kit/toast_component.html.erb +3 -3
- data/app/components/lightning_ui_kit/tooltip_component.html.erb +2 -2
- data/app/javascript/lightning_ui_kit/controllers/combobox_controller.js +2 -2
- data/app/javascript/lightning_ui_kit/controllers/dropzone_controller.js +1 -1
- data/lib/lightning_ui_kit/builder.rb +56 -56
- data/lib/lightning_ui_kit/version.rb +1 -1
- data/vendor/bundle/ruby/3.4.0/extensions/x86_64-linux/3.4.0/bigdecimal-3.2.2/bigdecimal.so +0 -0
- data/vendor/bundle/ruby/3.4.0/extensions/x86_64-linux/3.4.0/bigdecimal-3.2.2/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.4.0/extensions/x86_64-linux/3.4.0/bigdecimal-3.2.2/mkmf.log +3 -3
- data/vendor/bundle/ruby/3.4.0/extensions/x86_64-linux/3.4.0/date-3.4.1/date_core.so +0 -0
- 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/erb/escape.so +0 -0
- 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/io-console-0.8.1/io/console.so +0 -0
- data/vendor/bundle/ruby/3.4.0/extensions/x86_64-linux/3.4.0/json-2.18.0/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.4.0/extensions/x86_64-linux/3.4.0/json-2.18.0/json/ext/generator.so +0 -0
- data/vendor/bundle/ruby/3.4.0/extensions/x86_64-linux/3.4.0/json-2.18.0/json/ext/parser.so +0 -0
- 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/nio4r-2.7.4/nio4r_ext.so +0 -0
- data/vendor/bundle/ruby/3.4.0/extensions/x86_64-linux/3.4.0/prism-1.8.0/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.4.0/extensions/x86_64-linux/3.4.0/prism-1.8.0/prism/prism.so +0 -0
- 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/psych-5.2.6/psych.so +0 -0
- 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/racc-1.8.1/racc/cparse.so +0 -0
- 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/stringio-3.1.7/stringio.so +0 -0
- 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/extensions/x86_64-linux/3.4.0/websocket-driver-0.8.0/websocket_mask.so +0 -0
- data/vendor/bundle/ruby/3.4.0/gems/bigdecimal-3.2.2/lib/bigdecimal.so +0 -0
- data/vendor/bundle/ruby/3.4.0/gems/date-3.4.1/lib/date_core.so +0 -0
- data/vendor/bundle/ruby/3.4.0/gems/erb-5.0.2/lib/erb/escape.so +0 -0
- data/vendor/bundle/ruby/3.4.0/gems/io-console-0.8.1/lib/io/console.so +0 -0
- data/vendor/bundle/ruby/3.4.0/gems/json-2.18.0/lib/json/ext/generator.so +0 -0
- data/vendor/bundle/ruby/3.4.0/gems/json-2.18.0/lib/json/ext/parser.so +0 -0
- data/vendor/bundle/ruby/3.4.0/gems/nio4r-2.7.4/lib/nio4r_ext.so +0 -0
- data/vendor/bundle/ruby/3.4.0/gems/prism-1.8.0/lib/prism/prism.so +0 -0
- data/vendor/bundle/ruby/3.4.0/gems/psych-5.2.6/lib/psych.so +0 -0
- data/vendor/bundle/ruby/3.4.0/gems/racc-1.8.1/lib/racc/cparse.so +0 -0
- data/vendor/bundle/ruby/3.4.0/gems/stringio-3.1.7/lib/stringio.so +0 -0
- data/vendor/bundle/ruby/3.4.0/gems/websocket-driver-0.8.0/lib/websocket_mask.so +0 -0
- metadata +2 -1
|
@@ -1,28 +1,32 @@
|
|
|
1
1
|
class LightningUiKit::SidebarLinkComponent < LightningUiKit::BaseComponent
|
|
2
|
-
def initialize(title:, url:, icon: nil, current: false, **options)
|
|
2
|
+
def initialize(title:, url:, icon: nil, current: false, animate_icon: false, **options)
|
|
3
3
|
@title = title
|
|
4
4
|
@url = url
|
|
5
5
|
@icon = icon
|
|
6
6
|
@current = current
|
|
7
|
+
@animate_icon = animate_icon
|
|
7
8
|
@options = options
|
|
8
9
|
end
|
|
9
10
|
|
|
10
11
|
def classes
|
|
11
|
-
base_classes = "lui:flex lui:items-center lui:gap-3 lui:rounded-lg lui:px-3 lui:py-2 lui:text-sm lui:transition-
|
|
12
|
+
base_classes = "lui:relative lui:flex lui:items-center lui:gap-3 lui:rounded-lg lui:px-3 lui:py-2 lui:text-sm lui:transition-all lui:duration-150 lui:ease-out"
|
|
12
13
|
|
|
13
14
|
if @current
|
|
14
|
-
merge_classes([base_classes, "lui:bg-
|
|
15
|
+
merge_classes([base_classes, "lui:bg-surface-hover lui:text-foreground lui:font-semibold", @options[:class]].compact.join(" "))
|
|
15
16
|
else
|
|
16
|
-
merge_classes([base_classes, "lui:text-
|
|
17
|
+
merge_classes([base_classes, "lui:text-foreground-secondary lui:hover:bg-surface-hover lui:hover:text-foreground", @options[:class]].compact.join(" "))
|
|
17
18
|
end
|
|
18
19
|
end
|
|
19
20
|
|
|
20
21
|
def icon_classes
|
|
21
|
-
if @current
|
|
22
|
-
"lui:size-5 lui:shrink-0 lui:text-
|
|
22
|
+
base = if @current
|
|
23
|
+
"lui:size-5 lui:shrink-0 lui:text-foreground"
|
|
23
24
|
else
|
|
24
|
-
"lui:size-5 lui:shrink-0 lui:text-
|
|
25
|
+
"lui:size-5 lui:shrink-0 lui:text-foreground-faint lui:transition-colors lui:duration-150 lui:group-hover:text-foreground-secondary"
|
|
25
26
|
end
|
|
27
|
+
|
|
28
|
+
base += " lui:group-hover:animate-icon-bounce" if @animate_icon
|
|
29
|
+
base
|
|
26
30
|
end
|
|
27
31
|
|
|
28
32
|
def data
|
|
@@ -11,6 +11,6 @@ class LightningUiKit::SidebarSectionComponent < LightningUiKit::BaseComponent
|
|
|
11
11
|
end
|
|
12
12
|
|
|
13
13
|
def title_classes
|
|
14
|
-
"lui:px-3 lui:py-2 lui:text-
|
|
14
|
+
"lui:px-3 lui:py-2 lui:text-[0.6875rem] lui:font-semibold lui:text-foreground-faint lui:uppercase lui:tracking-widest"
|
|
15
15
|
end
|
|
16
16
|
end
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
<div role="status" class="lui:animate-pulse">
|
|
2
2
|
<% if @with_title %>
|
|
3
|
-
<h3 class="lui:h-3 lui:bg-
|
|
3
|
+
<h3 class="lui:h-3 lui:bg-surface-tertiary lui:rounded-full lui:w-48 lui:mb-4"></h3>
|
|
4
4
|
<% end %>
|
|
5
5
|
<div class="lui:space-y-2.5">
|
|
6
6
|
<% @lines.times do %>
|
|
7
|
-
<p class="lui:h-2 lui:bg-
|
|
7
|
+
<p class="lui:h-2 lui:bg-surface-tertiary lui:rounded-full"></p>
|
|
8
8
|
<% end %>
|
|
9
9
|
</div>
|
|
10
10
|
</div>
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
<svg class="lui:animate-spin
|
|
1
|
+
<svg class="lui:animate-spin"
|
|
2
2
|
xmlns="http://www.w3.org/2000/svg" width="18" height="18"
|
|
3
|
-
viewBox="0 0 30 30" fill="none"
|
|
3
|
+
viewBox="0 0 30 30" fill="none"
|
|
4
|
+
style="--lui-spinner-primary: var(--lui-theme-spinner-primary); --lui-spinner-secondary: var(--lui-theme-spinner-secondary);">
|
|
4
5
|
<path fill-rule="evenodd" clip-rule="evenodd"
|
|
5
6
|
d="M14.4304 0.0323927C14.0002 0.172039 13.7522 0.420298 13.6321 0.825659C13.5643 1.05258 13.5527 1.58013 13.5527 4.33426C13.5527 7.98251 13.5488 7.93596 13.9208 8.30835C14.4187 8.80487 15.5812 8.80487 16.0792 8.30835C16.4511 7.93596 16.4473 7.98251 16.4473 4.33426C16.4473 0.804324 16.4415 0.742259 16.1547 0.400903C15.9145 0.115792 15.6568 0.0207556 15.0775 0.00523939C14.8614 -0.00695113 14.6447 0.00214369 14.4304 0.0323927ZM24.4026 3.89593C24.1643 4.00648 23.7574 4.38857 21.816 6.33779C20.0316 8.12797 19.4872 8.70595 19.4 8.89602C19.3276 9.05362 19.2902 9.2251 19.2905 9.39857C19.2909 9.57205 19.3289 9.74338 19.4019 9.9007C19.5376 10.1916 19.9832 10.6494 20.2835 10.8065C20.5877 10.9655 21.0391 10.9636 21.3549 10.8026C21.6785 10.6358 26.1541 6.15547 26.3207 5.83157C26.4001 5.66482 26.4417 5.4826 26.4427 5.29788C26.4437 5.11317 26.404 4.93051 26.3265 4.7629C26.1121 4.40396 25.8092 4.10611 25.4469 3.89787C25.2865 3.81116 25.1072 3.7656 24.925 3.76526C24.7427 3.76492 24.5633 3.80982 24.4026 3.89593ZM22.2559 13.5858C21.9939 13.6581 21.7571 13.8017 21.5719 14.0009C21.3065 14.3597 21.2232 15.0889 21.3898 15.6029C21.5022 15.952 21.785 16.2352 22.1338 16.3477C22.3702 16.4253 22.7557 16.435 25.6406 16.435C28.4093 16.435 28.9189 16.4233 29.1475 16.3554C29.719 16.1848 29.998 15.7348 30 14.9842C30 14.2375 29.7152 13.7894 29.1242 13.611C28.9247 13.5509 28.2989 13.5392 25.6484 13.5431C23.8698 13.547 22.343 13.5664 22.2559 13.5858ZM20.3339 19.3811C20.0277 19.5207 19.5763 19.963 19.4194 20.2772C19.3393 20.4342 19.2957 20.6073 19.2916 20.7836C19.2876 20.9599 19.3233 21.1348 19.3961 21.2954C19.5395 21.6154 24.0422 26.1384 24.3968 26.3188C24.8986 26.5767 25.4139 26.4507 25.9332 25.9425C26.4447 25.4421 26.5803 24.899 26.3207 24.3928C26.1405 24.0379 21.6223 19.5304 21.3026 19.3869C21.1498 19.3207 20.9853 19.286 20.8188 19.285C20.6524 19.284 20.4874 19.3167 20.3339 19.3811ZM14.5059 21.342C14.2442 21.4158 14.0076 21.56 13.822 21.759C13.5546 22.1197 13.5527 22.1449 13.5527 25.6322C13.5527 28.4096 13.5643 28.9197 13.6321 29.1485C13.8026 29.7207 14.254 30 15 30C15.7459 30 16.1973 29.7207 16.3678 29.1485C16.488 28.7374 16.486 22.5018 16.364 22.143C16.3264 21.9983 16.2577 21.8636 16.1627 21.7484C16.0676 21.6331 15.9485 21.5401 15.8137 21.4758C15.6006 21.3594 15.4766 21.3303 15.1104 21.3167C14.9086 21.3046 14.706 21.313 14.5059 21.342Z"
|
|
6
|
-
fill="
|
|
7
|
+
fill="var(--lui-spinner-primary)" />
|
|
7
8
|
<path fill-rule="evenodd" clip-rule="evenodd"
|
|
8
9
|
d="M4.83402 3.86487C4.5279 4.00452 4.07647 4.44673 3.91953 4.76093C3.83948 4.918 3.79581 5.09111 3.79179 5.2674C3.78776 5.44369 3.82348 5.61861 3.89628 5.77918C4.03965 6.0992 8.54237 10.6222 8.89693 10.8026C9.39873 11.0605 9.91411 10.9344 10.4334 10.4263C10.9448 9.92589 11.0805 9.38282 10.8208 8.8766C10.6407 8.52167 6.12245 4.01421 5.80276 3.87069C5.65 3.80447 5.48545 3.76982 5.31899 3.76882C5.15252 3.76782 4.98757 3.80049 4.83402 3.86487ZM0.85443 13.6129C0.282873 13.7933 0 14.2491 0 14.9842C0.00193748 15.7348 0.280935 16.1847 0.852493 16.3554C1.08112 16.4233 1.59067 16.4349 4.35934 16.4349C7.24425 16.4349 7.62981 16.4252 7.86618 16.3477C8.03981 16.2905 8.19761 16.1934 8.32684 16.064C8.45607 15.9347 8.55313 15.7767 8.61018 15.6029C8.7768 15.0889 8.69349 14.3596 8.42805 13.9989C8.32166 13.8831 8.19656 13.7861 8.058 13.7118L7.79256 13.5644L4.4349 13.5528C1.73211 13.545 1.03268 13.5567 0.85443 13.6129ZM8.90274 19.4121C8.66443 19.5227 8.25756 19.9047 6.3162 21.854C4.53177 23.6442 3.98734 24.2221 3.90016 24.4122C3.82771 24.5698 3.79037 24.7413 3.7907 24.9148C3.79104 25.0882 3.82904 25.2596 3.90209 25.4169C4.03772 25.7078 4.48334 26.1655 4.78365 26.3226C5.08783 26.4817 5.53927 26.4797 5.85508 26.3188C6.17864 26.152 10.6542 21.6717 10.8208 21.3478C10.9002 21.181 10.9419 20.9988 10.9429 20.8141C10.9439 20.6294 10.9042 20.4467 10.8267 20.2791C10.6122 19.9201 10.3094 19.6223 9.94704 19.414C9.7867 19.3273 9.60738 19.2818 9.42513 19.2814C9.24289 19.2811 9.06341 19.326 8.90274 19.4121Z"
|
|
9
|
-
fill="
|
|
10
|
+
fill="var(--lui-spinner-secondary)" />
|
|
10
11
|
</svg>
|
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
<% if @description %>
|
|
4
4
|
<%= tag.p(
|
|
5
5
|
@description,
|
|
6
|
-
class: "lui:text-base/6 lui:text-
|
|
6
|
+
class: "lui:text-base/6 lui:text-foreground-muted lui:data-disabled:opacity-50 lui:sm:text-sm/6",
|
|
7
7
|
data: description_data
|
|
8
8
|
) %>
|
|
9
9
|
<% end %>
|
|
10
10
|
<% if has_errors? %>
|
|
11
11
|
<%= tag.p(
|
|
12
12
|
error_messages,
|
|
13
|
-
class: "lui:text-base/6 lui:text-
|
|
13
|
+
class: "lui:text-base/6 lui:text-destructive-text lui:data-disabled:opacity-50 lui:sm:text-sm/6",
|
|
14
14
|
data: error_data
|
|
15
15
|
) %>
|
|
16
16
|
<% end %>
|
|
@@ -53,13 +53,13 @@ class LightningUiKit::SwitchComponent < LightningUiKit::BaseComponent
|
|
|
53
53
|
def button_classes
|
|
54
54
|
"lui:group lui:relative lui:isolate lui:inline-flex lui:h-6 lui:w-10 lui:cursor-default lui:rounded-full " \
|
|
55
55
|
"lui:p-[3px] lui:sm:h-5 lui:sm:w-8 lui:transition lui:duration-200 lui:ease-in-out " \
|
|
56
|
-
"lui:forced-colors:outline lui:forced-colors:[--switch-bg:Highlight] lui:bg-
|
|
56
|
+
"lui:forced-colors:outline lui:forced-colors:[--switch-bg:Highlight] lui:bg-surface-tertiary lui:ring-1 lui:ring-black/5 lui:ring-inset " \
|
|
57
57
|
"lui:data-checked:bg-(--switch-bg) lui:data-checked:ring-(--switch-bg-ring) lui:focus:outline-hidden lui:data-focus:outline-2 " \
|
|
58
|
-
"lui:data-focus:outline-offset-2 lui:data-focus:outline-
|
|
59
|
-
"lui:data-disabled:bg-
|
|
60
|
-
"lui:[--switch-bg-ring:var(--lui-
|
|
61
|
-
"lui:[--switch-bg:var(--lui-
|
|
62
|
-
"lui:[--switch-ring:var(--lui-
|
|
58
|
+
"lui:data-focus:outline-offset-2 lui:data-focus:outline-focus lui:hover:ring-black/15 lui:hover:data-checked:ring-(--switch-bg-ring) " \
|
|
59
|
+
"lui:data-disabled:bg-surface-tertiary lui:data-disabled:opacity-50 lui:data-disabled:data-checked:bg-surface-tertiary lui:data-disabled:data-checked:ring-black/5 " \
|
|
60
|
+
"lui:[--switch-bg-ring:var(--lui-theme-border-invert)] " \
|
|
61
|
+
"lui:[--switch-bg:var(--lui-theme-surface-invert)] " \
|
|
62
|
+
"lui:[--switch-ring:var(--lui-theme-border-invert)] " \
|
|
63
63
|
"lui:[--switch-shadow:var(--lui-color-black)]/10 " \
|
|
64
64
|
"lui:[--switch:white]"
|
|
65
65
|
end
|
|
@@ -97,7 +97,7 @@ class LightningUiKit::SwitchComponent < LightningUiKit::BaseComponent
|
|
|
97
97
|
def render_label
|
|
98
98
|
return unless render_label?
|
|
99
99
|
|
|
100
|
-
tag.label(effective_label, id: label_id, class: "lui:text-base/6 lui:text-
|
|
100
|
+
tag.label(effective_label, id: label_id, class: "lui:text-base/6 lui:text-foreground lui:select-none lui:data-disabled:opacity-50 lui:sm:text-sm/6", data: label_data)
|
|
101
101
|
end
|
|
102
102
|
|
|
103
103
|
def render_hidden_field
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
<div class="lui:border-
|
|
2
|
-
<table class="lui:min-w-full lui:text-left lui:text-sm/6 lui:text-
|
|
3
|
-
<thead class="lui:text-
|
|
1
|
+
<div class="lui:border-border-subtle lui:border lui:rounded-lg">
|
|
2
|
+
<table class="lui:min-w-full lui:text-left lui:text-sm/6 lui:text-foreground lui:border-collapse lui:border-inherit">
|
|
3
|
+
<thead class="lui:text-foreground-muted">
|
|
4
4
|
<tr class="">
|
|
5
5
|
<% columns.each do |column| %>
|
|
6
|
-
<th class="lui:border-b lui:border-b-
|
|
6
|
+
<th class="lui:border-b lui:border-b-border lui:px-4 lui:py-2 lui:font-medium"><%= column.title %></th>
|
|
7
7
|
<% end %>
|
|
8
8
|
<% if actions.present? %>
|
|
9
|
-
<th class="lui:border-b lui:border-b-
|
|
9
|
+
<th class="lui:border-b lui:border-b-border lui:px-4 lui:py-2 lui:font-medium"><%= @actions_title %></th>
|
|
10
10
|
<% end %>
|
|
11
11
|
</tr>
|
|
12
12
|
</thead>
|
|
@@ -21,12 +21,12 @@
|
|
|
21
21
|
<% @data.each do |row| %>
|
|
22
22
|
<tr class="lui:group">
|
|
23
23
|
<% columns.each do |column| %>
|
|
24
|
-
<td class="lui:p-4 lui:border-b lui:border-
|
|
24
|
+
<td class="lui:p-4 lui:border-b lui:border-border-subtle lui:group-last:border-b-0">
|
|
25
25
|
<%= column.call(row) %>
|
|
26
26
|
</td>
|
|
27
27
|
<% end %>
|
|
28
28
|
<% if actions.present? %>
|
|
29
|
-
<td class="lui:p-4 lui:flex lui:gap-3 lui:border-b lui:border-
|
|
29
|
+
<td class="lui:p-4 lui:flex lui:gap-3 lui:border-b lui:border-border-subtle lui:group-last:border-b-0">
|
|
30
30
|
<% actions.each do |action| %>
|
|
31
31
|
<%= action.call(row) %>
|
|
32
32
|
<% end %>
|
|
@@ -5,6 +5,6 @@ class LightningUiKit::TextComponent < LightningUiKit::BaseComponent
|
|
|
5
5
|
end
|
|
6
6
|
|
|
7
7
|
def classes
|
|
8
|
-
merge_classes(["lui:text-
|
|
8
|
+
merge_classes(["lui:text-foreground-secondary lui:text-#{@size}", @options[:class]].compact.join(" "))
|
|
9
9
|
end
|
|
10
10
|
end
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
<% if @description %>
|
|
9
9
|
<%= tag.p(
|
|
10
10
|
@description,
|
|
11
|
-
class: "lui:text-base/6 lui:text-
|
|
11
|
+
class: "lui:text-base/6 lui:text-foreground-muted lui:data-disabled:opacity-50 lui:sm:text-sm/6",
|
|
12
12
|
data: description_data
|
|
13
13
|
) %>
|
|
14
14
|
<% end %>
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
<% if has_errors? %>
|
|
19
19
|
<%= tag.p(
|
|
20
20
|
error_messages,
|
|
21
|
-
class: "lui:text-base/6 lui:text-
|
|
21
|
+
class: "lui:text-base/6 lui:text-destructive-text lui:data-disabled:opacity-50 lui:sm:text-sm/6",
|
|
22
22
|
data: error_data
|
|
23
23
|
) %>
|
|
24
24
|
<% end %>
|
|
@@ -48,7 +48,7 @@ class LightningUiKit::TextareaComponent < LightningUiKit::BaseComponent
|
|
|
48
48
|
|
|
49
49
|
def label_html_options
|
|
50
50
|
{
|
|
51
|
-
class: "lui:text-base/6 lui:text-
|
|
51
|
+
class: "lui:text-base/6 lui:text-foreground lui:select-none lui:data-disabled:opacity-50 lui:sm:text-sm/6",
|
|
52
52
|
data: label_data
|
|
53
53
|
}
|
|
54
54
|
end
|
|
@@ -70,7 +70,7 @@ class LightningUiKit::TextareaComponent < LightningUiKit::BaseComponent
|
|
|
70
70
|
cols: @cols,
|
|
71
71
|
multiple: @multiple,
|
|
72
72
|
data: input_data,
|
|
73
|
-
class: "lui:relative lui:block lui:w-full lui:appearance-none lui:rounded-lg lui:px-[calc(--spacing(3.5)-1px)] lui:py-[calc(--spacing(2.5)-1px)] lui:sm:px-[calc(--spacing(3)-1px)] lui:sm:py-[calc(--spacing(1.5)-1px)] lui:text-base/6 lui:text-
|
|
73
|
+
class: "lui:relative lui:block lui:w-full lui:appearance-none lui:rounded-lg lui:px-[calc(--spacing(3.5)-1px)] lui:py-[calc(--spacing(2.5)-1px)] lui:sm:px-[calc(--spacing(3)-1px)] lui:sm:py-[calc(--spacing(1.5)-1px)] 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:border-border-hover",
|
|
74
74
|
disabled: @disabled,
|
|
75
75
|
autofocus: @autofocus
|
|
76
76
|
}
|
|
@@ -85,6 +85,6 @@ class LightningUiKit::TextareaComponent < LightningUiKit::BaseComponent
|
|
|
85
85
|
end
|
|
86
86
|
|
|
87
87
|
def control_classes
|
|
88
|
-
"lui:relative lui:block lui:w-full lui:before:absolute lui:before:inset-px lui:before:rounded-[7px] lui:before:bg-
|
|
88
|
+
"lui:relative lui:block lui:w-full lui:before:absolute lui:before:inset-px lui:before:rounded-[7px] lui:before:bg-surface-input lui:before:shadow-sm lui:after:pointer-events-none lui:after:absolute lui:after:inset-0 lui:after:rounded-lg lui:after:ring-transparent lui:after:ring-inset lui:sm:focus-within:after:ring-2 lui:sm:focus-within:after:ring-focus lui:has-data-disabled:opacity-50 lui:has-data-disabled:before:bg-surface-hover lui:has-data-disabled:before:shadow-none lui:has-data-invalid:before:shadow-destructive-border/10"
|
|
89
89
|
end
|
|
90
90
|
end
|
|
@@ -7,12 +7,12 @@
|
|
|
7
7
|
lui_toast_dismiss_after_value: @dismiss_after,
|
|
8
8
|
}
|
|
9
9
|
) do %>
|
|
10
|
-
<div class="lui:flex lui:items-center lui:w-full lui:max-w-xs lui:p-4 lui:text-
|
|
10
|
+
<div class="lui:flex lui:items-center lui:w-full lui:max-w-xs lui:p-4 lui:text-foreground-secondary lui:bg-surface-secondary lui:rounded-lg lui:shadow" role="alert">
|
|
11
11
|
<div class="lui:ml-3 lui:text-sm lui:font-normal"><%= content %></div>
|
|
12
12
|
<button
|
|
13
13
|
type="button"
|
|
14
|
-
class="lui:ml-auto lui:-mx-1.5 lui:-my-1.5 lui:bg-
|
|
15
|
-
lui:rounded-lg lui:focus:ring-2 lui:focus:ring-
|
|
14
|
+
class="lui:ml-auto lui:-mx-1.5 lui:-my-1.5 lui:bg-surface-secondary lui:text-foreground-secondary lui:hover:text-foreground
|
|
15
|
+
lui:rounded-lg lui:focus:ring-2 lui:focus:ring-border lui:p-1.5 lui:hover:bg-surface-tertiary lui:inline-flex
|
|
16
16
|
lui:items-center lui:justify-center lui:h-8 lui:w-8 lui:cursor-pointer" data-action="click->lui-toast#close" aria-label="Close">
|
|
17
17
|
<svg class="lui:w-3 lui:h-3" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 14 14">
|
|
18
18
|
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6"/>
|
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
<%= content %>
|
|
8
8
|
|
|
9
9
|
<%= tag.div(data: { "lui-tooltip-target" => "template" }, class: "lui:hidden") do %>
|
|
10
|
-
<%= tag.div( class: "lui:absolute lui:z-50 lui:px-3 lui:py-2 lui:text-sm lui:font-medium lui:text-
|
|
10
|
+
<%= tag.div( class: "lui:absolute lui:z-50 lui:px-3 lui:py-2 lui:text-sm lui:font-medium lui:text-tooltip-text lui:bg-tooltip-bg lui:rounded-lg lui:shadow-sm lui:opacity-0 lui:transition-opacity lui:duration-200 lui:ease-in-out") do %>
|
|
11
11
|
<%= @text %>
|
|
12
|
-
<%= tag.div( class: "tooltip-arrow lui:absolute lui:w-2 lui:h-2 lui:bg-
|
|
12
|
+
<%= tag.div( class: "tooltip-arrow lui:absolute lui:w-2 lui:h-2 lui:bg-tooltip-bg lui:transform lui:rotate-45", data: { "tooltip-arrow" => "true" }) %>
|
|
13
13
|
<% end %>
|
|
14
14
|
<% end %>
|
|
15
15
|
<% end %>
|
|
@@ -391,10 +391,10 @@ export default class extends Controller {
|
|
|
391
391
|
|
|
392
392
|
const tag = document.createElement("span")
|
|
393
393
|
tag.setAttribute("data-combobox-tag", "true")
|
|
394
|
-
tag.className = "lui:inline-flex lui:items-center lui:gap-1 lui:rounded-md lui:bg-
|
|
394
|
+
tag.className = "lui:inline-flex lui:items-center lui:gap-1 lui:rounded-md lui:bg-surface-tertiary lui:px-2 lui:py-0.5 lui:text-sm lui:text-foreground-secondary"
|
|
395
395
|
tag.innerHTML = `
|
|
396
396
|
<span class="lui:truncate lui:max-w-[150px]">${this.escapeHtml(label)}</span>
|
|
397
|
-
<button type="button" data-value="${this.escapeHtml(String(value))}" data-action="click->lui-combobox#removeTag" class="lui:text-
|
|
397
|
+
<button type="button" data-value="${this.escapeHtml(String(value))}" data-action="click->lui-combobox#removeTag" class="lui:text-foreground-muted lui:hover:text-foreground-secondary lui:flex-shrink-0 lui:ml-0.5">
|
|
398
398
|
<svg class="lui:h-3.5 lui:w-3.5" viewBox="0 0 16 16" fill="currentColor">
|
|
399
399
|
<path d="M5.28 4.22a.75.75 0 00-1.06 1.06L6.94 8l-2.72 2.72a.75.75 0 101.06 1.06L8 9.06l2.72 2.72a.75.75 0 101.06-1.06L9.06 8l2.72-2.72a.75.75 0 00-1.06-1.06L8 6.94 5.28 4.22z"/>
|
|
400
400
|
</svg>
|
|
@@ -16,7 +16,7 @@ class Upload {
|
|
|
16
16
|
const fileContainer = this.controller.filesTarget.querySelector(`#upload_${this.directUpload.id}`)
|
|
17
17
|
const status = fileContainer.querySelector("[data-lui-dropzone-target='status']")
|
|
18
18
|
status.textContent = "Failed. " + error
|
|
19
|
-
status.classList.add("text-
|
|
19
|
+
status.classList.add("text-destructive-text")
|
|
20
20
|
} else {
|
|
21
21
|
const hiddenField = document.createElement('input')
|
|
22
22
|
hiddenField.setAttribute("type", "hidden");
|
|
@@ -4,116 +4,116 @@ module LightningUiKit
|
|
|
4
4
|
@view_context = view_context
|
|
5
5
|
end
|
|
6
6
|
|
|
7
|
-
def alert(
|
|
8
|
-
render(AlertComponent.new(
|
|
7
|
+
def alert(*, **, &block)
|
|
8
|
+
render(AlertComponent.new(*, **), &block)
|
|
9
9
|
end
|
|
10
10
|
|
|
11
|
-
def avatar(
|
|
12
|
-
render(AvatarComponent.new(
|
|
11
|
+
def avatar(*, **, &block)
|
|
12
|
+
render(AvatarComponent.new(*, **), &block)
|
|
13
13
|
end
|
|
14
14
|
|
|
15
|
-
def badge(
|
|
16
|
-
render(BadgeComponent.new(
|
|
15
|
+
def badge(*, **, &block)
|
|
16
|
+
render(BadgeComponent.new(*, **), &block)
|
|
17
17
|
end
|
|
18
18
|
|
|
19
|
-
def banner(
|
|
20
|
-
render(BannerComponent.new(
|
|
19
|
+
def banner(*, **, &block)
|
|
20
|
+
render(BannerComponent.new(*, **), &block)
|
|
21
21
|
end
|
|
22
22
|
|
|
23
|
-
def button(
|
|
24
|
-
render(ButtonComponent.new(
|
|
23
|
+
def button(*, **, &block)
|
|
24
|
+
render(ButtonComponent.new(*, **), &block)
|
|
25
25
|
end
|
|
26
26
|
|
|
27
|
-
def checkbox(
|
|
28
|
-
render(CheckboxComponent.new(
|
|
27
|
+
def checkbox(*, **, &block)
|
|
28
|
+
render(CheckboxComponent.new(*, **), &block)
|
|
29
29
|
end
|
|
30
30
|
|
|
31
|
-
def combobox(
|
|
32
|
-
render(ComboboxComponent.new(
|
|
31
|
+
def combobox(*, **, &block)
|
|
32
|
+
render(ComboboxComponent.new(*, **), &block)
|
|
33
33
|
end
|
|
34
34
|
|
|
35
|
-
def description_list(
|
|
36
|
-
render(DescriptionListComponent.new(
|
|
35
|
+
def description_list(*, **, &block)
|
|
36
|
+
render(DescriptionListComponent.new(*, **), &block)
|
|
37
37
|
end
|
|
38
38
|
|
|
39
|
-
def dropdown(
|
|
40
|
-
render(DropdownComponent.new(
|
|
39
|
+
def dropdown(*, **, &block)
|
|
40
|
+
render(DropdownComponent.new(*, **), &block)
|
|
41
41
|
end
|
|
42
42
|
|
|
43
|
-
def dropzone(
|
|
44
|
-
render(DropzoneComponent.new(
|
|
43
|
+
def dropzone(*, **, &block)
|
|
44
|
+
render(DropzoneComponent.new(*, **), &block)
|
|
45
45
|
end
|
|
46
46
|
|
|
47
|
-
def file_input(
|
|
48
|
-
render(FileInputComponent.new(
|
|
47
|
+
def file_input(*, **, &block)
|
|
48
|
+
render(FileInputComponent.new(*, **), &block)
|
|
49
49
|
end
|
|
50
50
|
|
|
51
|
-
def input(
|
|
52
|
-
render(InputComponent.new(
|
|
51
|
+
def input(*, **, &block)
|
|
52
|
+
render(InputComponent.new(*, **), &block)
|
|
53
53
|
end
|
|
54
54
|
|
|
55
|
-
def layout(
|
|
56
|
-
render(LayoutComponent.new(
|
|
55
|
+
def layout(*, **, &block)
|
|
56
|
+
render(LayoutComponent.new(*, **), &block)
|
|
57
57
|
end
|
|
58
58
|
|
|
59
|
-
def link(
|
|
60
|
-
render(LinkComponent.new(
|
|
59
|
+
def link(*, **, &block)
|
|
60
|
+
render(LinkComponent.new(*, **), &block)
|
|
61
61
|
end
|
|
62
62
|
|
|
63
|
-
def modal(
|
|
64
|
-
render(ModalComponent.new(
|
|
63
|
+
def modal(*, **, &block)
|
|
64
|
+
render(ModalComponent.new(*, **), &block)
|
|
65
65
|
end
|
|
66
66
|
|
|
67
|
-
def pagination(
|
|
68
|
-
render(PaginationComponent.new(
|
|
67
|
+
def pagination(*, **, &block)
|
|
68
|
+
render(PaginationComponent.new(*, **), &block)
|
|
69
69
|
end
|
|
70
70
|
|
|
71
|
-
def select(
|
|
72
|
-
render(SelectComponent.new(
|
|
71
|
+
def select(*, **, &block)
|
|
72
|
+
render(SelectComponent.new(*, **), &block)
|
|
73
73
|
end
|
|
74
74
|
|
|
75
|
-
def sidebar(
|
|
76
|
-
render(SidebarComponent.new(
|
|
75
|
+
def sidebar(*, **, &block)
|
|
76
|
+
render(SidebarComponent.new(*, **), &block)
|
|
77
77
|
end
|
|
78
78
|
|
|
79
|
-
def sidebar_link(
|
|
80
|
-
render(SidebarLinkComponent.new(
|
|
79
|
+
def sidebar_link(*, **, &block)
|
|
80
|
+
render(SidebarLinkComponent.new(*, **), &block)
|
|
81
81
|
end
|
|
82
82
|
|
|
83
|
-
def sidebar_section(
|
|
84
|
-
render(SidebarSectionComponent.new(
|
|
83
|
+
def sidebar_section(*, **, &block)
|
|
84
|
+
render(SidebarSectionComponent.new(*, **), &block)
|
|
85
85
|
end
|
|
86
86
|
|
|
87
|
-
def skeleton(
|
|
88
|
-
render(SkeletonComponent.new(
|
|
87
|
+
def skeleton(*, **, &block)
|
|
88
|
+
render(SkeletonComponent.new(*, **), &block)
|
|
89
89
|
end
|
|
90
90
|
|
|
91
|
-
def spinner(
|
|
92
|
-
render(SpinnerComponent.new(
|
|
91
|
+
def spinner(*, **, &block)
|
|
92
|
+
render(SpinnerComponent.new(*, **), &block)
|
|
93
93
|
end
|
|
94
94
|
|
|
95
|
-
def switch(
|
|
96
|
-
render(SwitchComponent.new(
|
|
95
|
+
def switch(*, **, &block)
|
|
96
|
+
render(SwitchComponent.new(*, **), &block)
|
|
97
97
|
end
|
|
98
98
|
|
|
99
|
-
def table(
|
|
100
|
-
render(TableComponent.new(
|
|
99
|
+
def table(*, **, &block)
|
|
100
|
+
render(TableComponent.new(*, **), &block)
|
|
101
101
|
end
|
|
102
102
|
|
|
103
|
-
def text(
|
|
104
|
-
render(TextComponent.new(
|
|
103
|
+
def text(*, **, &block)
|
|
104
|
+
render(TextComponent.new(*, **), &block)
|
|
105
105
|
end
|
|
106
106
|
|
|
107
|
-
def textarea(
|
|
108
|
-
render(TextareaComponent.new(
|
|
107
|
+
def textarea(*, **, &block)
|
|
108
|
+
render(TextareaComponent.new(*, **), &block)
|
|
109
109
|
end
|
|
110
110
|
|
|
111
|
-
def toast(
|
|
112
|
-
render(ToastComponent.new(
|
|
111
|
+
def toast(*, **, &block)
|
|
112
|
+
render(ToastComponent.new(*, **), &block)
|
|
113
113
|
end
|
|
114
114
|
|
|
115
|
-
def tooltip(
|
|
116
|
-
render(TooltipComponent.new(
|
|
115
|
+
def tooltip(*, **, &block)
|
|
116
|
+
render(TooltipComponent.new(*, **), &block)
|
|
117
117
|
end
|
|
118
118
|
|
|
119
119
|
private
|
|
Binary file
|
|
@@ -28,17 +28,17 @@ checking for RB_WARN_CATEGORY_DEPRECATED in ruby.h... yes
|
|
|
28
28
|
creating Makefile
|
|
29
29
|
|
|
30
30
|
current directory: /home/runner/work/lightning_ui_kit/lightning_ui_kit/vendor/bundle/ruby/3.4.0/gems/bigdecimal-3.2.2/ext/bigdecimal
|
|
31
|
-
make DESTDIR\= sitearchdir\=./.gem.
|
|
31
|
+
make DESTDIR\= sitearchdir\=./.gem.20260219-2287-upzaqc sitelibdir\=./.gem.20260219-2287-upzaqc clean
|
|
32
32
|
|
|
33
33
|
current directory: /home/runner/work/lightning_ui_kit/lightning_ui_kit/vendor/bundle/ruby/3.4.0/gems/bigdecimal-3.2.2/ext/bigdecimal
|
|
34
|
-
make DESTDIR\= sitearchdir\=./.gem.
|
|
34
|
+
make DESTDIR\= sitearchdir\=./.gem.20260219-2287-upzaqc sitelibdir\=./.gem.20260219-2287-upzaqc
|
|
35
35
|
compiling bigdecimal.c
|
|
36
36
|
compiling missing.c
|
|
37
37
|
linking shared-object bigdecimal.so
|
|
38
38
|
|
|
39
39
|
current directory: /home/runner/work/lightning_ui_kit/lightning_ui_kit/vendor/bundle/ruby/3.4.0/gems/bigdecimal-3.2.2/ext/bigdecimal
|
|
40
|
-
make DESTDIR\= sitearchdir\=./.gem.
|
|
41
|
-
/usr/bin/install -c -m 0755 bigdecimal.so ./.gem.
|
|
40
|
+
make DESTDIR\= sitearchdir\=./.gem.20260219-2287-upzaqc sitelibdir\=./.gem.20260219-2287-upzaqc install
|
|
41
|
+
/usr/bin/install -c -m 0755 bigdecimal.so ./.gem.20260219-2287-upzaqc
|
|
42
42
|
|
|
43
43
|
current directory: /home/runner/work/lightning_ui_kit/lightning_ui_kit/vendor/bundle/ruby/3.4.0/gems/bigdecimal-3.2.2/ext/bigdecimal
|
|
44
|
-
make DESTDIR\= sitearchdir\=./.gem.
|
|
44
|
+
make DESTDIR\= sitearchdir\=./.gem.20260219-2287-upzaqc sitelibdir\=./.gem.20260219-2287-upzaqc 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.8/x64/lib ASAN_OPTIONS=detect_leaks=0 "gcc -o conftest -I/opt/hostedtoolcache/Ruby/3.4.8/x64/include/ruby-3.4.0/x86_64-linux -I/opt/hostedtoolcache/Ruby/3.4.8/x64/include/ruby-3.4.0/ruby/backward -I/opt/hostedtoolcache/Ruby/3.4.8/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.8/x64/lib -Wl,-rpath,/opt/hostedtoolcache/Ruby/3.4.8/x64/lib -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,--no-as-needed -Wl,-rpath,/opt/hostedtoolcache/Ruby/3.4.8/x64/lib -L/opt/hostedtoolcache/Ruby/3.4.8/x64/lib -lruby -lm -lpthread -lc"
|
|
138
|
-
/usr/bin/ld: /tmp/
|
|
138
|
+
/usr/bin/ld: /tmp/ccR67fFp.o: in function `t':
|
|
139
139
|
/home/runner/work/lightning_ui_kit/lightning_ui_kit/vendor/bundle/ruby/3.4.0/gems/bigdecimal-3.2.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.8/x64/lib ASAN_OPTIONS=detect_leaks=0 "gcc -o conftest -I/opt/hostedtoolcache/Ruby/3.4.8/x64/include/ruby-3.4.0/x86_64-linux -I/opt/hostedtoolcache/Ruby/3.4.8/x64/include/ruby-3.4.0/ruby/backward -I/opt/hostedtoolcache/Ruby/3.4.8/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.8/x64/lib -Wl,-rpath,/opt/hostedtoolcache/Ruby/3.4.8/x64/lib -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,--no-as-needed -Wl,-rpath,/opt/hostedtoolcache/Ruby/3.4.8/x64/lib -L/opt/hostedtoolcache/Ruby/3.4.8/x64/lib -lruby -lm -lpthread -lc"
|
|
200
|
-
/usr/bin/ld: /tmp/
|
|
200
|
+
/usr/bin/ld: /tmp/ccydACiN.o: in function `t':
|
|
201
201
|
/home/runner/work/lightning_ui_kit/lightning_ui_kit/vendor/bundle/ruby/3.4.0/gems/bigdecimal-3.2.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:
|
|
@@ -381,7 +381,7 @@ checked program was:
|
|
|
381
381
|
/* end */
|
|
382
382
|
|
|
383
383
|
LD_LIBRARY_PATH=.:/opt/hostedtoolcache/Ruby/3.4.8/x64/lib ASAN_OPTIONS=detect_leaks=0 "gcc -o conftest -I/opt/hostedtoolcache/Ruby/3.4.8/x64/include/ruby-3.4.0/x86_64-linux -I/opt/hostedtoolcache/Ruby/3.4.8/x64/include/ruby-3.4.0/ruby/backward -I/opt/hostedtoolcache/Ruby/3.4.8/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.8/x64/lib -Wl,-rpath,/opt/hostedtoolcache/Ruby/3.4.8/x64/lib -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,--no-as-needed -Wl,-rpath,/opt/hostedtoolcache/Ruby/3.4.8/x64/lib -L/opt/hostedtoolcache/Ruby/3.4.8/x64/lib -lruby -lm -lpthread -lc"
|
|
384
|
-
/usr/bin/ld: /tmp/
|
|
384
|
+
/usr/bin/ld: /tmp/cczaSyKC.o: in function `t':
|
|
385
385
|
/home/runner/work/lightning_ui_kit/lightning_ui_kit/vendor/bundle/ruby/3.4.0/gems/bigdecimal-3.2.2/ext/bigdecimal/conftest.c:17:(.text+0xb): undefined reference to `__builtin_isfinite'
|
|
386
386
|
collect2: error: ld returned 1 exit status
|
|
387
387
|
checked program was:
|
|
Binary file
|
|
@@ -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.20260219-2287-38b6b6 sitelibdir\=./.gem.20260219-2287-38b6b6 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.20260219-2287-38b6b6 sitelibdir\=./.gem.20260219-2287-38b6b6
|
|
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.20260219-2287-38b6b6 sitelibdir\=./.gem.20260219-2287-38b6b6 install
|
|
21
|
+
/usr/bin/install -c -m 0755 date_core.so ./.gem.20260219-2287-38b6b6
|
|
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.20260219-2287-38b6b6 sitelibdir\=./.gem.20260219-2287-38b6b6 clean
|
|
Binary file
|
|
@@ -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.20260219-2287-sdznal sitelibdir\=./.gem.20260219-2287-sdznal 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.20260219-2287-sdznal sitelibdir\=./.gem.20260219-2287-sdznal
|
|
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.20260219-2287-sdznal sitelibdir\=./.gem.20260219-2287-sdznal install
|
|
16
|
+
/usr/bin/install -c -m 0755 escape.so ./.gem.20260219-2287-sdznal/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.20260219-2287-sdznal sitelibdir\=./.gem.20260219-2287-sdznal 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.20260219-2287-tnwloq sitelibdir\=./.gem.20260219-2287-tnwloq 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.20260219-2287-tnwloq sitelibdir\=./.gem.20260219-2287-tnwloq
|
|
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.20260219-2287-tnwloq sitelibdir\=./.gem.20260219-2287-tnwloq install
|
|
28
|
+
/usr/bin/install -c -m 0755 console.so ./.gem.20260219-2287-tnwloq/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.20260219-2287-tnwloq sitelibdir\=./.gem.20260219-2287-tnwloq clean
|