@acoustte-digital-services/digitalstore-controls-dev 0.8.1-dev.20260423090220 → 0.8.1-dev.20260423093014

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.
@@ -3,7 +3,7 @@ import {
3
3
  Button_default,
4
4
  ServiceClient_default,
5
5
  ToastService_default
6
- } from "./chunk-TYBRP6MP.mjs";
6
+ } from "./chunk-7XWLHQXT.mjs";
7
7
 
8
8
  // src/components/pageRenderingEngine/nodes/LinkNodeButton.tsx
9
9
  import { useCallback, useState } from "react";
@@ -37,8 +37,14 @@ import React3, { useState as useState2 } from "react";
37
37
 
38
38
  // src/components/StyleTypes.tsx
39
39
  var buttonClasses = /* @__PURE__ */ new Map([
40
- ["Primary" /* Solid */, "btn-solid"],
41
- ["PrimaryHollow" /* Hollow */, "btn-hollow"],
40
+ [
41
+ "Primary" /* Solid */,
42
+ "btn-solid relative inline-flex items-center justify-center rounded px-4 py-3 lg:py-2 font-medium shadow-sm hover:shadow-lg focus:outline-none active:scale-95 disabled:opacity-50 disabled:cursor-not-allowed transition duration-150 ease-in-out"
43
+ ],
44
+ [
45
+ "PrimaryHollow" /* Hollow */,
46
+ "btn-hollow inline-flex font-medium items-center justify-center px-4 py-3 lg:py-2 rounded hover:shadow-md focus:outline-none transition duration-150 ease-in-out active:scale-95"
47
+ ],
42
48
  ["Link" /* Link */, "btn-link"]
43
49
  ]);
44
50
  var progressClasses = /* @__PURE__ */ new Map([
package/dist/index.js CHANGED
@@ -76,8 +76,14 @@ var init_StyleTypes = __esm({
76
76
  "src/components/StyleTypes.tsx"() {
77
77
  "use strict";
78
78
  buttonClasses = /* @__PURE__ */ new Map([
79
- ["Primary" /* Solid */, "btn-solid"],
80
- ["PrimaryHollow" /* Hollow */, "btn-hollow"],
79
+ [
80
+ "Primary" /* Solid */,
81
+ "btn-solid relative inline-flex items-center justify-center rounded px-4 py-3 lg:py-2 font-medium shadow-sm hover:shadow-lg focus:outline-none active:scale-95 disabled:opacity-50 disabled:cursor-not-allowed transition duration-150 ease-in-out"
82
+ ],
83
+ [
84
+ "PrimaryHollow" /* Hollow */,
85
+ "btn-hollow inline-flex font-medium items-center justify-center px-4 py-3 lg:py-2 rounded hover:shadow-md focus:outline-none transition duration-150 ease-in-out active:scale-95"
86
+ ],
81
87
  ["Link" /* Link */, "btn-link"]
82
88
  ]);
83
89
  progressClasses = /* @__PURE__ */ new Map([
@@ -2842,7 +2848,7 @@ var import_link = __toESM(require("next/link"));
2842
2848
  init_StyleTypes();
2843
2849
  var import_jsx_runtime34 = require("react/jsx-runtime");
2844
2850
  function Hyperlink(props) {
2845
- let linkClass = props.linkType ? buttonClasses.get(props.linkType) : "";
2851
+ let linkClass = props.linkType ? buttonClasses.get(props.linkType) : buttonClasses.get("Link" /* Link */);
2846
2852
  const target = props?.href?.startsWith("http") ? "_blank" : "_self";
2847
2853
  const additionalProps = {};
2848
2854
  if (target == "_blank") {
package/dist/index.mjs CHANGED
@@ -6,7 +6,7 @@ import {
6
6
  ServiceClient_default,
7
7
  ToastService_default,
8
8
  buttonClasses
9
- } from "./chunk-TYBRP6MP.mjs";
9
+ } from "./chunk-7XWLHQXT.mjs";
10
10
 
11
11
  // src/components/controls/view/ViewControl.tsx
12
12
  import React10 from "react";
@@ -1719,7 +1719,7 @@ var ContentView_default = ContentView;
1719
1719
  import Link from "next/link";
1720
1720
  import { Fragment, jsx as jsx30 } from "react/jsx-runtime";
1721
1721
  function Hyperlink(props) {
1722
- let linkClass = props.linkType ? buttonClasses.get(props.linkType) : "";
1722
+ let linkClass = props.linkType ? buttonClasses.get(props.linkType) : buttonClasses.get("Link" /* Link */);
1723
1723
  const target = props?.href?.startsWith("http") ? "_blank" : "_self";
1724
1724
  const additionalProps = {};
1725
1725
  if (target == "_blank") {
@@ -2912,7 +2912,7 @@ var ImageNode_default = ImageNode;
2912
2912
  // src/components/pageRenderingEngine/nodes/LinkNode.tsx
2913
2913
  import dynamic2 from "next/dynamic";
2914
2914
  import { Fragment as Fragment4, jsx as jsx42, jsxs as jsxs25 } from "react/jsx-runtime";
2915
- var LinkNodeButton = dynamic2(() => import("./LinkNodeButton-DFS25WUO.mjs"), {
2915
+ var LinkNodeButton = dynamic2(() => import("./LinkNodeButton-CEDMPW3R.mjs"), {
2916
2916
  ssr: false
2917
2917
  });
2918
2918
  var LinkNode = (props) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@acoustte-digital-services/digitalstore-controls-dev",
3
- "version": "0.8.1-dev.20260423090220",
3
+ "version": "0.8.1-dev.20260423093014",
4
4
  "description": "Reusable React components",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",