@1money/component-ui 0.0.48 → 0.0.50

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.
Files changed (127) hide show
  1. package/es/components/Accordion/style/Accordion.css +94 -1
  2. package/es/components/Alert/style/Alert.css +101 -1
  3. package/es/components/Button/style/Button.css +178 -1
  4. package/es/components/Calendar/style/Calendar.css +400 -1
  5. package/es/components/Carousel/style/Carousel.css +57 -1
  6. package/es/components/Cell/style/Cell.css +80 -1
  7. package/es/components/Checkbox/style/Checkbox.css +191 -1
  8. package/es/components/CoachMark/style/CoachMark.css +156 -1
  9. package/es/components/Copy/style/Clipboard.css +45 -1
  10. package/es/components/Copy/style/Copy.css +48 -1
  11. package/es/components/Dialog/style/Dialog.css +204 -1
  12. package/es/components/Divider/style/Divider.css +128 -1
  13. package/es/components/Drawer/style/Drawer.css +145 -1
  14. package/es/components/Dropdown/style/Dropdown.css +48 -1
  15. package/es/components/Empty/style/Empty.css +58 -1
  16. package/es/components/Flex/style/Flex.css +71 -1
  17. package/es/components/Grid/style/Grid.css +952 -1
  18. package/es/components/Icons/style/Icons.css +81 -1
  19. package/es/components/Input/Amount/style/Amount.css +103 -1
  20. package/es/components/Input/FieldShell/FieldShell.css +76 -1
  21. package/es/components/Input/Input/Input.css +124 -1
  22. package/es/components/Input/OTP/OTP.css +79 -1
  23. package/es/components/Input/TextArea/TextArea.css +93 -1
  24. package/es/components/Input/Trade/Trade.css +192 -1
  25. package/es/components/Link/style/Link.css +70 -1
  26. package/es/components/Navigation/style/Nav.css +158 -1
  27. package/es/components/Navigation/style/Navigation.css +373 -1
  28. package/es/components/Navigation/style/NavigationStepper.css +97 -1
  29. package/es/components/Notification/NotificationStatic.js +22 -22
  30. package/es/components/Notification/style/Notification.css +170 -1
  31. package/es/components/Pagination/style/Pagination.css +89 -1
  32. package/es/components/Popconfirm/style/Popconfirm.css +137 -1
  33. package/es/components/ProForm/ProForm.js +38 -38
  34. package/es/components/ProForm/ProFormDependency.js +5 -5
  35. package/es/components/ProForm/Submitter.js +4 -4
  36. package/es/components/ProForm/core/hooks/useForm.js +101 -101
  37. package/es/components/ProForm/core/useFormItem.js +5 -5
  38. package/es/components/ProForm/hooks/useFieldRequest.js +12 -12
  39. package/es/components/ProForm/layouts/useOverlayForm.js +5 -5
  40. package/es/components/ProForm/style/ProForm.css +168 -1
  41. package/es/components/Progress/style/Progress.css +103 -1
  42. package/es/components/Radio/style/Radio.css +362 -1
  43. package/es/components/Segment/style/Segment.css +79 -1
  44. package/es/components/Select/style/Select.css +468 -1
  45. package/es/components/Skeleton/style/Skeleton.css +54 -1
  46. package/es/components/Slider/style/Slider.css +161 -1
  47. package/es/components/Space/style/Space.css +47 -1
  48. package/es/components/Spinner/Spinner.js +7 -7
  49. package/es/components/Spinner/style/Spinner.css +99 -1
  50. package/es/components/Step/style/Step.css +107 -1
  51. package/es/components/Switch/style/Switch.css +102 -1
  52. package/es/components/Table/style/Table.css +370 -1
  53. package/es/components/Tabs/style/Tabs.css +118 -1
  54. package/es/components/Tag/style/Tag.css +87 -1
  55. package/es/components/Tooltip/style/Tooltip.css +98 -1
  56. package/es/components/Trigger/style/Trigger.css +35 -1
  57. package/es/components/Typography/style/Typography.css +444 -1
  58. package/es/components/Upload/style/Upload.css +55 -1
  59. package/es/components/Upload/style/UploadFileBar.css +88 -1
  60. package/es/components/VirtualList/style/VirtualList.css +25 -1
  61. package/es/index.css +1 -1
  62. package/es/stories/docs/storybook-docs.css +323 -1
  63. package/es/styles/index.css +5328 -1
  64. package/lib/components/Accordion/style/Accordion.css +94 -1
  65. package/lib/components/Alert/style/Alert.css +101 -1
  66. package/lib/components/Button/style/Button.css +178 -1
  67. package/lib/components/Calendar/style/Calendar.css +400 -1
  68. package/lib/components/Carousel/style/Carousel.css +57 -1
  69. package/lib/components/Cell/style/Cell.css +80 -1
  70. package/lib/components/Checkbox/style/Checkbox.css +191 -1
  71. package/lib/components/CoachMark/style/CoachMark.css +156 -1
  72. package/lib/components/Copy/style/Clipboard.css +45 -1
  73. package/lib/components/Copy/style/Copy.css +48 -1
  74. package/lib/components/Dialog/style/Dialog.css +204 -1
  75. package/lib/components/Divider/style/Divider.css +128 -1
  76. package/lib/components/Drawer/style/Drawer.css +145 -1
  77. package/lib/components/Dropdown/style/Dropdown.css +48 -1
  78. package/lib/components/Empty/style/Empty.css +58 -1
  79. package/lib/components/Flex/style/Flex.css +71 -1
  80. package/lib/components/Grid/style/Grid.css +952 -1
  81. package/lib/components/Icons/style/Icons.css +81 -1
  82. package/lib/components/Input/Amount/style/Amount.css +103 -1
  83. package/lib/components/Input/FieldShell/FieldShell.css +76 -1
  84. package/lib/components/Input/Input/Input.css +124 -1
  85. package/lib/components/Input/OTP/OTP.css +79 -1
  86. package/lib/components/Input/TextArea/TextArea.css +93 -1
  87. package/lib/components/Input/Trade/Trade.css +192 -1
  88. package/lib/components/Link/style/Link.css +70 -1
  89. package/lib/components/Navigation/style/Nav.css +158 -1
  90. package/lib/components/Navigation/style/Navigation.css +373 -1
  91. package/lib/components/Navigation/style/NavigationStepper.css +97 -1
  92. package/lib/components/Notification/NotificationStatic.js +22 -22
  93. package/lib/components/Notification/style/Notification.css +170 -1
  94. package/lib/components/Pagination/style/Pagination.css +89 -1
  95. package/lib/components/Popconfirm/style/Popconfirm.css +137 -1
  96. package/lib/components/ProForm/ProForm.js +38 -38
  97. package/lib/components/ProForm/ProFormDependency.js +5 -5
  98. package/lib/components/ProForm/Submitter.js +4 -4
  99. package/lib/components/ProForm/core/hooks/useForm.js +101 -101
  100. package/lib/components/ProForm/core/useFormItem.js +5 -5
  101. package/lib/components/ProForm/hooks/useFieldRequest.js +12 -12
  102. package/lib/components/ProForm/layouts/useOverlayForm.js +5 -5
  103. package/lib/components/ProForm/style/ProForm.css +168 -1
  104. package/lib/components/Progress/style/Progress.css +103 -1
  105. package/lib/components/Radio/style/Radio.css +362 -1
  106. package/lib/components/Segment/style/Segment.css +79 -1
  107. package/lib/components/Select/style/Select.css +468 -1
  108. package/lib/components/Skeleton/style/Skeleton.css +54 -1
  109. package/lib/components/Slider/style/Slider.css +161 -1
  110. package/lib/components/Space/style/Space.css +47 -1
  111. package/lib/components/Spinner/Spinner.js +7 -7
  112. package/lib/components/Spinner/style/Spinner.css +99 -1
  113. package/lib/components/Step/style/Step.css +107 -1
  114. package/lib/components/Switch/style/Switch.css +102 -1
  115. package/lib/components/Table/style/Table.css +370 -1
  116. package/lib/components/Tabs/style/Tabs.css +118 -1
  117. package/lib/components/Tag/style/Tag.css +87 -1
  118. package/lib/components/Tooltip/style/Tooltip.css +98 -1
  119. package/lib/components/Trigger/style/Trigger.css +35 -1
  120. package/lib/components/Typography/style/Typography.css +444 -1
  121. package/lib/components/Upload/style/Upload.css +55 -1
  122. package/lib/components/Upload/style/UploadFileBar.css +88 -1
  123. package/lib/components/VirtualList/style/VirtualList.css +25 -1
  124. package/lib/index.css +1 -1
  125. package/lib/stories/docs/storybook-docs.css +323 -1
  126. package/lib/styles/index.css +5328 -1
  127. package/package.json +65 -34
@@ -1 +1,128 @@
1
- .om-component-ui-divider{border-block-start:0;border-block-end:0;border-inline-start:0;border-inline-end:0;border-color:var(--om-border-default,#d1d2d2)}.om-component-ui-divider-horizontal{display:flex;align-items:center;clear:both;width:100%;min-width:100%;margin:var(--om-spacing-300,12px) 0;border-block-start:1px solid var(--om-border-default,#d1d2d2)}.om-component-ui-divider-horizontal.om-component-ui-divider-with-text{margin:var(--om-spacing-200,8px) 0;border-block-start:0;white-space:nowrap;text-align:center}.om-component-ui-divider-horizontal.om-component-ui-divider-with-text:after,.om-component-ui-divider-horizontal.om-component-ui-divider-with-text:before{position:relative;width:50%;border-block-start:1px solid transparent;border-block-start-color:inherit;border-block-end:0;transform:translateY(50%);content:""}.om-component-ui-divider-horizontal.om-component-ui-divider-with-text-left:before{width:5%}.om-component-ui-divider-horizontal.om-component-ui-divider-with-text-left:after,.om-component-ui-divider-horizontal.om-component-ui-divider-with-text-right:before{width:95%}.om-component-ui-divider-horizontal.om-component-ui-divider-with-text-right:after{width:5%}.om-component-ui-divider-horizontal.om-component-ui-divider-no-default-margin.om-component-ui-divider-with-text-left:before{width:0}.om-component-ui-divider-horizontal.om-component-ui-divider-no-default-margin.om-component-ui-divider-with-text-left:after,.om-component-ui-divider-horizontal.om-component-ui-divider-no-default-margin.om-component-ui-divider-with-text-right:before{width:100%}.om-component-ui-divider-horizontal.om-component-ui-divider-no-default-margin.om-component-ui-divider-with-text-right:after{width:0}.om-component-ui-divider-vertical{position:relative;display:inline-block;height:.9em;margin:0 var(--om-spacing-100,4px);vertical-align:middle;border-inline-start:1px solid var(--om-border-default,#d1d2d2)}.om-component-ui-divider-inner-text{display:inline-block;padding:0 var(--om-spacing-200,8px);color:var(--om-text-default,#131313);font-size:var(--om-body-md-font-size);font-family:var(--om-body-md-font-family);line-height:var(--om-body-md-line-height);letter-spacing:var(--om-body-md-letter-spacing);font-weight:var(--om-body-md-font-weight)}.om-component-ui-divider-plain .om-component-ui-divider-inner-text{font-weight:400}.om-component-ui-divider-dashed{background:none;border-style:dashed;border-width:1px 0 0}.om-component-ui-divider-dashed.om-component-ui-divider-with-text{border-style:unset}.om-component-ui-divider-dashed.om-component-ui-divider-with-text:after,.om-component-ui-divider-dashed.om-component-ui-divider-with-text:before{border-style:dashed none none}.om-component-ui-divider-dashed.om-component-ui-divider-vertical{border-inline-start-style:dashed;border-width:0 0 0 1px}.om-component-ui-divider-dotted{background:none;border-style:dotted;border-width:1px 0 0}.om-component-ui-divider-dotted.om-component-ui-divider-with-text{border-style:unset}.om-component-ui-divider-dotted.om-component-ui-divider-with-text:after,.om-component-ui-divider-dotted.om-component-ui-divider-with-text:before{border-style:dotted none none}.om-component-ui-divider-dotted.om-component-ui-divider-vertical{border-inline-start-style:dotted;border-width:0 0 0 1px}
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-divider {
24
+ border-block-start: 0;
25
+ border-block-end: 0;
26
+ border-inline-start: 0;
27
+ border-inline-end: 0;
28
+ border-color: var(--om-border-default, #d1d2d2);
29
+ }
30
+ .om-component-ui-divider-horizontal {
31
+ display: flex;
32
+ align-items: center;
33
+ clear: both;
34
+ width: 100%;
35
+ min-width: 100%;
36
+ margin: var(--om-spacing-300, 12px) 0;
37
+ border-block-start: 1px solid var(--om-border-default, #d1d2d2);
38
+ }
39
+ .om-component-ui-divider-horizontal.om-component-ui-divider-with-text {
40
+ margin: var(--om-spacing-200, 8px) 0;
41
+ border-block-start: 0;
42
+ white-space: nowrap;
43
+ text-align: center;
44
+ }
45
+ .om-component-ui-divider-horizontal.om-component-ui-divider-with-text::before, .om-component-ui-divider-horizontal.om-component-ui-divider-with-text::after {
46
+ position: relative;
47
+ width: 50%;
48
+ border-block-start: 1px solid transparent;
49
+ border-block-start-color: inherit;
50
+ border-block-end: 0;
51
+ transform: translateY(50%);
52
+ content: "";
53
+ }
54
+ .om-component-ui-divider-horizontal.om-component-ui-divider-with-text-left::before {
55
+ width: 5%;
56
+ }
57
+ .om-component-ui-divider-horizontal.om-component-ui-divider-with-text-left::after {
58
+ width: 95%;
59
+ }
60
+ .om-component-ui-divider-horizontal.om-component-ui-divider-with-text-right::before {
61
+ width: 95%;
62
+ }
63
+ .om-component-ui-divider-horizontal.om-component-ui-divider-with-text-right::after {
64
+ width: 5%;
65
+ }
66
+ .om-component-ui-divider-horizontal.om-component-ui-divider-no-default-margin.om-component-ui-divider-with-text-left::before {
67
+ width: 0;
68
+ }
69
+ .om-component-ui-divider-horizontal.om-component-ui-divider-no-default-margin.om-component-ui-divider-with-text-left::after {
70
+ width: 100%;
71
+ }
72
+ .om-component-ui-divider-horizontal.om-component-ui-divider-no-default-margin.om-component-ui-divider-with-text-right::before {
73
+ width: 100%;
74
+ }
75
+ .om-component-ui-divider-horizontal.om-component-ui-divider-no-default-margin.om-component-ui-divider-with-text-right::after {
76
+ width: 0;
77
+ }
78
+ .om-component-ui-divider-vertical {
79
+ position: relative;
80
+ display: inline-block;
81
+ height: 0.9em;
82
+ margin: 0 var(--om-spacing-100, 4px);
83
+ vertical-align: middle;
84
+ border-inline-start: 1px solid var(--om-border-default, #d1d2d2);
85
+ }
86
+ .om-component-ui-divider-inner-text {
87
+ display: inline-block;
88
+ padding: 0 var(--om-spacing-200, 8px);
89
+ color: var(--om-text-default, #131313);
90
+ font-size: var(--om-body-md-font-size);
91
+ font-family: var(--om-body-md-font-family);
92
+ line-height: var(--om-body-md-line-height);
93
+ letter-spacing: var(--om-body-md-letter-spacing);
94
+ font-weight: var(--om-body-md-font-weight);
95
+ }
96
+ .om-component-ui-divider-plain .om-component-ui-divider-inner-text {
97
+ font-weight: 400;
98
+ }
99
+ .om-component-ui-divider-dashed {
100
+ background: none;
101
+ border-style: dashed;
102
+ border-width: 1px 0 0;
103
+ }
104
+ .om-component-ui-divider-dashed.om-component-ui-divider-with-text {
105
+ border-style: unset;
106
+ }
107
+ .om-component-ui-divider-dashed.om-component-ui-divider-with-text::before, .om-component-ui-divider-dashed.om-component-ui-divider-with-text::after {
108
+ border-style: dashed none none;
109
+ }
110
+ .om-component-ui-divider-dashed.om-component-ui-divider-vertical {
111
+ border-inline-start-style: dashed;
112
+ border-width: 0 0 0 1px;
113
+ }
114
+ .om-component-ui-divider-dotted {
115
+ background: none;
116
+ border-style: dotted;
117
+ border-width: 1px 0 0;
118
+ }
119
+ .om-component-ui-divider-dotted.om-component-ui-divider-with-text {
120
+ border-style: unset;
121
+ }
122
+ .om-component-ui-divider-dotted.om-component-ui-divider-with-text::before, .om-component-ui-divider-dotted.om-component-ui-divider-with-text::after {
123
+ border-style: dotted none none;
124
+ }
125
+ .om-component-ui-divider-dotted.om-component-ui-divider-vertical {
126
+ border-inline-start-style: dotted;
127
+ border-width: 0 0 0 1px;
128
+ }
@@ -1 +1,145 @@
1
- .om-component-ui-drawer-root{position:fixed;inset:0;z-index:1000}.om-component-ui-drawer-overlay{position:absolute;inset:0;background-color:var(--om-bg-scrim-dark,rgba(0,0,0,.2));opacity:0;transition:opacity .3s ease-in-out}.om-component-ui-drawer{position:fixed;z-index:1;display:flex;flex-direction:column;background-color:var(--om-bg-default,#fff);outline:none;box-shadow:var(--om-shadow-200,0 10px 22px rgba(0,0,0,.1));transition:transform .3s ease-in-out;pointer-events:auto}.om-component-ui-drawer-top{top:0;right:0;left:0;width:100%;transform:translate3d(0,-100%,0)}.om-component-ui-drawer-bottom{right:0;bottom:0;left:0;width:100%;transform:translate3d(0,100%,0)}.om-component-ui-drawer-left{top:0;bottom:0;left:0;transform:translate3d(-100%,0,0)}.om-component-ui-drawer-right{top:0;right:0;bottom:0;transform:translate3d(100%,0,0)}.om-component-ui-drawer-header{display:flex;flex-shrink:0;gap:var(--om-spacing-300,12px);align-items:flex-start;justify-content:space-between;padding:var(--om-spacing-600,24px) var(--om-spacing-400,16px) var(--om-spacing-400,16px)}.om-component-ui-drawer-header-main{display:flex;flex:1;gap:var(--om-spacing-200,8px);align-items:center;min-width:0}.om-component-ui-drawer-title{flex:1;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.om-component-ui-drawer-control{display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;width:var(--om-spacing-500,20px);height:var(--om-spacing-500,20px);padding:0;color:var(--om-icon-default-tertiary,#646465);background:transparent;border:none;cursor:pointer}.om-component-ui-drawer-control .om-component-ui-icons-wrapper{--icon-color:currentcolor}.om-component-ui-drawer-control:hover{color:var(--om-icon-default,#131313)}.om-component-ui-drawer-body{flex:1;min-height:0;padding:var(--om-spacing-400,16px);overflow:auto}.om-component-ui-drawer-footer{flex-shrink:0;padding:var(--om-spacing-400,16px) var(--om-spacing-400,16px) var(--om-spacing-600,24px);border-top:1px solid var(--om-border-neutral,#e3e4e4)}.om-component-ui-drawer-root-open .om-component-ui-drawer-overlay{opacity:1}.om-component-ui-drawer-root-open .om-component-ui-drawer{transform:translateZ(0)}.om-component-ui-drawer-root-closed{pointer-events:none}.om-component-ui-drawer-root-closed .om-component-ui-drawer-overlay{opacity:0}@media (max-width:767.98px){.om-component-ui-drawer-left,.om-component-ui-drawer-right{width:100%!important}}
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-drawer-root {
24
+ position: fixed;
25
+ inset: 0;
26
+ z-index: 1000;
27
+ }
28
+
29
+ .om-component-ui-drawer-overlay {
30
+ position: absolute;
31
+ inset: 0;
32
+ background-color: var(--om-bg-scrim-dark, rgba(0, 0, 0, 0.2));
33
+ opacity: 0;
34
+ transition: opacity 300ms ease-in-out;
35
+ }
36
+
37
+ .om-component-ui-drawer {
38
+ position: fixed;
39
+ z-index: 1;
40
+ display: flex;
41
+ flex-direction: column;
42
+ background-color: var(--om-bg-default, #fff);
43
+ outline: none;
44
+ box-shadow: var(--om-shadow-200, 0 10px 22px rgba(0, 0, 0, 0.1));
45
+ transition: transform 300ms ease-in-out;
46
+ pointer-events: auto;
47
+ }
48
+ .om-component-ui-drawer-top {
49
+ top: 0;
50
+ right: 0;
51
+ left: 0;
52
+ width: 100%;
53
+ transform: translate3d(0, -100%, 0);
54
+ }
55
+ .om-component-ui-drawer-bottom {
56
+ right: 0;
57
+ bottom: 0;
58
+ left: 0;
59
+ width: 100%;
60
+ transform: translate3d(0, 100%, 0);
61
+ }
62
+ .om-component-ui-drawer-left {
63
+ top: 0;
64
+ bottom: 0;
65
+ left: 0;
66
+ transform: translate3d(-100%, 0, 0);
67
+ }
68
+ .om-component-ui-drawer-right {
69
+ top: 0;
70
+ right: 0;
71
+ bottom: 0;
72
+ transform: translate3d(100%, 0, 0);
73
+ }
74
+ .om-component-ui-drawer-header {
75
+ display: flex;
76
+ flex-shrink: 0;
77
+ gap: var(--om-spacing-300, 12px);
78
+ align-items: flex-start;
79
+ justify-content: space-between;
80
+ padding: var(--om-spacing-600, 24px) var(--om-spacing-400, 16px) var(--om-spacing-400, 16px);
81
+ }
82
+ .om-component-ui-drawer-header-main {
83
+ display: flex;
84
+ flex: 1;
85
+ gap: var(--om-spacing-200, 8px);
86
+ align-items: center;
87
+ min-width: 0;
88
+ }
89
+ .om-component-ui-drawer-title {
90
+ flex: 1;
91
+ min-width: 0;
92
+ overflow: hidden;
93
+ white-space: nowrap;
94
+ text-overflow: ellipsis;
95
+ }
96
+ .om-component-ui-drawer-control {
97
+ display: inline-flex;
98
+ flex-shrink: 0;
99
+ align-items: center;
100
+ justify-content: center;
101
+ width: var(--om-spacing-500, 20px);
102
+ height: var(--om-spacing-500, 20px);
103
+ padding: 0;
104
+ color: var(--om-icon-default-tertiary, #646465);
105
+ background: transparent;
106
+ border: none;
107
+ cursor: pointer;
108
+ }
109
+ .om-component-ui-drawer-control .om-component-ui-icons-wrapper {
110
+ --icon-color: currentcolor;
111
+ }
112
+ .om-component-ui-drawer-control:hover {
113
+ color: var(--om-icon-default, #131313);
114
+ }
115
+ .om-component-ui-drawer-body {
116
+ flex: 1;
117
+ min-height: 0;
118
+ padding: var(--om-spacing-400, 16px);
119
+ overflow: auto;
120
+ }
121
+ .om-component-ui-drawer-footer {
122
+ flex-shrink: 0;
123
+ padding: var(--om-spacing-400, 16px) var(--om-spacing-400, 16px) var(--om-spacing-600, 24px);
124
+ border-top: 1px solid var(--om-border-neutral, #e3e4e4);
125
+ }
126
+
127
+ .om-component-ui-drawer-root-open .om-component-ui-drawer-overlay {
128
+ opacity: 1;
129
+ }
130
+ .om-component-ui-drawer-root-open .om-component-ui-drawer {
131
+ transform: translate3d(0, 0, 0);
132
+ }
133
+
134
+ .om-component-ui-drawer-root-closed {
135
+ pointer-events: none;
136
+ }
137
+ .om-component-ui-drawer-root-closed .om-component-ui-drawer-overlay {
138
+ opacity: 0;
139
+ }
140
+
141
+ @media (max-width: 767.98px) {
142
+ .om-component-ui-drawer-right, .om-component-ui-drawer-left {
143
+ width: 100% !important;
144
+ }
145
+ }
@@ -1 +1,48 @@
1
- .om-dropdown-item{display:flex;gap:var(--om-spacing-300,12px);align-items:center;width:100%;min-height:40px;padding:var(--om-spacing-200,8px) var(--om-spacing-300,12px);color:var(--om-text-default,#131313);text-align:left;background:transparent;border:none;border-radius:var(--om-radius-200,8px);cursor:pointer;transition:background-color .15s ease;font-size:var(--om-body-md-font-size);font-family:var(--om-body-md-font-family);line-height:var(--om-body-md-line-height);letter-spacing:var(--om-body-md-letter-spacing);font-weight:var(--om-body-md-strong-font-weight)}.om-dropdown-item--selected,.om-dropdown-item:hover{background-color:var(--om-bg-default-secondary,#f8f8f8)}
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-dropdown-item {
24
+ display: flex;
25
+ gap: var(--om-spacing-300, 12px);
26
+ align-items: center;
27
+ width: 100%;
28
+ min-height: 40px;
29
+ padding: var(--om-spacing-200, 8px) var(--om-spacing-300, 12px);
30
+ color: var(--om-text-default, #131313);
31
+ text-align: left;
32
+ background: transparent;
33
+ border: none;
34
+ border-radius: var(--om-radius-200, 8px);
35
+ cursor: pointer;
36
+ transition: background-color 0.15s ease;
37
+ font-size: var(--om-body-md-font-size);
38
+ font-family: var(--om-body-md-font-family);
39
+ line-height: var(--om-body-md-line-height);
40
+ letter-spacing: var(--om-body-md-letter-spacing);
41
+ font-weight: var(--om-body-md-strong-font-weight);
42
+ }
43
+ .om-dropdown-item:hover {
44
+ background-color: var(--om-bg-default-secondary, #f8f8f8);
45
+ }
46
+ .om-dropdown-item--selected {
47
+ background-color: var(--om-bg-default-secondary, #f8f8f8);
48
+ }
@@ -1 +1,58 @@
1
- .om-component-ui-empty{display:flex;flex-direction:column;gap:var(--om-spacing-200,8px);align-items:center;justify-content:center;padding:var(--om-spacing-800,32px) var(--om-spacing-600,24px);overflow:hidden;text-align:center;border-radius:var(--om-radius-300,12px)}.om-component-ui-empty-stroke{background-color:var(--om-bg-default-secondary,#f8f8f8);border:1px solid var(--om-border-neutral,#e3e4e4)}.om-component-ui-empty-fill{background-color:transparent;border:none}.om-component-ui-empty-icon{display:flex;align-items:center;justify-content:center;color:var(--om-icon-neutral-secondary,#9fa3a3)}.om-component-ui-empty-content{display:flex;flex-direction:column;width:100%;color:var(--om-text-neutral-secondary,#9fa3a3)}.om-component-ui-empty-action{display:flex;align-items:center;justify-content:center}
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-empty {
24
+ display: flex;
25
+ flex-direction: column;
26
+ gap: var(--om-spacing-200, 8px);
27
+ align-items: center;
28
+ justify-content: center;
29
+ padding: var(--om-spacing-800, 32px) var(--om-spacing-600, 24px);
30
+ overflow: hidden;
31
+ text-align: center;
32
+ border-radius: var(--om-radius-300, 12px);
33
+ }
34
+ .om-component-ui-empty-stroke {
35
+ background-color: var(--om-bg-default-secondary, #f8f8f8);
36
+ border: 1px solid var(--om-border-neutral, #e3e4e4);
37
+ }
38
+ .om-component-ui-empty-fill {
39
+ background-color: transparent;
40
+ border: none;
41
+ }
42
+ .om-component-ui-empty-icon {
43
+ display: flex;
44
+ align-items: center;
45
+ justify-content: center;
46
+ color: var(--om-icon-neutral-secondary, #9fa3a3);
47
+ }
48
+ .om-component-ui-empty-content {
49
+ display: flex;
50
+ flex-direction: column;
51
+ width: 100%;
52
+ color: var(--om-text-neutral-secondary, #9fa3a3);
53
+ }
54
+ .om-component-ui-empty-action {
55
+ display: flex;
56
+ align-items: center;
57
+ justify-content: center;
58
+ }
@@ -1 +1,71 @@
1
- .om-component-ui-flex{display:flex;gap:var(--om-flex-gap,0)}.om-component-ui-flex-vertical{flex-direction:column}.om-component-ui-flex-wrap-wrap{flex-wrap:wrap}.om-component-ui-flex-wrap-nowrap{flex-wrap:nowrap}.om-component-ui-flex-wrap-wrap-reverse{flex-wrap:wrap-reverse}.om-component-ui-flex-justify-start{justify-content:flex-start}.om-component-ui-flex-justify-end{justify-content:flex-end}.om-component-ui-flex-justify-center{justify-content:center}.om-component-ui-flex-justify-space-between{justify-content:space-between}.om-component-ui-flex-justify-space-around{justify-content:space-around}.om-component-ui-flex-justify-space-evenly{justify-content:space-evenly}.om-component-ui-flex-align-start{align-items:flex-start}.om-component-ui-flex-align-end{align-items:flex-end}.om-component-ui-flex-align-center{align-items:center}.om-component-ui-flex-align-baseline{align-items:baseline}.om-component-ui-flex-align-stretch{align-items:stretch}
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-flex {
24
+ display: flex;
25
+ gap: var(--om-flex-gap, 0px);
26
+ }
27
+ .om-component-ui-flex-vertical {
28
+ flex-direction: column;
29
+ }
30
+ .om-component-ui-flex-wrap-wrap {
31
+ flex-wrap: wrap;
32
+ }
33
+ .om-component-ui-flex-wrap-nowrap {
34
+ flex-wrap: nowrap;
35
+ }
36
+ .om-component-ui-flex-wrap-wrap-reverse {
37
+ flex-wrap: wrap-reverse;
38
+ }
39
+ .om-component-ui-flex-justify-start {
40
+ justify-content: flex-start;
41
+ }
42
+ .om-component-ui-flex-justify-end {
43
+ justify-content: flex-end;
44
+ }
45
+ .om-component-ui-flex-justify-center {
46
+ justify-content: center;
47
+ }
48
+ .om-component-ui-flex-justify-space-between {
49
+ justify-content: space-between;
50
+ }
51
+ .om-component-ui-flex-justify-space-around {
52
+ justify-content: space-around;
53
+ }
54
+ .om-component-ui-flex-justify-space-evenly {
55
+ justify-content: space-evenly;
56
+ }
57
+ .om-component-ui-flex-align-start {
58
+ align-items: flex-start;
59
+ }
60
+ .om-component-ui-flex-align-end {
61
+ align-items: flex-end;
62
+ }
63
+ .om-component-ui-flex-align-center {
64
+ align-items: center;
65
+ }
66
+ .om-component-ui-flex-align-baseline {
67
+ align-items: baseline;
68
+ }
69
+ .om-component-ui-flex-align-stretch {
70
+ align-items: stretch;
71
+ }