esewa-ui-library 1.10.1 → 1.10.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.js CHANGED
@@ -346,7 +346,7 @@ var ESewaDatePicker = function ESewaDatePicker(_ref) {
346
346
  };
347
347
 
348
348
  var _templateObject$6;
349
- var StyledDailog = styled__default.div(_templateObject$6 || (_templateObject$6 = _taggedTemplateLiteralLoose(["\n .dialog-overlay {\n position: fixed;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n background-color: rgba(0, 0, 0, 0.5);\n display: flex;\n justify-content: center;\n align-items: center;\n z-index: 1000;\n transition: opacity 400ms cubic-bezier(0.4, 0, 0.2, 1);\n animation: fadeIn 0.3s ease-out;\n }\n\n .dialog {\n &-box {\n background: var(--card-bg);\n border-top-left-radius: var(--values-value-16);\n border-top-right-radius: var(--values-value-16);\n width: 100%;\n max-width: 100%;\n padding: 16px;\n box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);\n transition: transform 0.3s ease-in-out;\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n &.slide-down {\n animation: slideDown 0.2s ease-out forwards;\n }\n &.slide-up {\n animation: slideUp 0.3s ease-out forwards;\n }\n }\n &-center {\n align-self: center;\n }\n &-top {\n align-self: flex-start;\n }\n &-bottom {\n align-self: flex-end;\n }\n &-header {\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding-bottom: 8px;\n border-bottom: 1px solid var(--border);\n &-left-icon {\n color: var(--secondary);\n [class^='icon-'],\n [class*=' icon-'] {\n font-weight: 600;\n }\n }\n &-title {\n margin: 0;\n font-weight: bold;\n text-align: center;\n color: var(--text-dark);\n }\n &-close-icon {\n color: var(--secondary);\n [class^='icon-'],\n [class*=' icon-'] {\n font-weight: 600;\n }\n }\n }\n\n &-body {\n margin: 16px 0;\n color: var(--text-tertiary);\n }\n &-footer {\n display: flex;\n width: 100%;\n gap: 16px;\n justify-content: flex-end;\n }\n }\n @keyframes fadeIn {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n }\n\n @keyframes slideUp {\n from {\n transform: translateY(100px);\n opacity: 0;\n }\n to {\n transform: translateY(0);\n opacity: 1;\n }\n }\n @keyframes slideDown {\n from {\n transform: translateY(0);\n opacity: 1;\n }\n to {\n transform: translateY(100px);\n opacity: 0;\n }\n }\n"])));
349
+ var StyledDailog = styled__default.div(_templateObject$6 || (_templateObject$6 = _taggedTemplateLiteralLoose(["\n .dialog-overlay {\n position: fixed;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n background-color: rgba(0, 0, 0, 0.5);\n display: flex;\n justify-content: center;\n align-items: center;\n z-index: 1000;\n transition: opacity 400ms cubic-bezier(0.4, 0, 0.2, 1);\n animation: fadeIn 0.3s ease-out;\n }\n\n .dialog {\n &-box {\n background: var(--card-bg);\n border-top-left-radius: var(--values-value-16);\n border-top-right-radius: var(--values-value-16);\n width: 100%;\n max-width: 100%;\n padding: 16px;\n box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);\n transition: transform 0.3s ease-in-out;\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n &.slide-down {\n animation: slideDown 0.2s ease-out forwards;\n }\n &.slide-up {\n animation: slideUp 0.3s ease-out forwards;\n }\n }\n &-center {\n align-self: center;\n }\n &-top {\n align-self: flex-start;\n }\n &-bottom {\n align-self: flex-end;\n }\n &-header {\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding-bottom: 8px;\n border-bottom: 1px solid var(--border);\n &-left-icon {\n color: var(--secondary);\n [class^='icon-'],\n [class*=' icon-'] {\n font-weight: 600;\n }\n }\n &-title {\n margin: 0;\n font-weight: bold;\n text-align: center;\n color: var(--text-dark);\n }\n &-close-icon {\n color: var(--secondary);\n [class^='icon-'],\n [class*=' icon-'] {\n font-weight: 600;\n }\n }\n }\n\n &-body {\n margin: 16px 0;\n color: var(--text-tertiary);\n }\n &-footer {\n width: 100%;\n }\n }\n @keyframes fadeIn {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n }\n\n @keyframes slideUp {\n from {\n transform: translateY(100px);\n opacity: 0;\n }\n to {\n transform: translateY(0);\n opacity: 1;\n }\n }\n @keyframes slideDown {\n from {\n transform: translateY(0);\n opacity: 1;\n }\n to {\n transform: translateY(100px);\n opacity: 0;\n }\n }\n"])));
350
350
  var ESewaDialog = function ESewaDialog(_ref) {
351
351
  var isOpen = _ref.isOpen,
352
352
  _ref$showLeftIcon = _ref.showLeftIcon,