@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,191 @@
1
- .om-component-ui-checkbox{display:inline-flex;gap:var(--om-spacing-300,12px);align-items:flex-start;cursor:pointer}.om-component-ui-checkbox-box-wrapper{position:relative;display:flex;flex-shrink:0;align-items:center;justify-content:center;height:calc(var(--om-body-lg-font-size) * 1.375)}.om-component-ui-checkbox-input{position:absolute;inset:0;margin:0;cursor:inherit;opacity:0}.om-component-ui-checkbox-box{position:relative;display:flex;align-items:center;justify-content:center;width:var(--om-spacing-400,16px);height:var(--om-spacing-400,16px);overflow:hidden;background-color:var(--om-bg-default,#fff);border:1px solid var(--om-border-default-secondary,#9fa3a3);border-radius:var(--om-radius-100,4px);transition:background-color .2s ease,border-color .2s ease,box-shadow .2s ease}.om-component-ui-checkbox-box:after{position:absolute;display:table;box-sizing:border-box;top:calc(var(--om-spacing-400, 16px) / 2 - 1px);inset-inline-start:calc(var(--om-spacing-400, 16px) / 4 - 1px);width:calc(5 * var(--om-spacing-400, 16px) / 14);height:calc(8 * var(--om-spacing-400, 16px) / 14);background-color:transparent;border:1px solid var(--om-icon-on-brand,#dde6f4);border-top:0;border-inline-start:0;transform:rotate(45deg) scale(0) translate(-50%,-50%);transform-origin:center;opacity:0;transition:all .1s cubic-bezier(.71,-.46,.88,.6),opacity .1s;content:""}.om-component-ui-checkbox-input:checked+.om-component-ui-checkbox-box{background-color:var(--om-bg-brand,#073387);border-color:var(--om-bg-brand,#073387)}.om-component-ui-checkbox-input:checked+.om-component-ui-checkbox-box:after{top:calc(var(--om-spacing-400, 16px) / 2 - 1px);inset-inline-start:calc(var(--om-spacing-400, 16px) / 4 - 1px);width:calc(5 * var(--om-spacing-400, 16px) / 14);height:calc(8 * var(--om-spacing-400, 16px) / 14);background-color:transparent;border:1px solid var(--om-icon-on-brand,#dde6f4);border-top:0;border-inline-start:0;transform:rotate(45deg) scale(1) translate(-50%,-50%);opacity:1;transition:all .2s cubic-bezier(.34,1.56,.64,1) .1s,opacity .1s}.om-component-ui-checkbox-input:focus-visible+.om-component-ui-checkbox-box{border-color:var(--om-border-brand,#073387);box-shadow:0 0 0 1px var(--om-border-brand,#073387)}.om-component-ui-checkbox-content{display:flex;flex:1 0 0;flex-direction:column;justify-content:center;min-width:0;min-height:1px}.om-component-ui-checkbox-description,.om-component-ui-checkbox-label{display:inline}.om-component-ui-checkbox:not(.om-component-ui-checkbox-disabled):hover .om-component-ui-checkbox-box{border-color:var(--om-border-default-tertiary,#404042)}.om-component-ui-checkbox:not(.om-component-ui-checkbox-disabled):hover .om-component-ui-checkbox-box-wrapper-indeterminate .om-component-ui-checkbox-box,.om-component-ui-checkbox:not(.om-component-ui-checkbox-disabled):hover .om-component-ui-checkbox-input:checked+.om-component-ui-checkbox-box{background-color:var(--om-bg-brand-hover,#052561);border-color:var(--om-bg-brand-hover,#052561)}.om-component-ui-checkbox-box-wrapper-indeterminate .om-component-ui-checkbox-box{background-color:var(--om-bg-brand,#073387);border-color:var(--om-bg-brand,#073387)}.om-component-ui-checkbox-box-wrapper-indeterminate .om-component-ui-checkbox-box:after{top:50%;inset-inline-start:17.5%;width:65%;height:7.5%;background-color:var(--om-icon-on-brand,#dde6f4);border:0;border-radius:var(--om-radius-100,4px);transform:translateY(-50%);opacity:1}.om-component-ui-checkbox-disabled{cursor:not-allowed}.om-component-ui-checkbox-disabled .om-component-ui-checkbox-box,.om-component-ui-checkbox-disabled .om-component-ui-checkbox-input:checked+.om-component-ui-checkbox-box{background-color:var(--om-bg-disabled,#f0f0f0);border-color:var(--om-border-disabled,#e3e4e4)}.om-component-ui-checkbox-disabled .om-component-ui-checkbox-input:checked+.om-component-ui-checkbox-box:after{top:calc(var(--om-spacing-400, 16px) / 2 - 1px);inset-inline-start:calc(var(--om-spacing-400, 16px) / 4 - 1px);width:calc(5 * var(--om-spacing-400, 16px) / 14);height:calc(8 * var(--om-spacing-400, 16px) / 14);background-color:transparent;border:1px solid var(--om-icon-disabled,#d1d2d2);border-top:0;border-inline-start:0;transform:rotate(45deg) scale(1) translate(-50%,-50%);opacity:1}.om-component-ui-checkbox-disabled .om-component-ui-checkbox-box-wrapper-indeterminate .om-component-ui-checkbox-box{background-color:var(--om-bg-disabled,#f0f0f0);border-color:var(--om-border-disabled,#e3e4e4)}.om-component-ui-checkbox-disabled .om-component-ui-checkbox-box-wrapper-indeterminate .om-component-ui-checkbox-box:after{top:50%;inset-inline-start:17.5%;width:65%;height:7.5%;background-color:var(--om-icon-disabled,#d1d2d2);border:0;border-radius:var(--om-radius-100,4px);transform:translateY(-50%);opacity:1}.om-component-ui-checkbox-right .om-component-ui-checkbox-box-wrapper{order:1}.om-component-ui-checkbox-right .om-component-ui-checkbox-content{order:0}.om-component-ui-checkbox-group{display:flex;gap:var(--om-spacing-300,12px);align-items:flex-start}.om-component-ui-checkbox-group-horizontal{flex-flow:row wrap}.om-component-ui-checkbox-group-vertical{flex-direction:column}
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-checkbox {
24
+ display: inline-flex;
25
+ gap: var(--om-spacing-300, 12px);
26
+ align-items: flex-start;
27
+ cursor: pointer;
28
+ }
29
+ .om-component-ui-checkbox-box-wrapper {
30
+ position: relative;
31
+ display: flex;
32
+ flex-shrink: 0;
33
+ align-items: center;
34
+ justify-content: center;
35
+ height: calc(var(--om-body-lg-font-size) * 1.375);
36
+ }
37
+ .om-component-ui-checkbox-input {
38
+ position: absolute;
39
+ inset: 0;
40
+ margin: 0;
41
+ cursor: inherit;
42
+ opacity: 0;
43
+ }
44
+ .om-component-ui-checkbox-box {
45
+ position: relative;
46
+ display: flex;
47
+ align-items: center;
48
+ justify-content: center;
49
+ width: var(--om-spacing-400, 16px);
50
+ height: var(--om-spacing-400, 16px);
51
+ overflow: hidden;
52
+ background-color: var(--om-bg-default, #fff);
53
+ border: 1px solid var(--om-border-default-secondary, #9fa3a3);
54
+ border-radius: var(--om-radius-100, 4px);
55
+ transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
56
+ }
57
+ .om-component-ui-checkbox-box::after {
58
+ position: absolute;
59
+ display: table;
60
+ box-sizing: border-box;
61
+ top: calc(var(--om-spacing-400, 16px) / 2 - 1px);
62
+ inset-inline-start: calc(var(--om-spacing-400, 16px) / 4 - 1px);
63
+ width: calc(5 * var(--om-spacing-400, 16px) / 14);
64
+ height: calc(8 * var(--om-spacing-400, 16px) / 14);
65
+ background-color: transparent;
66
+ border: 1px solid var(--om-icon-on-brand, #dde6f4);
67
+ border-top: 0;
68
+ border-inline-start: 0;
69
+ transform: rotate(45deg) scale(0) translate(-50%, -50%);
70
+ transform-origin: center;
71
+ opacity: 0;
72
+ transition: all 0.1s cubic-bezier(0.71, -0.46, 0.88, 0.6), opacity 0.1s;
73
+ content: "";
74
+ }
75
+ .om-component-ui-checkbox-input:checked + .om-component-ui-checkbox-box {
76
+ background-color: var(--om-bg-brand, #073387);
77
+ border-color: var(--om-bg-brand, #073387);
78
+ }
79
+ .om-component-ui-checkbox-input:checked + .om-component-ui-checkbox-box::after {
80
+ top: calc(var(--om-spacing-400, 16px) / 2 - 1px);
81
+ inset-inline-start: calc(var(--om-spacing-400, 16px) / 4 - 1px);
82
+ width: calc(5 * var(--om-spacing-400, 16px) / 14);
83
+ height: calc(8 * var(--om-spacing-400, 16px) / 14);
84
+ background-color: transparent;
85
+ border: 1px solid var(--om-icon-on-brand, #dde6f4);
86
+ border-top: 0;
87
+ border-inline-start: 0;
88
+ transform: rotate(45deg) scale(1) translate(-50%, -50%);
89
+ opacity: 1;
90
+ transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s, opacity 0.1s;
91
+ }
92
+ .om-component-ui-checkbox-input:focus-visible + .om-component-ui-checkbox-box {
93
+ border-color: var(--om-border-brand, #073387);
94
+ box-shadow: 0 0 0 1px var(--om-border-brand, #073387);
95
+ }
96
+ .om-component-ui-checkbox-content {
97
+ display: flex;
98
+ flex: 1 0 0;
99
+ flex-direction: column;
100
+ justify-content: center;
101
+ min-width: 0;
102
+ min-height: 1px;
103
+ }
104
+ .om-component-ui-checkbox-label {
105
+ display: inline;
106
+ }
107
+ .om-component-ui-checkbox-description {
108
+ display: inline;
109
+ }
110
+ .om-component-ui-checkbox:not(.om-component-ui-checkbox-disabled):hover .om-component-ui-checkbox-box {
111
+ border-color: var(--om-border-default-tertiary, #404042);
112
+ }
113
+ .om-component-ui-checkbox:not(.om-component-ui-checkbox-disabled):hover .om-component-ui-checkbox-input:checked + .om-component-ui-checkbox-box {
114
+ background-color: var(--om-bg-brand-hover, #052561);
115
+ border-color: var(--om-bg-brand-hover, #052561);
116
+ }
117
+ .om-component-ui-checkbox:not(.om-component-ui-checkbox-disabled):hover .om-component-ui-checkbox-box-wrapper-indeterminate .om-component-ui-checkbox-box {
118
+ background-color: var(--om-bg-brand-hover, #052561);
119
+ border-color: var(--om-bg-brand-hover, #052561);
120
+ }
121
+ .om-component-ui-checkbox-box-wrapper-indeterminate .om-component-ui-checkbox-box {
122
+ background-color: var(--om-bg-brand, #073387);
123
+ border-color: var(--om-bg-brand, #073387);
124
+ }
125
+ .om-component-ui-checkbox-box-wrapper-indeterminate .om-component-ui-checkbox-box::after {
126
+ top: 50%;
127
+ inset-inline-start: 17.5%;
128
+ width: 65%;
129
+ height: 7.5%;
130
+ background-color: var(--om-icon-on-brand, #dde6f4);
131
+ border: 0;
132
+ border-radius: var(--om-radius-100, 4px);
133
+ transform: translateY(-50%);
134
+ opacity: 1;
135
+ }
136
+ .om-component-ui-checkbox-disabled {
137
+ cursor: not-allowed;
138
+ }
139
+ .om-component-ui-checkbox-disabled .om-component-ui-checkbox-box {
140
+ background-color: var(--om-bg-disabled, #f0f0f0);
141
+ border-color: var(--om-border-disabled, #e3e4e4);
142
+ }
143
+ .om-component-ui-checkbox-disabled .om-component-ui-checkbox-input:checked + .om-component-ui-checkbox-box {
144
+ background-color: var(--om-bg-disabled, #f0f0f0);
145
+ border-color: var(--om-border-disabled, #e3e4e4);
146
+ }
147
+ .om-component-ui-checkbox-disabled .om-component-ui-checkbox-input:checked + .om-component-ui-checkbox-box::after {
148
+ top: calc(var(--om-spacing-400, 16px) / 2 - 1px);
149
+ inset-inline-start: calc(var(--om-spacing-400, 16px) / 4 - 1px);
150
+ width: calc(5 * var(--om-spacing-400, 16px) / 14);
151
+ height: calc(8 * var(--om-spacing-400, 16px) / 14);
152
+ background-color: transparent;
153
+ border: 1px solid var(--om-icon-disabled, #d1d2d2);
154
+ border-top: 0;
155
+ border-inline-start: 0;
156
+ transform: rotate(45deg) scale(1) translate(-50%, -50%);
157
+ opacity: 1;
158
+ }
159
+ .om-component-ui-checkbox-disabled .om-component-ui-checkbox-box-wrapper-indeterminate .om-component-ui-checkbox-box {
160
+ background-color: var(--om-bg-disabled, #f0f0f0);
161
+ border-color: var(--om-border-disabled, #e3e4e4);
162
+ }
163
+ .om-component-ui-checkbox-disabled .om-component-ui-checkbox-box-wrapper-indeterminate .om-component-ui-checkbox-box::after {
164
+ top: 50%;
165
+ inset-inline-start: 17.5%;
166
+ width: 65%;
167
+ height: 7.5%;
168
+ background-color: var(--om-icon-disabled, #d1d2d2);
169
+ border: 0;
170
+ border-radius: var(--om-radius-100, 4px);
171
+ transform: translateY(-50%);
172
+ opacity: 1;
173
+ }
174
+ .om-component-ui-checkbox-right .om-component-ui-checkbox-box-wrapper {
175
+ order: 1;
176
+ }
177
+ .om-component-ui-checkbox-right .om-component-ui-checkbox-content {
178
+ order: 0;
179
+ }
180
+
181
+ .om-component-ui-checkbox-group {
182
+ display: flex;
183
+ gap: var(--om-spacing-300, 12px);
184
+ align-items: flex-start;
185
+ }
186
+ .om-component-ui-checkbox-group-horizontal {
187
+ flex-flow: row wrap;
188
+ }
189
+ .om-component-ui-checkbox-group-vertical {
190
+ flex-direction: column;
191
+ }
@@ -1 +1,156 @@
1
- .om-component-ui-coach-mark{--coach-mark-arrow-offset:50%;position:relative;display:flex;flex-direction:column;width:450px;max-width:100%;padding:var(--om-spacing-1000,40px) var(--om-spacing-1000,40px) var(--om-spacing-800,32px);background-color:var(--om-bg-default,#fff);border:1px solid var(--om-border-neutral,#e3e4e4);border-radius:var(--om-radius-600,24px);box-shadow:var(--om-shadow-200,0 10px 22px rgba(0,0,0,.1))}.om-component-ui-coach-mark-content{display:flex;flex-direction:column;gap:var(--om-spacing-600,24px);align-items:flex-start;width:100%}.om-component-ui-coach-mark-icon{display:flex;align-items:center;justify-content:center;width:56px;height:56px;color:var(--om-icon-on-brand,#dde6f4);background:radial-gradient(circle at bottom left,var(--om-bg-brand,#073387) 0,var(--om-bg-brand-secondary,#dde6f4) 50%,var(--om-bg-default-secondary,#f8f8f8) 100%);border-radius:var(--om-radius-full,9999px)}.om-component-ui-coach-mark-text{display:flex;flex-direction:column;gap:var(--om-spacing-200,8px);width:100%}.om-component-ui-coach-mark-footer{display:flex;align-items:center;justify-content:space-between;width:100%;margin-top:var(--om-spacing-600,24px);padding-top:var(--om-spacing-600,24px);border-top:1px solid var(--om-border-neutral-secondary,#f0f0f0)}.om-component-ui-coach-mark-btn{display:flex;gap:var(--om-spacing-200,8px);align-items:center;justify-content:center;width:80px;padding:var(--om-spacing-300,12px);white-space:nowrap;text-align:center;border:none;border-radius:var(--om-radius-300,12px);cursor:pointer;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-component-ui-coach-mark-btn-back{color:var(--om-text-brand,#073387);background-color:var(--om-bg-brand-secondary,#dde6f4)}.om-component-ui-coach-mark-btn-back:hover{background-color:var(--om-bg-brand-secondary-hover,#c1d0eb)}.om-component-ui-coach-mark-btn-back:disabled{color:var(--om-text-brand-secondary,#a4bbe1);background-color:var(--om-bg-brand-tertiary,#edf2f9);cursor:default}.om-component-ui-coach-mark-btn-next{color:var(--om-text-on-neutral,#fff);background-color:var(--om-bg-brand,#073387)}.om-component-ui-coach-mark-dismiss{position:absolute;top:var(--om-spacing-400,16px);right:var(--om-spacing-400,16px);display:flex;align-items:center;justify-content:center;width:24px;height:24px;padding:0;color:var(--om-icon-default-tertiary,#646465);background:none;border:none;border-radius:var(--om-radius-200,8px);cursor:pointer}.om-component-ui-coach-mark-dismiss:hover{color:var(--om-icon-default-secondary,#404042)}.om-component-ui-coach-mark-arrow{position:absolute;width:36px;height:9px;overflow:visible;pointer-events:none}.om-component-ui-coach-mark-arrow-fill{fill:var(--om-bg-default,#fff)}.om-component-ui-coach-mark-arrow-stroke{fill:none;stroke:var(--om-border-neutral,#e3e4e4);stroke-width:1;stroke-linecap:round}.om-component-ui-coach-mark-top .om-component-ui-coach-mark-arrow{bottom:-9px;left:var(--coach-mark-arrow-offset);transform:translateX(-50%) rotate(180deg)}.om-component-ui-coach-mark-bottom .om-component-ui-coach-mark-arrow{top:-9px;left:var(--coach-mark-arrow-offset);transform:translateX(-50%)}.om-component-ui-coach-mark-right .om-component-ui-coach-mark-arrow{top:var(--coach-mark-arrow-offset);left:-22.5px;transform:translateY(-50%) rotate(-90deg)}.om-component-ui-coach-mark-left .om-component-ui-coach-mark-arrow{top:var(--coach-mark-arrow-offset);right:-22.5px;transform:translateY(-50%) rotate(90deg)}
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-coach-mark {
24
+ --coach-mark-arrow-offset: 50%;
25
+ position: relative;
26
+ display: flex;
27
+ flex-direction: column;
28
+ width: 450px;
29
+ max-width: 100%;
30
+ padding: var(--om-spacing-1000, 40px) var(--om-spacing-1000, 40px) var(--om-spacing-800, 32px);
31
+ background-color: var(--om-bg-default, #fff);
32
+ border: 1px solid var(--om-border-neutral, #e3e4e4);
33
+ border-radius: var(--om-radius-600, 24px);
34
+ box-shadow: var(--om-shadow-200, 0 10px 22px rgba(0, 0, 0, 0.1));
35
+ }
36
+ .om-component-ui-coach-mark-content {
37
+ display: flex;
38
+ flex-direction: column;
39
+ gap: var(--om-spacing-600, 24px);
40
+ align-items: flex-start;
41
+ width: 100%;
42
+ }
43
+ .om-component-ui-coach-mark-icon {
44
+ display: flex;
45
+ align-items: center;
46
+ justify-content: center;
47
+ width: 56px;
48
+ height: 56px;
49
+ color: var(--om-icon-on-brand, #dde6f4);
50
+ background: radial-gradient(circle at bottom left, var(--om-bg-brand, #073387) 0%, var(--om-bg-brand-secondary, #dde6f4) 50%, var(--om-bg-default-secondary, #f8f8f8) 100%);
51
+ border-radius: var(--om-radius-full, 9999px);
52
+ }
53
+ .om-component-ui-coach-mark-text {
54
+ display: flex;
55
+ flex-direction: column;
56
+ gap: var(--om-spacing-200, 8px);
57
+ width: 100%;
58
+ }
59
+ .om-component-ui-coach-mark-footer {
60
+ display: flex;
61
+ align-items: center;
62
+ justify-content: space-between;
63
+ width: 100%;
64
+ margin-top: var(--om-spacing-600, 24px);
65
+ padding-top: var(--om-spacing-600, 24px);
66
+ border-top: 1px solid var(--om-border-neutral-secondary, #f0f0f0);
67
+ }
68
+ .om-component-ui-coach-mark-btn {
69
+ display: flex;
70
+ gap: var(--om-spacing-200, 8px);
71
+ align-items: center;
72
+ justify-content: center;
73
+ width: 80px;
74
+ padding: var(--om-spacing-300, 12px);
75
+ white-space: nowrap;
76
+ text-align: center;
77
+ border: none;
78
+ border-radius: var(--om-radius-300, 12px);
79
+ cursor: pointer;
80
+ font-size: var(--om-body-md-font-size);
81
+ font-family: var(--om-body-md-font-family);
82
+ line-height: var(--om-body-md-line-height);
83
+ letter-spacing: var(--om-body-md-letter-spacing);
84
+ font-weight: var(--om-body-md-strong-font-weight);
85
+ }
86
+ .om-component-ui-coach-mark-btn-back {
87
+ color: var(--om-text-brand, #073387);
88
+ background-color: var(--om-bg-brand-secondary, #dde6f4);
89
+ }
90
+ .om-component-ui-coach-mark-btn-back:hover {
91
+ background-color: var(--om-bg-brand-secondary-hover, #c1d0eb);
92
+ }
93
+ .om-component-ui-coach-mark-btn-back:disabled {
94
+ color: var(--om-text-brand-secondary, #a4bbe1);
95
+ background-color: var(--om-bg-brand-tertiary, #edf2f9);
96
+ cursor: default;
97
+ }
98
+ .om-component-ui-coach-mark-btn-next {
99
+ color: var(--om-text-on-neutral, #fff);
100
+ background-color: var(--om-bg-brand, #073387);
101
+ }
102
+ .om-component-ui-coach-mark-dismiss {
103
+ position: absolute;
104
+ top: var(--om-spacing-400, 16px);
105
+ right: var(--om-spacing-400, 16px);
106
+ display: flex;
107
+ align-items: center;
108
+ justify-content: center;
109
+ width: 24px;
110
+ height: 24px;
111
+ padding: 0;
112
+ color: var(--om-icon-default-tertiary, #646465);
113
+ background: none;
114
+ border: none;
115
+ border-radius: var(--om-radius-200, 8px);
116
+ cursor: pointer;
117
+ }
118
+ .om-component-ui-coach-mark-dismiss:hover {
119
+ color: var(--om-icon-default-secondary, #404042);
120
+ }
121
+ .om-component-ui-coach-mark-arrow {
122
+ position: absolute;
123
+ width: 36px;
124
+ height: 9px;
125
+ overflow: visible;
126
+ pointer-events: none;
127
+ }
128
+ .om-component-ui-coach-mark-arrow-fill {
129
+ fill: var(--om-bg-default, #fff);
130
+ }
131
+ .om-component-ui-coach-mark-arrow-stroke {
132
+ fill: none;
133
+ stroke: var(--om-border-neutral, #e3e4e4);
134
+ stroke-width: 1;
135
+ stroke-linecap: round;
136
+ }
137
+ .om-component-ui-coach-mark-top .om-component-ui-coach-mark-arrow {
138
+ bottom: -9px;
139
+ left: var(--coach-mark-arrow-offset);
140
+ transform: translateX(-50%) rotate(180deg);
141
+ }
142
+ .om-component-ui-coach-mark-bottom .om-component-ui-coach-mark-arrow {
143
+ top: -9px;
144
+ left: var(--coach-mark-arrow-offset);
145
+ transform: translateX(-50%);
146
+ }
147
+ .om-component-ui-coach-mark-right .om-component-ui-coach-mark-arrow {
148
+ top: var(--coach-mark-arrow-offset);
149
+ left: -22.5px;
150
+ transform: translateY(-50%) rotate(-90deg);
151
+ }
152
+ .om-component-ui-coach-mark-left .om-component-ui-coach-mark-arrow {
153
+ top: var(--coach-mark-arrow-offset);
154
+ right: -22.5px;
155
+ transform: translateY(-50%) rotate(90deg);
156
+ }
@@ -1 +1,45 @@
1
- .om-component-ui-clipboard{display:flex;flex-direction:column;gap:var(--om-spacing-200,8px)}.om-component-ui-clipboard-content{display:flex;flex-direction:row;gap:var(--om-spacing-200,8px);align-items:center;justify-content:space-between;padding:var(--om-spacing-200,8px) var(--om-spacing-400,16px);background-color:var(--om-bg-default-secondary,#f8f8f8);border:1px solid var(--om-border-neutral,#e3e4e4);border-radius:var(--om-radius-300,12px)}.om-component-ui-clipboard-content-text{display:inline-block;margin:0;color:var(--om-text-default-tertiary,#646465);word-wrap:break-word;word-break:break-all}
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-clipboard {
24
+ display: flex;
25
+ flex-direction: column;
26
+ gap: var(--om-spacing-200, 8px);
27
+ }
28
+ .om-component-ui-clipboard-content {
29
+ display: flex;
30
+ flex-direction: row;
31
+ gap: var(--om-spacing-200, 8px);
32
+ align-items: center;
33
+ justify-content: space-between;
34
+ padding: var(--om-spacing-200, 8px) var(--om-spacing-400, 16px);
35
+ background-color: var(--om-bg-default-secondary, #f8f8f8);
36
+ border: 1px solid var(--om-border-neutral, #e3e4e4);
37
+ border-radius: var(--om-radius-300, 12px);
38
+ }
39
+ .om-component-ui-clipboard-content-text {
40
+ display: inline-block;
41
+ margin: 0;
42
+ color: var(--om-text-default-tertiary, #646465);
43
+ word-wrap: break-word;
44
+ word-break: break-all;
45
+ }
@@ -1 +1,48 @@
1
- .om-component-ui-copy{cursor:pointer}.om-component-ui-copy-copied{cursor:default}.om-component-ui-copy-inner{display:inline-flex;align-items:center;justify-content:center;padding:var(--om-spacing-300,12px);background-color:var(--om-bg-neutral-tertiary,#f0f0f0);border-radius:var(--om-radius-300,12px);cursor:pointer;transition:background-color .2s ease}.om-component-ui-copy-inner:hover{background-color:var(--om-bg-neutral-tertiary-hover,#e3e4e4)}.om-component-ui-copy-inner-copied{cursor:default}.om-component-ui-copy-inner-copied,.om-component-ui-copy-inner-copied:hover{background-color:var(--om-bg-positive-tertiary,rgba(31,88,0,.05))}
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-copy {
24
+ cursor: pointer;
25
+ }
26
+ .om-component-ui-copy-copied {
27
+ cursor: default;
28
+ }
29
+ .om-component-ui-copy-inner {
30
+ display: inline-flex;
31
+ align-items: center;
32
+ justify-content: center;
33
+ padding: var(--om-spacing-300, 12px);
34
+ background-color: var(--om-bg-neutral-tertiary, #f0f0f0);
35
+ border-radius: var(--om-radius-300, 12px);
36
+ cursor: pointer;
37
+ transition: background-color 0.2s ease;
38
+ }
39
+ .om-component-ui-copy-inner:hover {
40
+ background-color: var(--om-bg-neutral-tertiary-hover, #e3e4e4);
41
+ }
42
+ .om-component-ui-copy-inner-copied {
43
+ background-color: var(--om-bg-positive-tertiary, rgba(31, 88, 0, 0.05));
44
+ cursor: default;
45
+ }
46
+ .om-component-ui-copy-inner-copied:hover {
47
+ background-color: var(--om-bg-positive-tertiary, rgba(31, 88, 0, 0.05));
48
+ }
@@ -1 +1,204 @@
1
- .om-component-ui-dialog-root{position:fixed;inset:0;z-index:1000}.om-component-ui-dialog-overlay{position:absolute;inset:0;background-color:var(--om-bg-scrim-dark,rgba(0,0,0,.2));opacity:0;transition:opacity .2s ease}.om-component-ui-dialog-wrapper{position:relative;display:flex;align-items:center;justify-content:center;width:100%;height:100%;padding:var(--om-spacing-400,16px);pointer-events:none}.om-component-ui-dialog{position:relative;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;width:min(100%,450px);max-height:calc(100vh - var(--om-spacing-800, 32px));overflow:hidden;background-color:var(--om-bg-default,#fff);border:1px solid var(--om-border-neutral,#e3e4e4);border-radius:var(--om-radius-600,24px);outline:none;box-shadow:var(--om-shadow-200,0 10px 22px rgba(0,0,0,.1));transform:translateY(var(--om-spacing-400,16px));opacity:0;transition:opacity .2s ease,transform .2s ease;pointer-events:auto}.om-component-ui-dialog-small{width:min(100%,450px)}.om-component-ui-dialog-large{width:min(100%,740px)}.om-component-ui-dialog-full-width{width:calc(100vw - var(--om-spacing-800, 32px));max-width:none}.om-component-ui-dialog-with-media .om-component-ui-dialog-inner{padding-top:var(--om-spacing-800,32px)}.om-component-ui-dialog-media{width:100%;overflow:hidden;background-color:var(--om-bg-default-tertiary,#e3e4e4)}.om-component-ui-dialog-inner{display:flex;flex-direction:column;gap:var(--om-spacing-600,24px);width:100%;padding:var(--om-spacing-800,32px)}.om-component-ui-dialog-header{display:flex;align-items:center;width:100%;min-height:24px}.om-component-ui-dialog-control{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;padding:0;color:var(--om-icon-default-tertiary,#646465);background:transparent;border:none;cursor:pointer}.om-component-ui-dialog-control .om-component-ui-icons-wrapper{--icon-color:currentcolor}.om-component-ui-dialog-control:hover{color:var(--om-icon-default,#131313)}.om-component-ui-dialog-control-close{position:absolute;top:15px;right:15px;z-index:1}.om-component-ui-dialog-body{width:100%;min-width:0}.om-component-ui-dialog-illustration{display:flex;align-items:center;justify-content:flex-start;padding-bottom:var(--om-spacing-300,12px);line-height:0}.om-component-ui-dialog-content,.om-component-ui-dialog-title{width:100%;min-width:0}.om-component-ui-dialog-title{color:var(--om-text-default,#131313)}.om-component-ui-dialog-content{padding-top:var(--om-spacing-300,12px)}.om-component-ui-dialog-footer{display:flex;gap:var(--om-spacing-300,12px);width:100%}.om-component-ui-dialog-footer-small{flex-direction:column;align-items:stretch}.om-component-ui-dialog-footer-large{align-items:stretch}.om-component-ui-dialog-action-button{width:100%;min-height:52px;border-radius:var(--om-radius-300,12px)}.om-component-ui-dialog-action-button.om-component-ui-button{justify-content:center}.om-component-ui-dialog-action-button-cancel.om-component-ui-button{color:var(--om-text-default,#131313);background-color:var(--om-bg-neutral-tertiary,#f0f0f0)}.om-component-ui-dialog-action-button-cancel.om-component-ui-button:hover:not(:disabled){background-color:var(--om-bg-neutral-secondary,#e3e4e4)}.om-component-ui-dialog-footer-large>.om-component-ui-dialog-action-button{flex:1 1 0}.om-component-ui-dialog-root-open .om-component-ui-dialog-overlay{opacity:1}.om-component-ui-dialog-root-open .om-component-ui-dialog{transform:translateY(0);opacity:1}.om-component-ui-dialog-root-closed .om-component-ui-dialog-overlay{opacity:0}.om-component-ui-dialog-root-closed .om-component-ui-dialog{transform:translateY(var(--om-spacing-400,16px));opacity:0}@media (max-width:767.98px){.om-component-ui-dialog-wrapper{align-items:flex-end}.om-component-ui-dialog-full-width{width:100%}.om-component-ui-dialog-inner{padding-right:var(--om-spacing-800,32px);padding-left:var(--om-spacing-800,32px)}.om-component-ui-dialog-footer-large{flex-direction:column}}
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-dialog-root {
24
+ position: fixed;
25
+ inset: 0;
26
+ z-index: 1000;
27
+ }
28
+
29
+ .om-component-ui-dialog-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 200ms ease;
35
+ }
36
+
37
+ .om-component-ui-dialog-wrapper {
38
+ position: relative;
39
+ display: flex;
40
+ align-items: center;
41
+ justify-content: center;
42
+ width: 100%;
43
+ height: 100%;
44
+ padding: var(--om-spacing-400, 16px);
45
+ pointer-events: none;
46
+ }
47
+
48
+ .om-component-ui-dialog {
49
+ position: relative;
50
+ display: flex;
51
+ flex-direction: column;
52
+ align-items: stretch;
53
+ justify-content: flex-start;
54
+ width: min(100%, 450px);
55
+ max-height: calc(100vh - var(--om-spacing-800, 32px));
56
+ overflow: hidden;
57
+ background-color: var(--om-bg-default, #fff);
58
+ border: 1px solid var(--om-border-neutral, #e3e4e4);
59
+ border-radius: var(--om-radius-600, 24px);
60
+ outline: none;
61
+ box-shadow: var(--om-shadow-200, 0 10px 22px rgba(0, 0, 0, 0.1));
62
+ transform: translateY(var(--om-spacing-400, 16px));
63
+ opacity: 0;
64
+ transition: opacity 200ms ease, transform 200ms ease;
65
+ pointer-events: auto;
66
+ }
67
+ .om-component-ui-dialog-small {
68
+ width: min(100%, 450px);
69
+ }
70
+ .om-component-ui-dialog-large {
71
+ width: min(100%, 740px);
72
+ }
73
+ .om-component-ui-dialog-full-width {
74
+ width: calc(100vw - var(--om-spacing-800, 32px));
75
+ max-width: none;
76
+ }
77
+ .om-component-ui-dialog-with-media .om-component-ui-dialog-inner {
78
+ padding-top: var(--om-spacing-800, 32px);
79
+ }
80
+ .om-component-ui-dialog-media {
81
+ width: 100%;
82
+ overflow: hidden;
83
+ background-color: var(--om-bg-default-tertiary, #e3e4e4);
84
+ }
85
+ .om-component-ui-dialog-inner {
86
+ display: flex;
87
+ flex-direction: column;
88
+ gap: var(--om-spacing-600, 24px);
89
+ width: 100%;
90
+ padding: var(--om-spacing-800, 32px);
91
+ }
92
+ .om-component-ui-dialog-header {
93
+ display: flex;
94
+ align-items: center;
95
+ width: 100%;
96
+ min-height: 24px;
97
+ }
98
+ .om-component-ui-dialog-control {
99
+ display: inline-flex;
100
+ align-items: center;
101
+ justify-content: center;
102
+ width: 24px;
103
+ height: 24px;
104
+ padding: 0;
105
+ color: var(--om-icon-default-tertiary, #646465);
106
+ background: transparent;
107
+ border: none;
108
+ cursor: pointer;
109
+ }
110
+ .om-component-ui-dialog-control .om-component-ui-icons-wrapper {
111
+ --icon-color: currentcolor;
112
+ }
113
+ .om-component-ui-dialog-control:hover {
114
+ color: var(--om-icon-default, #131313);
115
+ }
116
+ .om-component-ui-dialog-control-close {
117
+ position: absolute;
118
+ top: 15px;
119
+ right: 15px;
120
+ z-index: 1;
121
+ }
122
+ .om-component-ui-dialog-body {
123
+ width: 100%;
124
+ min-width: 0;
125
+ }
126
+ .om-component-ui-dialog-illustration {
127
+ display: flex;
128
+ align-items: center;
129
+ justify-content: flex-start;
130
+ padding-bottom: var(--om-spacing-300, 12px);
131
+ line-height: 0;
132
+ }
133
+ .om-component-ui-dialog-title, .om-component-ui-dialog-content {
134
+ width: 100%;
135
+ min-width: 0;
136
+ }
137
+ .om-component-ui-dialog-title {
138
+ color: var(--om-text-default, #131313);
139
+ }
140
+ .om-component-ui-dialog-content {
141
+ padding-top: var(--om-spacing-300, 12px);
142
+ }
143
+ .om-component-ui-dialog-footer {
144
+ display: flex;
145
+ gap: var(--om-spacing-300, 12px);
146
+ width: 100%;
147
+ }
148
+ .om-component-ui-dialog-footer-small {
149
+ flex-direction: column;
150
+ align-items: stretch;
151
+ }
152
+ .om-component-ui-dialog-footer-large {
153
+ align-items: stretch;
154
+ }
155
+ .om-component-ui-dialog-action-button {
156
+ width: 100%;
157
+ min-height: 52px;
158
+ border-radius: var(--om-radius-300, 12px);
159
+ }
160
+ .om-component-ui-dialog-action-button.om-component-ui-button {
161
+ justify-content: center;
162
+ }
163
+ .om-component-ui-dialog-action-button-cancel.om-component-ui-button {
164
+ color: var(--om-text-default, #131313);
165
+ background-color: var(--om-bg-neutral-tertiary, #f0f0f0);
166
+ }
167
+ .om-component-ui-dialog-action-button-cancel.om-component-ui-button:hover:not(:disabled) {
168
+ background-color: var(--om-bg-neutral-secondary, #e3e4e4);
169
+ }
170
+ .om-component-ui-dialog-footer-large > .om-component-ui-dialog-action-button {
171
+ flex: 1 1 0;
172
+ }
173
+
174
+ .om-component-ui-dialog-root-open .om-component-ui-dialog-overlay {
175
+ opacity: 1;
176
+ }
177
+ .om-component-ui-dialog-root-open .om-component-ui-dialog {
178
+ transform: translateY(0);
179
+ opacity: 1;
180
+ }
181
+
182
+ .om-component-ui-dialog-root-closed .om-component-ui-dialog-overlay {
183
+ opacity: 0;
184
+ }
185
+ .om-component-ui-dialog-root-closed .om-component-ui-dialog {
186
+ transform: translateY(var(--om-spacing-400, 16px));
187
+ opacity: 0;
188
+ }
189
+
190
+ @media (max-width: 767.98px) {
191
+ .om-component-ui-dialog-wrapper {
192
+ align-items: flex-end;
193
+ }
194
+ .om-component-ui-dialog-full-width {
195
+ width: 100%;
196
+ }
197
+ .om-component-ui-dialog-inner {
198
+ padding-right: var(--om-spacing-800, 32px);
199
+ padding-left: var(--om-spacing-800, 32px);
200
+ }
201
+ .om-component-ui-dialog-footer-large {
202
+ flex-direction: column;
203
+ }
204
+ }