@1money/component-ui 0.0.95-alpha.1 → 0.0.95-alpha.3
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/es/business/Dialog/BaseDialog/BaseDialog.d.ts +0 -1
- package/es/business/Dialog/BaseDialog/BaseDialog.js +43 -66
- package/es/business/Dialog/BaseDialog/constants.d.ts +7 -8
- package/es/business/Dialog/BaseDialog/constants.js +8 -9
- package/es/business/Dialog/variants/LoadingDialog.js +3 -3
- package/es/business/{PageForm → Form/PageForm}/PageForm.d.ts +1 -1
- package/es/business/Form/PageForm/PageForm.js +97 -0
- package/es/business/Form/PageForm/index.js +5 -0
- package/es/business/{PageForm → Form/PageForm}/interface.d.ts +5 -5
- package/es/business/Form/PageForm/interface.js +2 -0
- package/es/business/Form/ResultForm/ResultForm.d.ts +2 -0
- package/es/business/Form/ResultForm/ResultForm.js +38 -0
- package/es/business/Form/ResultForm/index.d.ts +4 -0
- package/es/business/Form/ResultForm/index.js +5 -0
- package/es/business/Form/ResultForm/interface.d.ts +10 -0
- package/es/business/Form/ResultForm/interface.js +2 -0
- package/es/business/Form/index.d.ts +3 -0
- package/es/business/Form/index.js +15 -0
- package/es/business/Form/variants/ExpiredForm.d.ts +3 -0
- package/es/business/Form/variants/ExpiredForm.js +21 -0
- package/es/business/Form/variants/FailureForm.d.ts +3 -0
- package/es/business/Form/variants/FailureForm.js +20 -0
- package/es/business/Form/variants/PendingForm.d.ts +3 -0
- package/es/business/Form/variants/PendingForm.js +20 -0
- package/es/business/Form/variants/SuccessForm.d.ts +3 -0
- package/es/business/Form/variants/SuccessForm.js +20 -0
- package/es/business/Form/variants/index.d.ts +8 -0
- package/es/business/Form/variants/index.js +12 -0
- package/es/business/index.d.ts +1 -1
- package/es/business/index.js +2 -2
- package/es/components/ActionBar/ActionBar.js +3 -4
- package/es/components/ActionBar/interface.d.ts +7 -2
- package/es/components/Dialog/interface.d.ts +10 -4
- package/es/components/FormLayout/interface.d.ts +6 -1
- package/es/components/PanelLayout/PanelLayout.d.ts +3 -0
- package/es/components/PanelLayout/PanelLayout.js +162 -0
- package/es/components/PanelLayout/constants.d.ts +60 -0
- package/es/components/PanelLayout/constants.js +48 -0
- package/es/components/PanelLayout/index.d.ts +6 -0
- package/es/components/PanelLayout/index.js +6 -0
- package/es/components/PanelLayout/interface.d.ts +73 -0
- package/es/components/PanelLayout/interface.js +2 -0
- package/es/components/PanelLayout/style/PanelLayout.css +50 -0
- package/es/components/PanelLayout/style/css.js +2 -0
- package/es/components/PanelLayout/style/index.d.ts +1 -0
- package/es/components/PanelLayout/style/index.js +2 -0
- package/es/index.css +1 -1
- package/es/index.d.ts +2 -0
- package/es/index.js +2 -1
- package/lib/business/Dialog/BaseDialog/BaseDialog.d.ts +0 -1
- package/lib/business/Dialog/BaseDialog/BaseDialog.js +42 -65
- package/lib/business/Dialog/BaseDialog/constants.d.ts +7 -8
- package/lib/business/Dialog/BaseDialog/constants.js +9 -10
- package/lib/business/Dialog/variants/LoadingDialog.js +3 -3
- package/lib/business/{PageForm → Form/PageForm}/PageForm.d.ts +1 -1
- package/lib/business/Form/PageForm/PageForm.js +103 -0
- package/lib/business/Form/PageForm/index.js +30 -0
- package/lib/business/{PageForm → Form/PageForm}/interface.d.ts +5 -5
- package/lib/business/Form/PageForm/interface.js +6 -0
- package/lib/business/Form/ResultForm/ResultForm.d.ts +2 -0
- package/lib/business/Form/ResultForm/ResultForm.js +44 -0
- package/lib/business/Form/ResultForm/index.d.ts +4 -0
- package/lib/business/Form/ResultForm/index.js +30 -0
- package/lib/business/Form/ResultForm/interface.d.ts +10 -0
- package/lib/business/Form/ResultForm/interface.js +6 -0
- package/lib/business/Form/index.d.ts +3 -0
- package/lib/business/Form/index.js +39 -0
- package/lib/business/Form/variants/ExpiredForm.d.ts +3 -0
- package/lib/business/Form/variants/ExpiredForm.js +27 -0
- package/lib/business/Form/variants/FailureForm.d.ts +3 -0
- package/lib/business/Form/variants/FailureForm.js +26 -0
- package/lib/business/Form/variants/PendingForm.d.ts +3 -0
- package/lib/business/Form/variants/PendingForm.js +26 -0
- package/lib/business/Form/variants/SuccessForm.d.ts +3 -0
- package/lib/business/Form/variants/SuccessForm.js +26 -0
- package/lib/business/Form/variants/index.d.ts +8 -0
- package/lib/business/Form/variants/index.js +34 -0
- package/lib/business/index.d.ts +1 -1
- package/lib/business/index.js +5 -5
- package/lib/components/ActionBar/ActionBar.js +3 -4
- package/lib/components/ActionBar/interface.d.ts +7 -2
- package/lib/components/Dialog/interface.d.ts +10 -4
- package/lib/components/FormLayout/interface.d.ts +6 -1
- package/lib/components/PanelLayout/PanelLayout.d.ts +3 -0
- package/lib/components/PanelLayout/PanelLayout.js +171 -0
- package/lib/components/PanelLayout/constants.d.ts +60 -0
- package/lib/components/PanelLayout/constants.js +54 -0
- package/lib/components/PanelLayout/index.d.ts +6 -0
- package/lib/components/PanelLayout/index.js +52 -0
- package/lib/components/PanelLayout/interface.d.ts +73 -0
- package/lib/components/PanelLayout/interface.js +6 -0
- package/lib/components/PanelLayout/style/PanelLayout.css +50 -0
- package/lib/components/PanelLayout/style/css.js +4 -0
- package/lib/components/PanelLayout/style/index.d.ts +1 -0
- package/lib/components/PanelLayout/style/index.js +4 -0
- package/lib/index.css +1 -1
- package/lib/index.d.ts +2 -0
- package/lib/index.js +14 -1
- package/package.json +29 -4
- package/scripts/mcp-server/examples.generated.json +42 -0
- package/scripts/mcp-server/index.generated.json +236 -3
- package/es/business/Dialog/BaseDialog/style/BaseDialog.css +0 -72
- package/es/business/Dialog/BaseDialog/style/css.js +0 -2
- package/es/business/Dialog/BaseDialog/style/index.d.ts +0 -1
- package/es/business/Dialog/BaseDialog/style/index.js +0 -2
- package/es/business/PageForm/PageForm.js +0 -97
- package/es/business/PageForm/index.js +0 -5
- package/es/business/PageForm/interface.js +0 -2
- package/lib/business/Dialog/BaseDialog/style/BaseDialog.css +0 -72
- package/lib/business/Dialog/BaseDialog/style/css.js +0 -4
- package/lib/business/Dialog/BaseDialog/style/index.d.ts +0 -1
- package/lib/business/Dialog/BaseDialog/style/index.js +0 -4
- package/lib/business/PageForm/PageForm.js +0 -103
- package/lib/business/PageForm/index.js +0 -30
- package/lib/business/PageForm/interface.js +0 -6
- /package/es/business/{PageForm → Form/PageForm}/index.d.ts +0 -0
- /package/lib/business/{PageForm → Form/PageForm}/index.d.ts +0 -0
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Retrieves the spacing value for a given token key.
|
|
3
|
+
*
|
|
4
|
+
* @param {string} $key - The spacing token key (e.g., '100', '200').
|
|
5
|
+
* @return {length|null} The computed spacing value or null if the key is invalid.
|
|
6
|
+
* @example
|
|
7
|
+
* .element {
|
|
8
|
+
* padding: om-spacing-token('200'); // Returns 8px if $om-sys-spacing-unit is 4px
|
|
9
|
+
* }
|
|
10
|
+
*/
|
|
11
|
+
/**
|
|
12
|
+
* Computes the spacing value based on a token key or a direct length value.
|
|
13
|
+
*
|
|
14
|
+
* @param {string|length} $value - The spacing token key (e.g., '100') or a direct length value (e.g., '16px').
|
|
15
|
+
* @return {length} The computed spacing value.
|
|
16
|
+
* @example
|
|
17
|
+
* .element {
|
|
18
|
+
* margin: om-spacing-value('300'); // Returns 12px if $om-sys-spacing-unit is 4px
|
|
19
|
+
* padding: om-spacing-value(16px); // Returns 16px
|
|
20
|
+
* gap: om-spacing-value(2); // Returns 8px if $om-sys-spacing-unit is 4px
|
|
21
|
+
* }
|
|
22
|
+
*/
|
|
23
|
+
.om-component-ui-panel-layout .om-component-ui-panel-layout-header {
|
|
24
|
+
display: flex;
|
|
25
|
+
flex-direction: column;
|
|
26
|
+
gap: var(--om-spacing-200, 8px);
|
|
27
|
+
align-items: flex-start;
|
|
28
|
+
width: 100%;
|
|
29
|
+
}
|
|
30
|
+
.om-component-ui-panel-layout .om-component-ui-panel-layout-illustration {
|
|
31
|
+
display: flex;
|
|
32
|
+
align-items: center;
|
|
33
|
+
justify-content: flex-start;
|
|
34
|
+
line-height: 0;
|
|
35
|
+
}
|
|
36
|
+
.om-component-ui-panel-layout .om-component-ui-panel-layout-back {
|
|
37
|
+
display: inline-flex;
|
|
38
|
+
align-items: center;
|
|
39
|
+
justify-content: center;
|
|
40
|
+
width: 24px;
|
|
41
|
+
height: 24px;
|
|
42
|
+
padding: 0;
|
|
43
|
+
color: var(--om-icon-default, #131313);
|
|
44
|
+
background: transparent;
|
|
45
|
+
border: none;
|
|
46
|
+
cursor: pointer;
|
|
47
|
+
}
|
|
48
|
+
.om-component-ui-panel-layout .om-component-ui-panel-layout-back .om-component-ui-icons-wrapper {
|
|
49
|
+
--icon-color: currentcolor;
|
|
50
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
require("./PanelLayout.css");
|
|
4
|
+
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImNvbXBvbmVudHMvUGFuZWxMYXlvdXQvc3JjL2NvbXBvbmVudHMvUGFuZWxMYXlvdXQvc3R5bGUvaW5kZXgudHMiXSwibmFtZXMiOlsicmVxdWlyZSJdLCJtYXBwaW5ncyI6Ijs7QUFBQUEsT0FBQSIsImZpbGUiOiJjb21wb25lbnRzL1BhbmVsTGF5b3V0L3N0eWxlL2Nzcy5qcyIsInNvdXJjZXNDb250ZW50IjpbbnVsbF0sInNvdXJjZVJvb3QiOiIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMifQ==
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './PanelLayout.css';
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
require("./PanelLayout.css");
|
|
4
|
+
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImNvbXBvbmVudHMvUGFuZWxMYXlvdXQvc3JjL2NvbXBvbmVudHMvUGFuZWxMYXlvdXQvc3R5bGUvaW5kZXgudHMiXSwibmFtZXMiOlsicmVxdWlyZSJdLCJtYXBwaW5ncyI6Ijs7QUFBQUEsT0FBQSIsImZpbGUiOiJjb21wb25lbnRzL1BhbmVsTGF5b3V0L3N0eWxlL2luZGV4LmpzIiwic291cmNlc0NvbnRlbnQiOltudWxsXSwic291cmNlUm9vdCI6Ii4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYyJ9
|