@pequity/squirrel 7.0.0 → 7.0.2
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/cjs/chunks/index.js +748 -504
- package/dist/cjs/chunks/p-action-bar.js +6 -6
- package/dist/cjs/chunks/p-btn.js +1 -1
- package/dist/es/chunks/index.js +748 -504
- package/dist/es/chunks/p-action-bar.js +6 -6
- package/dist/es/chunks/p-btn.js +1 -1
- package/dist/squirrel/components/p-btn/p-btn.vue.d.ts +5 -245
- package/dist/squirrel/utils/inputClasses.d.ts +23 -551
- package/package.json +25 -25
- package/squirrel/components/p-action-bar/p-action-bar.spec.ts +5 -1
- package/squirrel/components/p-action-bar/p-action-bar.vue +7 -7
- package/squirrel/components/p-btn/p-btn.spec.js +1 -0
- package/squirrel/components/p-btn/p-btn.vue +1 -1
|
@@ -11,7 +11,7 @@ const _hoisted_2 = { class: "whitespace-nowrap px-3" };
|
|
|
11
11
|
const _hoisted_3 = { class: "flex" };
|
|
12
12
|
const _hoisted_4 = { class: "flex items-center gap-2 px-1 py-0.5" };
|
|
13
13
|
const _hoisted_5 = { class: "flex items-center gap-2 px-1 py-0.5" };
|
|
14
|
-
const _hoisted_6 = { class: "
|
|
14
|
+
const _hoisted_6 = { class: "bg-p-purple-60 py-2" };
|
|
15
15
|
const _hoisted_7 = { class: "flex items-center gap-2 px-1 py-0.5" };
|
|
16
16
|
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
17
17
|
...{
|
|
@@ -72,17 +72,17 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
72
72
|
placement: "top",
|
|
73
73
|
strategy: "fixed"
|
|
74
74
|
}, {
|
|
75
|
-
popper: vue.withCtx(() => [
|
|
76
|
-
vue.createElementVNode("
|
|
75
|
+
popper: vue.withCtx(({ hide }) => [
|
|
76
|
+
vue.createElementVNode("ul", _hoisted_6, [
|
|
77
77
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(actionOrMenu.subActions, (subaction) => {
|
|
78
|
-
return vue.openBlock(), vue.createElementBlock("
|
|
78
|
+
return vue.openBlock(), vue.createElementBlock("li", {
|
|
79
79
|
key: `subaction-${subaction.name}`
|
|
80
80
|
}, [
|
|
81
81
|
vue.createVNode(pBtn_vue_vue_type_script_setup_true_lang._sfc_main, {
|
|
82
82
|
size: "sm",
|
|
83
|
-
class: "w-full",
|
|
83
|
+
class: "w-full [&>.items-center]:justify-start",
|
|
84
84
|
type: "secondary-ghost-dark",
|
|
85
|
-
onClick: ($event) => _ctx.$emit("click:action", subaction.name)
|
|
85
|
+
onClick: ($event) => (_ctx.$emit("click:action", subaction.name), hide())
|
|
86
86
|
}, {
|
|
87
87
|
default: vue.withCtx(() => [
|
|
88
88
|
vue.createElementVNode("div", _hoisted_7, [
|
package/dist/cjs/chunks/p-btn.js
CHANGED
|
@@ -10,7 +10,7 @@ const _hoisted_1 = ["href", "disabled", "aria-disabled"];
|
|
|
10
10
|
const _hoisted_2 = { class: "slot-wrapper empty:hidden" };
|
|
11
11
|
const btnClasses = {
|
|
12
12
|
slots: {
|
|
13
|
-
button: "relative inline-block rounded font-medium outline-none disabled:pointer-events-none disabled:cursor-default disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:cursor-default aria-disabled:opacity-50",
|
|
13
|
+
button: "relative inline-block whitespace-nowrap rounded font-medium outline-none disabled:pointer-events-none disabled:cursor-default disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:cursor-default aria-disabled:opacity-50",
|
|
14
14
|
content: "flex items-center justify-center has-[.slot-wrapper:empty]:gap-0",
|
|
15
15
|
loader: "absolute bottom-0 left-0 right-0 top-0 flex items-center justify-center font-medium",
|
|
16
16
|
icon: "shrink-0"
|