@plexui/vue 0.42.13 → 0.42.14
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.js","sourceRoot":"","sources":["../../../../src/components/Button/Button.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,eAAe,EAAE,CAAC,EAA4C,MAAM,KAAK,CAAA;AAEtG,OAAO,EAAE,yBAAyB,EAAE,MAAM,sBAAsB,CAAA;AAChE,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAA;AACjE,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAA;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAA;AACxD,OAAO,CAAC,MAAM,oDAAoD,CAAA;AAWlE,MAAM,eAAe,GAAG,eAAe,CAAC;IACtC,IAAI,EAAE,QAAQ;IACd,KAAK,EAAE;QACL,wBAAwB;QACxB,IAAI,EAAE,EAAE,IAAI,EAAE,MAAiD,EAAE,OAAO,EAAE,QAAQ,EAAE;QACpF,+CAA+C;QAC/C,KAAK,EAAE,EAAE,IAAI,EAAE,MAA+B,EAAE,OAAO,EAAE,SAAS,EAAE;QACpE,qDAAqD;QACrD,OAAO,EAAE,EAAE,IAAI,EAAE,MAAoE,EAAE,OAAO,EAAE,OAAO,EAAE;QACzG,oFAAoF;QACpF,IAAI,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE;QACvC,iFAAiF;QACjF,cAAc,EAAE,MAAoC;QACpD,0GAA0G;QAC1G,OAAO,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE;QAC1C,mHAAmH;QACnH,IAAI,EAAE,EAAE,IAAI,EAAE,MAA+B,EAAE,OAAO,EAAE,IAAI,EAAE;QAC9D,mFAAmF;QACnF,QAAQ,EAAE,MAA4D;QACtE,iF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S;gBACrE,SAAS,EAAE,WAAW;aACvB,EACD;gBACE,kEAAkE;gBAClE,wDAAwD;gBACxD,CAAC,CACC,eAAe,EACf,EAAE,KAAK,EAAE,CAAC,CAAC,YAAY,EAAE,aAAa,EAAE,GAAG,EAAE,YAAY,EAAE,GAAG,EAAE,EAChE,OAAO,KAAK,SAAS;oBACnB,CAAC,CAAC,SAAS;oBACX,CAAC,CAAC;wBACE,OAAO,EAAE,GAAG,EAAE,CACZ,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,gBAAgB,EAAE,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,kBAAkB,EAAE,CAAC;qBAC9E,CACN;gBACD,CAAC,CAAC,MAAM,EAAE,EAAE,KAAK,EAAE,CAAC,CAAC,WAAW,EAAE,EAAE,oBAAoB,CAAC,KAAK,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC;aAC7E,CACF,CAAA;QACH,CAAC,CAAA;IACH,CAAC;CACF,CAAC,CAAA;AAOF,MAAM,CAAC,MAAM,MAAM,GAAG,eAA+E,CAAA","sourcesContent":["import { createCommentVNode, defineComponent, h, type ButtonHTMLAttributes, type PropType } from \"vue\"\nimport type { ControlSize, SemanticColors, Sizes, Variants } from \"@plexui/styles/types\"\nimport { handlePressableMouseEnter } from \"../../lib/helpers.js\"\nimport { wrapTextNodeSiblings } from \"../../lib/renderHelpers.js\"\nimport { LoadingIndicator } from \"../Indicator/index.js\"\nimport { TransitionGroup } from \"../Transition/index.js\"\nimport s from \"@plexui/styles/components/Button/Button.module.css\"\n\n// Vue port of packages/ui/src/components/Button/Button.tsx. Props, defaults\n// and rendered attributes match React 1:1 (checked by the parity tests).\n// Boolean props default to `undefined` where React distinguishes \"not set\"\n// from `false` (`inert` falls back to `loading`, `aria-disabled` renders \"false\").\n\nexport type ButtonColor = SemanticColors<\n \"primary\" | \"secondary\" | \"danger\" | \"success\" | \"info\" | \"discovery\" | \"caution\" | \"warning\"\n>\n\nconst ButtonComponent = defineComponent({\n name: \"Button\",\n props: {\n /** @default \"button\" */\n type: { type: String as PropType<\"button\" | \"submit\" | \"reset\">, default: \"button\" },\n /** Color for the button. @default \"primary\" */\n color: { type: String as PropType<ButtonColor>, default: \"primary\" },\n /** Style variant for the Button. @default \"solid\" */\n variant: { type: String as PropType<Variants<\"solid\" | \"soft\" | \"outline\" | \"ghost\">>, default: \"solid\" },\n /** Determines if the button should be a fully rounded pill shape. @default false */\n pill: { type: Boolean, default: false },\n /** Phone surface for neutral soft/ghost buttons; desktop retains the variant. */\n mobileMaterial: String as PropType<\"glass\" | \"flat\">,\n /** Determines if the button should have matching width and height, based on the `size`. @default false */\n uniform: { type: Boolean, default: false },\n /** Controls size of the button: height, plus defaults for `gutterSize`, `iconSize` and font size. @default \"md\" */\n size: { type: String as PropType<ControlSize>, default: \"md\" },\n /** Controls the size of icons within the button, defaults to value from `size`. */\n iconSize: String as PropType<Sizes<\"sm\" | \"md\" | \"lg\" | \"xl\" | \"2xl\">>,\n /** Controls gutter on the edges of the button, defaults to value from `size`. */\n gutterSize: String as PropType<Sizes<\"3xs\" | \"2xs\" | \"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\">>,\n /** Displays loading indicator on top of button contents. @default false */\n loading: { type: Boolean, default: undefined },\n /** Displays selected styles on the button, varying by `variant`. @default false */\n selected: { type: Boolean, default: undefined },\n /** Determines if the button should take up 100% of available width. @default false */\n block: { type: Boolean, default: undefined },\n /** Applies a negative margin using the current gutter to optically align the button with surrounding content. */\n opticallyAlign: String as PropType<\"start\" | \"end\">,\n /** Disables the button visually and from interactions. @default false */\n disabled: { type: Boolean, default: undefined },\n /** Controls the visual tone when the button is disabled. \"relaxed\" will use a default cursor instead of not-allowed. */\n disabledTone: String as PropType<\"relaxed\">,\n /** Determines whether the button should be made inert, without introducing visual change. Defaults to `loading`. */\n inert: { type: Boolean, default: undefined },\n },\n emits: {\n click: (event: MouseEvent) => {\n void event\n return true\n },\n },\n setup(props, { slots, emit }) {\n // Defaults to `loading` state\n const isInertState = () => props.disabled || (props.inert === undefined ? props.loading : props.inert)\n\n const handleClick = (event: MouseEvent) => {\n // React drops mouse events on a natively disabled button, including\n // loading/inert; Vue delivers dispatched clicks, so guard the same state.\n if (isInertState()) {\n return\n }\n emit(\"click\", event)\n }\n\n return () => {\n const isInert = isInertState()\n const { loading } = props\n\n return h(\n \"button\",\n {\n \"type\": props.type,\n \"class\": s.Button,\n \"data-color\": props.color,\n \"data-variant\": props.variant,\n \"data-pill\": props.pill ? \"\" : undefined,\n \"data-mobile-material\": props.mobileMaterial,\n \"data-uniform\": props.uniform ? \"\" : undefined,\n \"data-size\": props.size,\n \"data-gutter-size\": props.gutterSize,\n \"data-icon-size\": props.iconSize,\n \"data-loading\": loading ? \"\" : undefined,\n \"data-selected\": props.selected ? \"\" : undefined,\n \"data-block\": props.block ? \"\" : undefined,\n \"data-optically-align\": props.opticallyAlign,\n \"onPointerenter\": handlePressableMouseEnter,\n // Non-visual, accessible disablement\n // NOTE: Do not use literal `inert` because that is incorrect semantically\n \"disabled\": isInert,\n \"aria-disabled\": isInert,\n \"tabindex\": isInert ? -1 : undefined,\n // Visual disablement\n \"data-disabled\": props.disabled ? \"\" : undefined,\n \"data-disabled-tone\": props.disabled ? props.disabledTone : undefined,\n \"onClick\": handleClick,\n },\n [\n // React renders `{loading && <LoadingIndicator />}`: nothing when\n // `loading` is unset, an empty slot when it is `false`.\n h(\n TransitionGroup,\n { class: s.ButtonLoader, enterDuration: 250, exitDuration: 150 },\n loading === undefined\n ? undefined\n : {\n default: () =>\n loading ? [h(LoadingIndicator, { key: \"loader\" })] : [createCommentVNode()],\n },\n ),\n h(\"span\", { class: s.ButtonInner }, wrapTextNodeSiblings(slots.default?.())),\n ],\n )\n }\n },\n})\n\ntype ButtonOwnProps = InstanceType<typeof ButtonComponent>[\"$props\"]\n\n/** Button props plus the native <button> attributes that fall through to it, as in React. */\nexport type ButtonProps = ButtonOwnProps & Omit<ButtonHTMLAttributes, keyof ButtonOwnProps>\n\nexport const Button = ButtonComponent as typeof ButtonComponent & { new (): { $props: ButtonProps } }\n"]}
|
|
1
|
+
{"version":3,"file":"Button.js","sourceRoot":"","sources":["../../../../src/components/Button/Button.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,eAAe,EAAE,CAAC,EAA4C,MAAM,KAAK,CAAA;AAEtG,OAAO,EAAE,yBAAyB,EAAE,MAAM,sBAAsB,CAAA;AAChE,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAA;AACjE,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAA;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAA;AACxD,OAAO,CAAC,MAAM,oDAAoD,CAAA;AAWlE,MAAM,eAAe,GAAG,eAAe,CAAC;IACtC,IAAI,EAAE,QAAQ;IACd,KAAK,EAAE;QACL,wBAAwB;QACxB,IAAI,EAAE,EAAE,IAAI,EAAE,MAAiD,EAAE,OAAO,EAAE,QAAQ,EAAE;QACpF,+CAA+C;QAC/C,KAAK,EAAE,EAAE,IAAI,EAAE,MAA+B,EAAE,OAAO,EAAE,SAAS,EAAE;QACpE,qDAAqD;QACrD,OAAO,EAAE,EAAE,IAAI,EAAE,MAAoE,EAAE,OAAO,EAAE,OAAO,EAAE;QACzG,oFAAoF;QACpF,IAAI,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE;QACvC,iFAAiF;QACjF,cAAc,EAAE,MAA8C;QAC9D,0GAA0G;QAC1G,OAAO,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE;QAC1C,mHAAmH;QACnH,IAAI,EAAE,EAAE,IAAI,EAAE,MAA+B,EAAE,OAAO,EAAE,IAAI,EAAE;QAC9D,mFAAmF;QACnF,QAAQ,EAAE,MAA4D;QACtE,iFAAiF;QACjF,UAAU,EAAE,MAA2E;QAC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EACD;gBACE,kEAAkE;gBAClE,wDAAwD;gBACxD,CAAC,CACC,eAAe,EACf,EAAE,KAAK,EAAE,CAAC,CAAC,YAAY,EAAE,aAAa,EAAE,GAAG,EAAE,YAAY,EAAE,GAAG,EAAE,EAChE,OAAO,KAAK,SAAS;oBACnB,CAAC,CAAC,SAAS;oBACX,CAAC,CAAC;wBACE,OAAO,EAAE,GAAG,EAAE,CACZ,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,gBAAgB,EAAE,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,kBAAkB,EAAE,CAAC;qBAC9E,CACN;gBACD,CAAC,CAAC,MAAM,EAAE,EAAE,KAAK,EAAE,CAAC,CAAC,WAAW,EAAE,EAAE,oBAAoB,CAAC,KAAK,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC;aAC7E,CACF,CAAA;QACH,CAAC,CAAA;IACH,CAAC;CACF,CAAC,CAAA;AAOF,MAAM,CAAC,MAAM,MAAM,GAAG,eAA+E,CAAA","sourcesContent":["import { createCommentVNode, defineComponent, h, type ButtonHTMLAttributes, type PropType } from \"vue\"\nimport type { ControlSize, SemanticColors, Sizes, Variants } from \"@plexui/styles/types\"\nimport { handlePressableMouseEnter } from \"../../lib/helpers.js\"\nimport { wrapTextNodeSiblings } from \"../../lib/renderHelpers.js\"\nimport { LoadingIndicator } from \"../Indicator/index.js\"\nimport { TransitionGroup } from \"../Transition/index.js\"\nimport s from \"@plexui/styles/components/Button/Button.module.css\"\n\n// Vue port of packages/ui/src/components/Button/Button.tsx. Props, defaults\n// and rendered attributes match React 1:1 (checked by the parity tests).\n// Boolean props default to `undefined` where React distinguishes \"not set\"\n// from `false` (`inert` falls back to `loading`, `aria-disabled` renders \"false\").\n\nexport type ButtonColor = SemanticColors<\n \"primary\" | \"secondary\" | \"danger\" | \"success\" | \"info\" | \"discovery\" | \"caution\" | \"warning\"\n>\n\nconst ButtonComponent = defineComponent({\n name: \"Button\",\n props: {\n /** @default \"button\" */\n type: { type: String as PropType<\"button\" | \"submit\" | \"reset\">, default: \"button\" },\n /** Color for the button. @default \"primary\" */\n color: { type: String as PropType<ButtonColor>, default: \"primary\" },\n /** Style variant for the Button. @default \"solid\" */\n variant: { type: String as PropType<Variants<\"solid\" | \"soft\" | \"outline\" | \"ghost\">>, default: \"solid\" },\n /** Determines if the button should be a fully rounded pill shape. @default false */\n pill: { type: Boolean, default: false },\n /** Phone surface for neutral soft/ghost buttons; desktop retains the variant. */\n mobileMaterial: String as PropType<\"glass\" | \"flat\" | \"clear\">,\n /** Determines if the button should have matching width and height, based on the `size`. @default false */\n uniform: { type: Boolean, default: false },\n /** Controls size of the button: height, plus defaults for `gutterSize`, `iconSize` and font size. @default \"md\" */\n size: { type: String as PropType<ControlSize>, default: \"md\" },\n /** Controls the size of icons within the button, defaults to value from `size`. */\n iconSize: String as PropType<Sizes<\"sm\" | \"md\" | \"lg\" | \"xl\" | \"2xl\">>,\n /** Controls gutter on the edges of the button, defaults to value from `size`. */\n gutterSize: String as PropType<Sizes<\"3xs\" | \"2xs\" | \"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\">>,\n /** Displays loading indicator on top of button contents. @default false */\n loading: { type: Boolean, default: undefined },\n /** Displays selected styles on the button, varying by `variant`. @default false */\n selected: { type: Boolean, default: undefined },\n /** Determines if the button should take up 100% of available width. @default false */\n block: { type: Boolean, default: undefined },\n /** Applies a negative margin using the current gutter to optically align the button with surrounding content. */\n opticallyAlign: String as PropType<\"start\" | \"end\">,\n /** Disables the button visually and from interactions. @default false */\n disabled: { type: Boolean, default: undefined },\n /** Controls the visual tone when the button is disabled. \"relaxed\" will use a default cursor instead of not-allowed. */\n disabledTone: String as PropType<\"relaxed\">,\n /** Determines whether the button should be made inert, without introducing visual change. Defaults to `loading`. */\n inert: { type: Boolean, default: undefined },\n },\n emits: {\n click: (event: MouseEvent) => {\n void event\n return true\n },\n },\n setup(props, { slots, emit }) {\n // Defaults to `loading` state\n const isInertState = () => props.disabled || (props.inert === undefined ? props.loading : props.inert)\n\n const handleClick = (event: MouseEvent) => {\n // React drops mouse events on a natively disabled button, including\n // loading/inert; Vue delivers dispatched clicks, so guard the same state.\n if (isInertState()) {\n return\n }\n emit(\"click\", event)\n }\n\n return () => {\n const isInert = isInertState()\n const { loading } = props\n\n return h(\n \"button\",\n {\n \"type\": props.type,\n \"class\": s.Button,\n \"data-color\": props.color,\n \"data-variant\": props.variant,\n \"data-pill\": props.pill ? \"\" : undefined,\n \"data-mobile-material\": props.mobileMaterial,\n \"data-uniform\": props.uniform ? \"\" : undefined,\n \"data-size\": props.size,\n \"data-gutter-size\": props.gutterSize,\n \"data-icon-size\": props.iconSize,\n \"data-loading\": loading ? \"\" : undefined,\n \"data-selected\": props.selected ? \"\" : undefined,\n \"data-block\": props.block ? \"\" : undefined,\n \"data-optically-align\": props.opticallyAlign,\n \"onPointerenter\": handlePressableMouseEnter,\n // Non-visual, accessible disablement\n // NOTE: Do not use literal `inert` because that is incorrect semantically\n \"disabled\": isInert,\n \"aria-disabled\": isInert,\n \"tabindex\": isInert ? -1 : undefined,\n // Visual disablement\n \"data-disabled\": props.disabled ? \"\" : undefined,\n \"data-disabled-tone\": props.disabled ? props.disabledTone : undefined,\n \"onClick\": handleClick,\n },\n [\n // React renders `{loading && <LoadingIndicator />}`: nothing when\n // `loading` is unset, an empty slot when it is `false`.\n h(\n TransitionGroup,\n { class: s.ButtonLoader, enterDuration: 250, exitDuration: 150 },\n loading === undefined\n ? undefined\n : {\n default: () =>\n loading ? [h(LoadingIndicator, { key: \"loader\" })] : [createCommentVNode()],\n },\n ),\n h(\"span\", { class: s.ButtonInner }, wrapTextNodeSiblings(slots.default?.())),\n ],\n )\n }\n },\n})\n\ntype ButtonOwnProps = InstanceType<typeof ButtonComponent>[\"$props\"]\n\n/** Button props plus the native <button> attributes that fall through to it, as in React. */\nexport type ButtonProps = ButtonOwnProps & Omit<ButtonHTMLAttributes, keyof ButtonOwnProps>\n\nexport const Button = ButtonComponent as typeof ButtonComponent & { new (): { $props: ButtonProps } }\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ButtonLink.js","sourceRoot":"","sources":["../../../../src/components/Button/ButtonLink.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,CAAC,EAAE,UAAU,EAAiB,MAAM,KAAK,CAAA;AAEnE,OAAO,EAAE,yBAAyB,EAAE,MAAM,sBAAsB,CAAA;AAChE,OAAO,EAAE,WAAW,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAA;AAC9E,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAA;AAGhE,OAAO,CAAC,MAAM,oDAAoD,CAAA;AAIlE,MAAM,OAAO,GAAG,CAAC,KAA8B,EAAE,EAAE,CACjD,MAAM,CAAC,WAAW,CAAC,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC,EAAE,EAAE,CAAC,KAAK,KAAK,SAAS,CAAC,CAAC,CAAA;AAEtF,kFAAkF;AAClF,MAAM,CAAC,MAAM,UAAU,GAAG,eAAe,CAAC;IACxC,IAAI,EAAE,YAAY;IAClB,YAAY,EAAE,KAAK;IACnB,KAAK,EAAE;QACL,6CAA6C;QAC7C,KAAK,EAAE,EAAE,IAAI,EAAE,MAA+B,EAAE,OAAO,EAAE,SAAS,EAAE;QACpE,sCAAsC;QACtC,OAAO,EAAE,EAAE,IAAI,EAAE,MAAoE,EAAE,OAAO,EAAE,OAAO,EAAE;QACzG,+CAA+C;QAC/C,IAAI,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE;QACvC,iFAAiF;QACjF,cAAc,EAAE,
|
|
1
|
+
{"version":3,"file":"ButtonLink.js","sourceRoot":"","sources":["../../../../src/components/Button/ButtonLink.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE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,CAAC,EAAE,EAAE,CAAC,GAAG,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,OAAO,KAAK,KAAK,UAAU,CAAC,CACxG,CAAA;gBACD,sEAAsE;gBACtE,OAAO,CAAC,CAAC,MAAM,EAAE,OAAO,CAAC,UAAU,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,WAAW,EAAE,UAAU,CAAC,CAAC,EAAE,CAAC,KAAK,EAAE,CAAC,CAAC,CAAA;YAC7F,CAAC;YAED,MAAM,SAAS,GAAG,OAAO,CACvB,UAAU,CACR,UAAU;gBACR,CAAC,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,GAAG,EAAE,qBAAqB,EAAE,IAAI,EAAE,IAAI,IAAI,EAAE,EAAE;gBACpE,CAAC,CAAC,sDAAsD;oBACtD,EAAE,KAAK,SAAS,IAAI,WAAW,CAAC,aAAa,CAAC;wBAC9C,CAAC,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE;wBACd,CAAC,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE,EAClB,WAAW,EACX,SAAS,CACV,CACF,CAAA;YAED,OAAO,OAAO,aAAa,KAAK,QAAQ;gBACtC,CAAC,CAAC,CAAC,CAAC,aAAa,EAAE,SAAS,EAAE,CAAC,KAAK,EAAE,CAAC,CAAC;gBACxC,CAAC,CAAC,CAAC,CAAC,aAAa,EAAE,SAAS,EAAE,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,CAAC,KAAK,EAAE,CAAC,EAAE,CAAC,CAAA;QAC/D,CAAC,CAAA;IACH,CAAC;CACF,CAAC,CAAA","sourcesContent":["import { defineComponent, h, mergeProps, type PropType } from \"vue\"\nimport type { ControlSize, Sizes, Variants } from \"@plexui/styles/types\"\nimport { handlePressableMouseEnter } from \"../../lib/helpers.js\"\nimport { takesToProp, wrapTextNodeSiblings } from \"../../lib/renderHelpers.js\"\nimport { useLinkComponent } from \"../PlexUIProvider/internal.js\"\nimport type { LinkComponent } from \"../PlexUIProvider/index.js\"\nimport type { ButtonColor } from \"./Button.js\"\nimport s from \"@plexui/styles/components/Button/Button.module.css\"\n\ntype RouteTarget = string | Record<string, unknown>\n\nconst defined = (props: Record<string, unknown>) =>\n Object.fromEntries(Object.entries(props).filter(([, value]) => value !== undefined))\n\n/** Vue port of `ButtonLink` from packages/ui/src/components/Button/Button.tsx. */\nexport const ButtonLink = defineComponent({\n name: \"ButtonLink\",\n inheritAttrs: false,\n props: {\n /** Color for the link. @default \"primary\" */\n color: { type: String as PropType<ButtonColor>, default: \"primary\" },\n /** Style variant. @default \"solid\" */\n variant: { type: String as PropType<Variants<\"solid\" | \"soft\" | \"outline\" | \"ghost\">>, default: \"solid\" },\n /** Fully rounded pill shape. @default false */\n pill: { type: Boolean, default: false },\n /** Phone surface for neutral soft/ghost buttons; desktop retains the variant. */\n mobileMaterial: String as PropType<\"glass\" | \"flat\" | \"clear\">,\n /** Control height and typography scale. @default \"md\" */\n size: { type: String as PropType<ControlSize>, default: \"md\" },\n gutterSize: String as PropType<Sizes<\"3xs\" | \"2xs\" | \"xs\" | \"sm\" | \"md\" | \"lg\" | \"xl\">>,\n iconSize: String as PropType<Sizes<\"sm\" | \"md\" | \"lg\" | \"xl\" | \"2xl\">>,\n /** Force external-link behavior. */\n external: { type: Boolean, default: undefined },\n block: { type: Boolean, default: undefined },\n opticallyAlign: String as PropType<\"start\" | \"end\">,\n disabled: { type: Boolean, default: undefined },\n disabledTone: String as PropType<\"relaxed\">,\n /** Link component override (e.g. a router link). */\n as: [String, Object, Function] as PropType<LinkComponent>,\n href: String,\n to: [String, Object] as PropType<RouteTarget>,\n },\n emits: {\n click: (event: MouseEvent) => {\n void event\n return true\n },\n },\n setup(props, { slots, attrs, emit }) {\n const DefaultComponent = useLinkComponent()\n\n return () => {\n const { href, to, disabled } = props\n const isExternal = props.external ?? /^https?:\\/\\//.test(href ?? (typeof to === \"string\" ? to : \"\") ?? \"\")\n const LinkComponent = props.as || (isExternal ? \"a\" : DefaultComponent.value)\n const { class: className, ...restAttrs } = attrs\n\n const sharedProps = {\n \"class\": [s.Button, className],\n // React renders boolean `disabled` on a link as an empty attribute\n \"disabled\": disabled ? \"\" : undefined,\n \"aria-disabled\": disabled,\n \"tabindex\": disabled ? -1 : undefined,\n // Visual disablement (inert not supported in links, always applied)\n \"data-disabled\": disabled ? \"\" : undefined,\n \"data-disabled-tone\": disabled ? props.disabledTone : undefined,\n \"data-color\": props.color,\n \"data-variant\": props.variant,\n \"data-pill\": props.pill ? \"\" : undefined,\n \"data-mobile-material\": props.mobileMaterial,\n \"data-block\": props.block ? \"\" : undefined,\n \"data-optically-align\": props.opticallyAlign,\n \"data-size\": props.size,\n \"data-gutter-size\": props.gutterSize,\n \"data-icon-size\": props.iconSize,\n \"onClick\": disabled ? undefined : (event: MouseEvent) => emit(\"click\", event),\n \"onPointerenter\": handlePressableMouseEnter,\n }\n const inner = () => h(\"span\", { class: s.ButtonInner }, wrapTextNodeSiblings(slots.default?.()))\n\n if (disabled) {\n // Don't thread down stuff that isn't valid for a span - just keep the event handlers\n const eventProps = Object.fromEntries(\n Object.entries(restAttrs).filter(([key, value]) => key.startsWith(\"on\") && typeof value === \"function\"),\n )\n // mergeProps keeps both pointerenter handlers, as React composes them\n return h(\"span\", defined(mergeProps({ role: \"link\" }, sharedProps, eventProps)), [inner()])\n }\n\n const linkProps = defined(\n mergeProps(\n isExternal\n ? { target: \"_blank\", rel: \"noopener noreferrer\", href: href ?? to }\n : // A router link (`to` required) gets the href as `to`\n to === undefined && takesToProp(LinkComponent)\n ? { to: href }\n : { href, to },\n sharedProps,\n restAttrs,\n ),\n )\n\n return typeof LinkComponent === \"string\"\n ? h(LinkComponent, linkProps, [inner()])\n : h(LinkComponent, linkProps, { default: () => [inner()] })\n }\n },\n})\n"]}
|
|
@@ -23,7 +23,7 @@ declare const ButtonComponent: import("vue").DefineComponent<import("vue").Extra
|
|
|
23
23
|
default: boolean;
|
|
24
24
|
};
|
|
25
25
|
/** Phone surface for neutral soft/ghost buttons; desktop retains the variant. */
|
|
26
|
-
mobileMaterial: PropType<"glass" | "flat">;
|
|
26
|
+
mobileMaterial: PropType<"glass" | "flat" | "clear">;
|
|
27
27
|
/** Determines if the button should have matching width and height, based on the `size`. @default false */
|
|
28
28
|
uniform: {
|
|
29
29
|
type: BooleanConstructor;
|
|
@@ -93,7 +93,7 @@ declare const ButtonComponent: import("vue").DefineComponent<import("vue").Extra
|
|
|
93
93
|
default: boolean;
|
|
94
94
|
};
|
|
95
95
|
/** Phone surface for neutral soft/ghost buttons; desktop retains the variant. */
|
|
96
|
-
mobileMaterial: PropType<"glass" | "flat">;
|
|
96
|
+
mobileMaterial: PropType<"glass" | "flat" | "clear">;
|
|
97
97
|
/** Determines if the button should have matching width and height, based on the `size`. @default false */
|
|
98
98
|
uniform: {
|
|
99
99
|
type: BooleanConstructor;
|
|
@@ -21,7 +21,7 @@ export declare const ButtonLink: import("vue").DefineComponent<import("vue").Ext
|
|
|
21
21
|
default: boolean;
|
|
22
22
|
};
|
|
23
23
|
/** Phone surface for neutral soft/ghost buttons; desktop retains the variant. */
|
|
24
|
-
mobileMaterial: PropType<"glass" | "flat">;
|
|
24
|
+
mobileMaterial: PropType<"glass" | "flat" | "clear">;
|
|
25
25
|
/** Control height and typography scale. @default "md" */
|
|
26
26
|
size: {
|
|
27
27
|
type: PropType<ControlSize>;
|
|
@@ -69,7 +69,7 @@ export declare const ButtonLink: import("vue").DefineComponent<import("vue").Ext
|
|
|
69
69
|
default: boolean;
|
|
70
70
|
};
|
|
71
71
|
/** Phone surface for neutral soft/ghost buttons; desktop retains the variant. */
|
|
72
|
-
mobileMaterial: PropType<"glass" | "flat">;
|
|
72
|
+
mobileMaterial: PropType<"glass" | "flat" | "clear">;
|
|
73
73
|
/** Control height and typography scale. @default "md" */
|
|
74
74
|
size: {
|
|
75
75
|
type: PropType<ControlSize>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plexui/vue",
|
|
3
|
-
"version": "0.42.
|
|
3
|
+
"version": "0.42.14",
|
|
4
4
|
"description": "Plex UI components for Vue 3, built on Reka UI and the shared @plexui/styles CSS",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
"@maskito/core": "5.2.2",
|
|
78
78
|
"@maskito/kit": "5.2.2",
|
|
79
79
|
"@maskito/vue": "5.2.2",
|
|
80
|
-
"@plexui/styles": "^0.17.
|
|
80
|
+
"@plexui/styles": "^0.17.12",
|
|
81
81
|
"@tanstack/table-core": "8.21.3",
|
|
82
82
|
"@tanstack/vue-table": "8.21.3",
|
|
83
83
|
"@tiptap/core": "3.21.0",
|