mui-dialog 1.0.32 → 1.0.34
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/mui-dialog.es.js +5 -5
- package/package.json +17 -11
package/dist/mui-dialog.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
!function(){"use strict";try{if("undefined"!=typeof document){var i=document.createElement("style");i.appendChild(document.createTextNode(".vi-dialog .close-icon{cursor:pointer;color:#717371}.vi-dialog .p-24{padding:24px}.vi-dialog .h-fill{height:-webkit-fill-available}.vi-dialog .safari-height-fix{height:fit-content!important}.vi-dialog .d-f{display:flex}.vi-dialog .ai-c{align-items:center}.vi-dialog .jc-sb{justify-content:space-between}.vi-dialog .flex-dir-col{flex-direction:column}.vi-dialog .gap-8{gap:8px}.vi-dialog .MuiPaper-root{border-radius:12px}.vi-dialog .divider{margin-top:28px;margin-bottom:-4px}.vi-dialog .vi-dialog-actions-wrapper{margin-top:28px;display:flex;justify-content:space-between;align-items:center}.vi-dialog .vi-dialog-actions-wrapper .tertiary-cta.destructive{color:#ed1d31;justify-self:flex-start}.vi-dialog .vi-dialog-actions-wrapper .vi-dialog-actions.medium{width:50%}.vi-dialog .vi-dialog-actions-wrapper .vi-dialog-actions.large{width:33%}.vi-dialog .vi-dialog-actions-wrapper .vi-dialog-actions.extra-large{width:25%}.vi-dialog .vi-dialog-actions{display:flex;align-items:center;justify-content:flex-end;gap:16px}.vi-dialog .vi-dialog-actions .vi-dialog-cta{width:-webkit-fill-available}.vi-dialog .vi-dialog-actions .tertiary-cta{padding:0}.vi-dialog .vi-dialog-actions .vi-dialog-cta.destructive{background-color:#ed1d31;color:#fff}.vi-dialog .vi-dialog-actions .vi-dialog-cta.destructive:disabled{opacity:.5}.vi-dialog .vi-dialog-actions.without-tertiary{margin-top:28px}.vi-dialog .vi-dialog-actions.small{justify-content:center}.vi-dialog .vi-dialog-actions.without-tertiary.medium{max-width:50%;margin-left:50%}.vi-dialog .vi-dialog-actions.without-tertiary.large{max-width:33%;margin-left:67%}.vi-dialog .vi-dialog-actions.without-tertiary.extra-large{max-width:25%;margin-left:75%}.vi-dialog .vi-dialog-title{margin-bottom:28px}.vi-dialog .vi-dialog-title .title-wrapper{display:flex;align-items:center;justify-content:space-between}.vi-dialog .vi-dialog-title .title-wrapper .modal-title{word-break:break-word}.vi-dialog .vi-dialog-title .description{margin-top:16px!important}.vi-dialog .vi-dialog-title.small{margin-bottom:16px}.vi-dialog .divider{margin-left:-24px;margin-right:-24px}@media only screen and (max-width:
|
|
1
|
+
!function(){"use strict";try{if("undefined"!=typeof document){var i=document.createElement("style");i.appendChild(document.createTextNode(".vi-dialog .close-icon{cursor:pointer;color:#717371}.vi-dialog .p-24{padding:24px}.vi-dialog .h-fill{height:-webkit-fill-available}.vi-dialog .safari-height-fix{height:fit-content!important}.vi-dialog .d-f{display:flex}.vi-dialog .ai-c{align-items:center}.vi-dialog .jc-sb{justify-content:space-between}.vi-dialog .flex-dir-col{flex-direction:column}.vi-dialog .gap-8{gap:8px}.vi-dialog .MuiPaper-root{border-radius:12px}.vi-dialog .divider{margin-top:28px;margin-bottom:-4px}.vi-dialog .vi-dialog-actions-wrapper{margin-top:28px;display:flex;justify-content:space-between;align-items:center}.vi-dialog .vi-dialog-actions-wrapper .tertiary-cta.destructive{color:#ed1d31;justify-self:flex-start}.vi-dialog .vi-dialog-actions-wrapper .vi-dialog-actions.medium{width:50%}.vi-dialog .vi-dialog-actions-wrapper .vi-dialog-actions.large{width:33%}.vi-dialog .vi-dialog-actions-wrapper .vi-dialog-actions.extra-large{width:25%}.vi-dialog .vi-dialog-actions{display:flex;align-items:center;justify-content:flex-end;gap:16px}.vi-dialog .vi-dialog-actions .vi-dialog-cta{width:-webkit-fill-available}.vi-dialog .vi-dialog-actions .tertiary-cta{padding:0}.vi-dialog .vi-dialog-actions .vi-dialog-cta.destructive{background-color:#ed1d31;color:#fff}.vi-dialog .vi-dialog-actions .vi-dialog-cta.destructive:disabled{opacity:.5}.vi-dialog .vi-dialog-actions.without-tertiary{margin-top:28px}.vi-dialog .vi-dialog-actions.small{justify-content:center}.vi-dialog .vi-dialog-actions.without-tertiary.medium{max-width:50%;margin-left:50%}.vi-dialog .vi-dialog-actions.without-tertiary.large{max-width:33%;margin-left:67%}.vi-dialog .vi-dialog-actions.without-tertiary.extra-large{max-width:25%;margin-left:75%}.vi-dialog .vi-dialog-title{margin-bottom:28px}.vi-dialog .vi-dialog-title .title-wrapper{display:flex;align-items:center;justify-content:space-between}.vi-dialog .vi-dialog-title .title-wrapper .modal-title{word-break:break-word}.vi-dialog .vi-dialog-title .description{margin-top:16px!important}.vi-dialog .vi-dialog-title.small{margin-bottom:16px}.vi-dialog .divider{margin-left:-24px;margin-right:-24px}@media only screen and (max-width:600px){.vi-dialog .MuiPaper-root{margin:16px;width:calc(100% - 32px)}.vi-dialog .vi-dialog-actions-wrapper{flex-direction:column-reverse;gap:12px}.vi-dialog .vi-dialog-actions{flex-direction:column-reverse;width:100%!important;gap:12px}.vi-dialog .vi-dialog-actions.without-tertiary.medium,.vi-dialog .vi-dialog-actions.without-tertiary.large,.vi-dialog .vi-dialog-actions.without-tertiary.extra-large{max-width:100%;margin-left:0}.vi-dialog.medium .MuiPaper-root,.vi-dialog.large .MuiPaper-root{margin:0;width:100%;height:100%;max-height:none;border-radius:0}}")),document.head.appendChild(i)}}catch(a){console.error("vite-plugin-css-injected-by-js",a)}}();
|
|
2
2
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { forwardRef } from 'react';
|
|
@@ -2470,12 +2470,12 @@ var hasRequiredIsBuffer;
|
|
|
2470
2470
|
function requireIsBuffer () {
|
|
2471
2471
|
if (hasRequiredIsBuffer) return isBuffer.exports;
|
|
2472
2472
|
hasRequiredIsBuffer = 1;
|
|
2473
|
-
(function (module, exports) {
|
|
2473
|
+
(function (module, exports$1) {
|
|
2474
2474
|
var root = require_root(),
|
|
2475
2475
|
stubFalse = requireStubFalse();
|
|
2476
2476
|
|
|
2477
2477
|
/** Detect free variable `exports`. */
|
|
2478
|
-
var freeExports = exports && !exports.nodeType && exports;
|
|
2478
|
+
var freeExports = exports$1 && !exports$1.nodeType && exports$1;
|
|
2479
2479
|
|
|
2480
2480
|
/** Detect free variable `module`. */
|
|
2481
2481
|
var freeModule = freeExports && 'object' == 'object' && module && !module.nodeType && module;
|
|
@@ -2615,11 +2615,11 @@ var hasRequired_nodeUtil;
|
|
|
2615
2615
|
function require_nodeUtil () {
|
|
2616
2616
|
if (hasRequired_nodeUtil) return _nodeUtil.exports;
|
|
2617
2617
|
hasRequired_nodeUtil = 1;
|
|
2618
|
-
(function (module, exports) {
|
|
2618
|
+
(function (module, exports$1) {
|
|
2619
2619
|
var freeGlobal = require_freeGlobal();
|
|
2620
2620
|
|
|
2621
2621
|
/** Detect free variable `exports`. */
|
|
2622
|
-
var freeExports = exports && !exports.nodeType && exports;
|
|
2622
|
+
var freeExports = exports$1 && !exports$1.nodeType && exports$1;
|
|
2623
2623
|
|
|
2624
2624
|
/** Detect free variable `module`. */
|
|
2625
2625
|
var freeModule = freeExports && 'object' == 'object' && module && !module.nodeType && module;
|
package/package.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"url": "https://github.com/viplatform/mui-dialog/issues"
|
|
8
8
|
},
|
|
9
9
|
"homepage": "https://github.com/viplatform/mui-dialog#readme",
|
|
10
|
-
"version": "1.0.
|
|
10
|
+
"version": "1.0.34",
|
|
11
11
|
"files": [
|
|
12
12
|
"dist"
|
|
13
13
|
],
|
|
@@ -75,26 +75,32 @@
|
|
|
75
75
|
"lodash": ">=4.17.23",
|
|
76
76
|
"glob": "^10.5.0",
|
|
77
77
|
"js-yaml": ">=4.1.1",
|
|
78
|
-
"vite": "^6.4.1"
|
|
78
|
+
"vite": "^6.4.1",
|
|
79
|
+
"minimatch": ">=3.1.4",
|
|
80
|
+
"brace-expansion": ">=2.0.2",
|
|
81
|
+
"flatted": ">=3.4.2",
|
|
82
|
+
"immutable": ">=5.1.5",
|
|
83
|
+
"@eslint/plugin-kit": ">=0.3.4",
|
|
84
|
+
"rollup": ">=4.59.0",
|
|
85
|
+
"handlebars": ">=4.7.9"
|
|
79
86
|
},
|
|
80
87
|
"devDependencies": {
|
|
81
88
|
"@emotion/react": "^11.14.0",
|
|
82
89
|
"@emotion/styled": "^11.14.0",
|
|
83
90
|
"@mui/material": "^7.0.2",
|
|
84
|
-
"@storybook/addon-actions": "^8.6.
|
|
85
|
-
"@storybook/addon-essentials": "^8.6.
|
|
86
|
-
"@storybook/addon-interactions": "^8.6.
|
|
87
|
-
"@storybook/addon-links": "^8.6.
|
|
88
|
-
"@storybook/react": "^8.6.
|
|
89
|
-
"@storybook/react-vite": "^8.6.
|
|
90
|
-
"@storybook/test": "^8.6.
|
|
91
|
+
"@storybook/addon-actions": "^8.6.18",
|
|
92
|
+
"@storybook/addon-essentials": "^8.6.18",
|
|
93
|
+
"@storybook/addon-interactions": "^8.6.18",
|
|
94
|
+
"@storybook/addon-links": "^8.6.18",
|
|
95
|
+
"@storybook/react": "^8.6.18",
|
|
96
|
+
"@storybook/react-vite": "^8.6.18",
|
|
97
|
+
"@storybook/test": "^8.6.18",
|
|
91
98
|
"@testing-library/jest-dom": "^6.6.3",
|
|
92
99
|
"@testing-library/react": "^16.3.0",
|
|
93
100
|
"@testing-library/user-event": "^14.6.1",
|
|
94
101
|
"@types/lodash": "^4.17.17",
|
|
95
102
|
"@types/node": "^22.14.1",
|
|
96
103
|
"@types/react-dom": "^19.1.5",
|
|
97
|
-
"@viclafouch/eslint-config-viclafouch": "4.22.0",
|
|
98
104
|
"@vitejs/plugin-react": "^4.3.4",
|
|
99
105
|
"eslint": "^9.24.0",
|
|
100
106
|
"husky": "^9.1.7",
|
|
@@ -102,7 +108,7 @@
|
|
|
102
108
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
103
109
|
"sass-embedded": "^1.89.0",
|
|
104
110
|
"standard-version": "^9.5.0",
|
|
105
|
-
"storybook": "^8.6.
|
|
111
|
+
"storybook": "^8.6.18",
|
|
106
112
|
"terser": "^5.39.2",
|
|
107
113
|
"typescript": "^5.8.3",
|
|
108
114
|
"vite": "^6.4.1",
|