classcard-ui 0.2.327 → 0.2.328
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/classcard-ui.common.js +52 -53
- package/dist/classcard-ui.common.js.map +1 -1
- package/dist/classcard-ui.umd.js +52 -53
- package/dist/classcard-ui.umd.js.map +1 -1
- package/dist/classcard-ui.umd.min.js +1 -1
- package/dist/classcard-ui.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/components/CButtonSelect/CButtonSelect.vue +1 -2
- package/src/stories/CButtonSelect.stories.js +2 -2
package/package.json
CHANGED
|
@@ -24,9 +24,8 @@
|
|
|
24
24
|
>
|
|
25
25
|
<ul class="py-1" tabindex="-1" role="listbox" aria-labelledby="listbox-label">
|
|
26
26
|
<li
|
|
27
|
-
v-for="(item
|
|
27
|
+
v-for="(item) in items"
|
|
28
28
|
:key="item.text"
|
|
29
|
-
:class="index !== Object.keys(items).length - 1 ? 'border-b border-gray-200' : ''"
|
|
30
29
|
class="flex px-4 py-2 text-sm text-gray-700 hover:bg-gray-100 hover:text-gray-900 cursor-pointer"
|
|
31
30
|
@mousedown="emitOptionAction(item.action)"
|
|
32
31
|
>
|
|
@@ -23,8 +23,8 @@ const Template = (args, { argTypes }) => ({
|
|
|
23
23
|
export const Default = Template.bind({});
|
|
24
24
|
Default.args = {
|
|
25
25
|
items: [
|
|
26
|
-
{ icon: "check", text: "one", action: "first" },
|
|
27
|
-
{ icon: "check", text: "two", action: "second" },
|
|
26
|
+
{ icon: "check", text: "one", action: "first", iconType: "solid" },
|
|
27
|
+
{ icon: "check", text: "two", action: "second", iconType: "solid" },
|
|
28
28
|
],
|
|
29
29
|
type: "primary",
|
|
30
30
|
label: "Button",
|