shadcn_phlexcomponents 0.1.16 → 0.1.17
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ebf753af91e75e54f50b50f56c23c37bf4ab7b9f9cd98bbd32bb99c204bc37ec
|
4
|
+
data.tar.gz: af8970abb30a35cd64aa99e1d754d05a63e0f3ebab2871326f232f7f66fb950d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ad84b2baa58c78951bb28305c821471c802bb05827ca0143e0b8cc0ba827612c71db3166e65962d83d4a54ad9fd9d6157cce666f15669c0e76f7f619d5dd804e
|
7
|
+
data.tar.gz: 5b1a1ae7886414834d0e8cb2f9def87e9a4324949c15653f402a4ae9bdd41eda46c8984738b424063404a516ea6f58c0b69eb831abb564a983810653d889c213
|
@@ -66,10 +66,6 @@ module ShadcnPhlexcomponents
|
|
66
66
|
ComboboxGroup(aria_id: @aria_id, **attributes, &)
|
67
67
|
end
|
68
68
|
|
69
|
-
def empty(**attributes, &)
|
70
|
-
ComboboxEmpty(**attributes, &)
|
71
|
-
end
|
72
|
-
|
73
69
|
def items(collection, value_method:, text_method:, disabled_items: nil, &)
|
74
70
|
vanish(&)
|
75
71
|
|
@@ -229,7 +225,7 @@ module ShadcnPhlexcomponents
|
|
229
225
|
class: "sr-only",
|
230
226
|
id: "#{@aria_id}-search-label",
|
231
227
|
for: "#{@aria_id}-search",
|
232
|
-
) { @
|
228
|
+
) { @search_placeholder_text }
|
233
229
|
|
234
230
|
div(class: "flex h-9 items-center gap-2 border-b px-3") do
|
235
231
|
icon("search", class: "size-4 shrink-0 opacity-50")
|
@@ -238,7 +234,7 @@ module ShadcnPhlexcomponents
|
|
238
234
|
class: "placeholder:text-muted-foreground flex w-full rounded-md bg-transparent py-3 text-sm
|
239
235
|
outline-hidden disabled:cursor-not-allowed disabled:opacity-50 h-9",
|
240
236
|
id: "#{@aria_id}-search",
|
241
|
-
placeholder: @
|
237
|
+
placeholder: @search_placeholder_text,
|
242
238
|
type: :text,
|
243
239
|
autocomplete: "off",
|
244
240
|
autocorrect: "off",
|