dhre-component-lib 0.7.1 → 0.7.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/index.esm.js CHANGED
@@ -9718,7 +9718,7 @@ const ToggleSwitch = ({ initialState = false, onToggle }) => {
9718
9718
  React__default.createElement("div", { className: `slider ${isToggled ? 'slider-on' : 'slider-off'}` }))));
9719
9719
  };
9720
9720
 
9721
- var css$5 = ".swipe-action-wrapper {\n position: relative;\n width: 100%;\n}\n.swipe-action-wrapper .swipe-actions {\n position: absolute;\n top: 0;\n right: 0;\n height: 100%;\n display: flex;\n gap: 10px;\n align-items: center;\n opacity: 0;\n pointer-events: none;\n transition: opacity 0.3s ease-in-out;\n}\n.swipe-action-wrapper .swipe-actions.active {\n opacity: 1;\n pointer-events: all;\n}\n.swipe-action-wrapper .swipe-actions.active::before {\n content: \"\";\n position: absolute;\n top: 0;\n right: 0;\n width: 150%;\n height: 100%;\n background: linear-gradient(90deg, rgba(255, 255, 255, 0.735) 0%, #ffffff 50%);\n pointer-events: none;\n}\n.swipe-action-wrapper .swipe-actions button {\n border: none;\n padding: 10px;\n cursor: pointer;\n background: none;\n transition: transform 0.2s, box-shadow 0.2s ease-in-out;\n z-index: 2;\n}\n.swipe-action-wrapper .swipe-actions button:hover {\n transform: translateY(-2px);\n}\n.swipe-action-wrapper:hover .swipe-actions {\n opacity: 1;\n pointer-events: all;\n}";
9721
+ var css$5 = ".swipe-action-wrapper {\n position: relative;\n width: 100%;\n}\n.swipe-action-wrapper .swipe-actions {\n position: absolute;\n top: 0;\n right: 0;\n height: 100%;\n display: flex;\n gap: 10px;\n align-items: center;\n opacity: 0;\n pointer-events: none;\n transition: opacity 0.3s ease-in-out;\n}\n.swipe-action-wrapper .swipe-actions.active {\n opacity: 1;\n pointer-events: all;\n}\n.swipe-action-wrapper .swipe-actions.active::before {\n content: \"\";\n position: absolute;\n top: 0;\n right: 0;\n width: 125%;\n height: 100%;\n background: linear-gradient(90deg, rgba(255, 255, 255, 0.735) 0%, #ffffff 50%);\n pointer-events: none;\n}\n.swipe-action-wrapper .swipe-actions button {\n border: none;\n padding: 10px;\n cursor: pointer;\n background: none;\n transition: transform 0.2s, box-shadow 0.2s ease-in-out;\n z-index: 2;\n}\n.swipe-action-wrapper .swipe-actions button:hover {\n transform: translateY(-2px);\n}\n.swipe-action-wrapper:hover .swipe-actions {\n opacity: 1;\n pointer-events: all;\n}";
9722
9722
  n(css$5,{});
9723
9723
 
9724
9724
  const HoverOptionsWrapper = ({ children, onPin, onRead, onDelete, pinIcon, readIcon, deleteIcon, swipeThreshold = 50 }) => {
package/dist/index.js CHANGED
@@ -9741,7 +9741,7 @@ const ToggleSwitch = ({ initialState = false, onToggle }) => {
9741
9741
  React__namespace.default.createElement("div", { className: `slider ${isToggled ? 'slider-on' : 'slider-off'}` }))));
9742
9742
  };
9743
9743
 
9744
- var css$5 = ".swipe-action-wrapper {\n position: relative;\n width: 100%;\n}\n.swipe-action-wrapper .swipe-actions {\n position: absolute;\n top: 0;\n right: 0;\n height: 100%;\n display: flex;\n gap: 10px;\n align-items: center;\n opacity: 0;\n pointer-events: none;\n transition: opacity 0.3s ease-in-out;\n}\n.swipe-action-wrapper .swipe-actions.active {\n opacity: 1;\n pointer-events: all;\n}\n.swipe-action-wrapper .swipe-actions.active::before {\n content: \"\";\n position: absolute;\n top: 0;\n right: 0;\n width: 150%;\n height: 100%;\n background: linear-gradient(90deg, rgba(255, 255, 255, 0.735) 0%, #ffffff 50%);\n pointer-events: none;\n}\n.swipe-action-wrapper .swipe-actions button {\n border: none;\n padding: 10px;\n cursor: pointer;\n background: none;\n transition: transform 0.2s, box-shadow 0.2s ease-in-out;\n z-index: 2;\n}\n.swipe-action-wrapper .swipe-actions button:hover {\n transform: translateY(-2px);\n}\n.swipe-action-wrapper:hover .swipe-actions {\n opacity: 1;\n pointer-events: all;\n}";
9744
+ var css$5 = ".swipe-action-wrapper {\n position: relative;\n width: 100%;\n}\n.swipe-action-wrapper .swipe-actions {\n position: absolute;\n top: 0;\n right: 0;\n height: 100%;\n display: flex;\n gap: 10px;\n align-items: center;\n opacity: 0;\n pointer-events: none;\n transition: opacity 0.3s ease-in-out;\n}\n.swipe-action-wrapper .swipe-actions.active {\n opacity: 1;\n pointer-events: all;\n}\n.swipe-action-wrapper .swipe-actions.active::before {\n content: \"\";\n position: absolute;\n top: 0;\n right: 0;\n width: 125%;\n height: 100%;\n background: linear-gradient(90deg, rgba(255, 255, 255, 0.735) 0%, #ffffff 50%);\n pointer-events: none;\n}\n.swipe-action-wrapper .swipe-actions button {\n border: none;\n padding: 10px;\n cursor: pointer;\n background: none;\n transition: transform 0.2s, box-shadow 0.2s ease-in-out;\n z-index: 2;\n}\n.swipe-action-wrapper .swipe-actions button:hover {\n transform: translateY(-2px);\n}\n.swipe-action-wrapper:hover .swipe-actions {\n opacity: 1;\n pointer-events: all;\n}";
9745
9745
  n(css$5,{});
9746
9746
 
9747
9747
  const HoverOptionsWrapper = ({ children, onPin, onRead, onDelete, pinIcon, readIcon, deleteIcon, swipeThreshold = 50 }) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dhre-component-lib",
3
- "version": "0.7.1",
3
+ "version": "0.7.2",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "test": "jest",