morya-ui 0.2.8 → 0.2.9

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 (196) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/README.md +1 -0
  3. package/README.zh-CN.md +1 -0
  4. package/dist/{Button--RkQybU-.js → Button-DO5oukfg.js} +1 -1
  5. package/dist/Icon-B6IBrJ5S.js +606 -0
  6. package/dist/{Pagination-BKvR-RUW.js → Pagination-CUwCtWhz.js} +1 -1
  7. package/dist/accordion/style.css +26 -23
  8. package/dist/auto-complete/index.js +1 -1
  9. package/dist/auto-complete/style.css +64 -40
  10. package/dist/avatar/index.js +1 -1
  11. package/dist/avatar/style.css +26 -23
  12. package/dist/badge/style.css +26 -23
  13. package/dist/block-ui/style.css +26 -23
  14. package/dist/breadcrumb/style.css +26 -23
  15. package/dist/button/index.js +1 -1
  16. package/dist/button/style.css +26 -23
  17. package/dist/card/style.css +26 -23
  18. package/dist/carousel/index.js +1 -1
  19. package/dist/carousel/style.css +26 -23
  20. package/dist/cascade-select/index.js +1 -1
  21. package/dist/cascade-select/style.css +27 -24
  22. package/dist/checkbox/style.css +26 -23
  23. package/dist/chip/index.js +1 -1
  24. package/dist/chip/style.css +26 -23
  25. package/dist/command-menu/index.js +2 -2
  26. package/dist/command-menu/style.css +26 -23
  27. package/dist/components/AutoComplete/styles.css +38 -17
  28. package/dist/components/DatePicker/styles.css +65 -21
  29. package/dist/components/Icon/icon-categories.d.ts +21 -0
  30. package/dist/components/Icon/icon-categories.d.ts.map +1 -0
  31. package/dist/components/Icon/icons-tabler.d.ts +77 -0
  32. package/dist/components/Icon/icons-tabler.d.ts.map +1 -0
  33. package/dist/components/Icon/icons-types.d.ts +36 -0
  34. package/dist/components/Icon/icons-types.d.ts.map +1 -0
  35. package/dist/components/Icon/icons.d.ts +75 -32
  36. package/dist/components/Icon/icons.d.ts.map +1 -1
  37. package/dist/components/Icon/index.d.ts +2 -0
  38. package/dist/components/Icon/index.d.ts.map +1 -1
  39. package/dist/components/IconField/IconField.vue.d.ts +3 -1
  40. package/dist/components/IconField/IconField.vue.d.ts.map +1 -1
  41. package/dist/components/IconField/styles.css +306 -31
  42. package/dist/components/Input/Input.vue.d.ts.map +1 -1
  43. package/dist/components/Input/styles.css +172 -33
  44. package/dist/components/InputNumber/styles.css +103 -40
  45. package/dist/components/InputPassword/InputPassword.vue.d.ts.map +1 -1
  46. package/dist/components/InputPassword/styles.css +79 -79
  47. package/dist/components/Layout/LayoutContent.vue.d.ts +4 -8
  48. package/dist/components/Layout/LayoutContent.vue.d.ts.map +1 -1
  49. package/dist/components/Layout/LayoutSider.vue.d.ts +4 -6
  50. package/dist/components/Layout/LayoutSider.vue.d.ts.map +1 -1
  51. package/dist/components/Layout/composables/useLayoutRegionStyle.d.ts +2 -0
  52. package/dist/components/Layout/composables/useLayoutRegionStyle.d.ts.map +1 -1
  53. package/dist/components/Layout/styles.css +7 -42
  54. package/dist/components/Layout/types.d.ts +4 -7
  55. package/dist/components/Layout/types.d.ts.map +1 -1
  56. package/dist/components/Menu/styles.css +4 -1
  57. package/dist/components/Textarea/styles.css +15 -1
  58. package/dist/config-provider/style.css +198 -56
  59. package/dist/confirm-dialog/index.js +2 -2
  60. package/dist/confirm-dialog/style.css +26 -23
  61. package/dist/confirm-popup/index.js +2 -2
  62. package/dist/confirm-popup/style.css +26 -23
  63. package/dist/context-menu/index.js +2 -2
  64. package/dist/context-menu/style.css +26 -23
  65. package/dist/data-view/index.js +1 -1
  66. package/dist/data-view/style.css +26 -23
  67. package/dist/date-picker/index.js +1 -1
  68. package/dist/date-picker/style.css +91 -44
  69. package/dist/dialog/index.js +2 -2
  70. package/dist/dialog/style.css +26 -23
  71. package/dist/divider/style.css +26 -23
  72. package/dist/dock/index.js +2 -2
  73. package/dist/dock/style.css +26 -23
  74. package/dist/drawer/index.js +1 -1
  75. package/dist/drawer/style.css +26 -23
  76. package/dist/dropdown/index.js +2 -2
  77. package/dist/dropdown/style.css +26 -23
  78. package/dist/empty/index.js +1 -1
  79. package/dist/empty/style.css +26 -23
  80. package/dist/fieldset/index.js +1 -1
  81. package/dist/fieldset/style.css +26 -23
  82. package/dist/file-upload/index.js +1 -1
  83. package/dist/file-upload/style.css +26 -23
  84. package/dist/flex/style.css +26 -23
  85. package/dist/float-label/style.css +26 -23
  86. package/dist/fluid/style.css +26 -23
  87. package/dist/form/style.css +26 -23
  88. package/dist/gallery/index.js +1 -1
  89. package/dist/gallery/style.css +26 -23
  90. package/dist/grid/style.css +26 -23
  91. package/dist/icon/index.js +212 -2
  92. package/dist/icon/style.css +26 -23
  93. package/dist/icon-field/index.js +41 -7
  94. package/dist/icon-field/style.css +672 -54
  95. package/dist/icon-field/style.js +1 -0
  96. package/dist/{icon-xUOyawgJ.js → icon-iOBeyIRp.js} +1 -1
  97. package/dist/index.d.ts +2 -0
  98. package/dist/index.d.ts.map +1 -1
  99. package/dist/index.js +3126 -2821
  100. package/dist/inplace/style.css +26 -23
  101. package/dist/input/index.js +78 -80
  102. package/dist/input/style.css +198 -56
  103. package/dist/input-color/style.css +26 -23
  104. package/dist/input-group/style.css +26 -23
  105. package/dist/input-number/index.js +1 -1
  106. package/dist/input-number/style.css +129 -63
  107. package/dist/input-otp/style.css +26 -23
  108. package/dist/input-password/index.js +83 -82
  109. package/dist/input-password/style.css +105 -102
  110. package/dist/input-tags/index.js +1 -1
  111. package/dist/input-tags/style.css +26 -23
  112. package/dist/knob/style.css +26 -23
  113. package/dist/label/style.css +26 -23
  114. package/dist/layout/index.js +60 -83
  115. package/dist/layout/style.css +33 -65
  116. package/dist/listbox/style.css +26 -23
  117. package/dist/loading/style.css +26 -23
  118. package/dist/mega-menu/index.js +2 -2
  119. package/dist/mega-menu/style.css +26 -23
  120. package/dist/menu/index.js +2 -2
  121. package/dist/menu/style.css +30 -24
  122. package/dist/menubar/index.js +2 -2
  123. package/dist/menubar/style.css +26 -23
  124. package/dist/message/index.js +1 -1
  125. package/dist/message/style.css +26 -23
  126. package/dist/meter-group/style.css +26 -23
  127. package/dist/order-list/index.js +1 -1
  128. package/dist/order-list/style.css +26 -23
  129. package/dist/page/index.js +1 -1
  130. package/dist/page/style.css +26 -23
  131. package/dist/pagination/index.js +1 -1
  132. package/dist/pagination/style.css +26 -23
  133. package/dist/panel/index.js +1 -1
  134. package/dist/panel/style.css +26 -23
  135. package/dist/pick-list/index.js +1 -1
  136. package/dist/pick-list/style.css +26 -23
  137. package/dist/popover/style.css +26 -23
  138. package/dist/progress-bar/style.css +26 -23
  139. package/dist/progress-spinner/style.css +26 -23
  140. package/dist/radio/style.css +26 -23
  141. package/dist/rating/index.js +1 -1
  142. package/dist/rating/style.css +26 -23
  143. package/dist/result/index.js +1 -1
  144. package/dist/result/style.css +26 -23
  145. package/dist/scroll-top/index.js +1 -1
  146. package/dist/scroll-top/style.css +26 -23
  147. package/dist/scrollbar/style.css +26 -23
  148. package/dist/select/index.js +1 -1
  149. package/dist/select/style.css +27 -24
  150. package/dist/select-button/style.css +26 -23
  151. package/dist/shared/styles/control-suffix.css +1 -1
  152. package/dist/sidebar/index.js +2 -2
  153. package/dist/sidebar/style.css +26 -23
  154. package/dist/skeleton/style.css +26 -23
  155. package/dist/slider/style.css +26 -23
  156. package/dist/space/style.css +26 -23
  157. package/dist/speed-dial/index.js +2 -2
  158. package/dist/speed-dial/style.css +26 -23
  159. package/dist/split-button/index.js +1 -1
  160. package/dist/split-button/style.css +26 -23
  161. package/dist/splitter/style.css +26 -23
  162. package/dist/status/index.js +1 -1
  163. package/dist/status/style.css +26 -23
  164. package/dist/stepper/index.js +1 -1
  165. package/dist/stepper/style.css +26 -23
  166. package/dist/styles/base.css +26 -23
  167. package/dist/styles.css +1 -1
  168. package/dist/switch/style.css +26 -23
  169. package/dist/table/index.js +2 -2
  170. package/dist/table/style.css +26 -23
  171. package/dist/tabs/index.js +1 -1
  172. package/dist/tabs/style.css +26 -23
  173. package/dist/tag/index.js +1 -1
  174. package/dist/tag/style.css +26 -23
  175. package/dist/terminal/style.css +26 -23
  176. package/dist/textarea/index.js +1 -1
  177. package/dist/textarea/style.css +41 -24
  178. package/dist/tiered-menu/index.js +1 -1
  179. package/dist/tiered-menu/style.css +26 -23
  180. package/dist/timeline/index.js +1 -1
  181. package/dist/timeline/style.css +26 -23
  182. package/dist/toast/index.js +1 -1
  183. package/dist/toast/style.css +26 -23
  184. package/dist/toggle-button/index.js +2 -2
  185. package/dist/toggle-button/style.css +26 -23
  186. package/dist/toolbar/style.css +26 -23
  187. package/dist/tooltip/style.css +26 -23
  188. package/dist/tree/index.js +1 -1
  189. package/dist/tree/style.css +26 -23
  190. package/dist/tree-select/index.js +1 -1
  191. package/dist/tree-select/style.css +27 -24
  192. package/dist/tree-table/index.js +1 -1
  193. package/dist/tree-table/style.css +26 -23
  194. package/dist/virtual-scroller/style.css +26 -23
  195. package/package.json +1 -1
  196. package/dist/Icon-DfpIfo2L.js +0 -521
@@ -373,6 +373,17 @@
373
373
  opacity: var(--m-opacity-disabled);
374
374
  }
375
375
 
376
+ .m-input-field__control--prefixed .m-input:disabled,
377
+ .m-input-field__control--suffixed .m-input:disabled,
378
+ .m-input-field__control--clearable .m-input:disabled,
379
+ .m-password--disabled .m-password__input,
380
+ .m-inputnumber--disabled .m-inputnumber__input,
381
+ .m-datepicker--disabled .m-datepicker__input,
382
+ .m-icon-field--anchored .m-input:disabled,
383
+ .m-icon-field--anchored .m-textarea:disabled {
384
+ opacity: 1;
385
+ }
386
+
376
387
  .m-input::placeholder,
377
388
  .m-textarea::placeholder,
378
389
  .m-password__input::placeholder,
@@ -692,14 +703,6 @@
692
703
  opacity: var(--m-opacity-disabled);
693
704
  }
694
705
 
695
- .m-icon-field--left :is(.m-input, .m-password__input, .m-inputnumber__input, input) {
696
- padding-left: var(--m-control-affix-padding);
697
- }
698
-
699
- .m-icon-field--right :is(.m-input, .m-password__input, .m-inputnumber__input, input) {
700
- padding-right: var(--m-control-affix-padding);
701
- }
702
-
703
706
  .m-inputgroup > .m-input,
704
707
  .m-inputgroup > .m-input-field,
705
708
  .m-inputgroup > .m-password-field,
@@ -718,16 +721,22 @@
718
721
 
719
722
  .m-inputgroup > .m-input,
720
723
  .m-inputgroup .m-input,
721
- .m-inputgroup .m-password__input,
722
- .m-inputgroup .m-inputnumber__input {
724
+ .m-inputgroup .m-password,
725
+ .m-inputgroup .m-inputnumber__input-wrap,
726
+ .m-inputgroup .m-input-field__control--prefixed,
727
+ .m-inputgroup .m-input-field__control--suffixed,
728
+ .m-inputgroup .m-input-field__control--clearable {
723
729
  border-radius: 0;
724
730
  width: 100%;
725
731
  }
726
732
 
727
733
  .m-inputgroup > :first-child.m-input,
728
734
  .m-inputgroup > :first-child .m-input,
729
- .m-inputgroup > :first-child .m-password__input,
730
- .m-inputgroup > :first-child .m-inputnumber__input,
735
+ .m-inputgroup > :first-child .m-password,
736
+ .m-inputgroup > :first-child .m-inputnumber__input-wrap,
737
+ .m-inputgroup > :first-child .m-input-field__control--prefixed,
738
+ .m-inputgroup > :first-child .m-input-field__control--suffixed,
739
+ .m-inputgroup > :first-child .m-input-field__control--clearable,
731
740
  .m-inputgroup > :first-child.m-inputgroup-addon {
732
741
  border-bottom-left-radius: var(--m-radius-control);
733
742
  border-top-left-radius: var(--m-radius-control);
@@ -735,8 +744,11 @@
735
744
 
736
745
  .m-inputgroup > :last-child.m-input,
737
746
  .m-inputgroup > :last-child .m-input,
738
- .m-inputgroup > :last-child .m-password__input,
739
- .m-inputgroup > :last-child .m-inputnumber__input,
747
+ .m-inputgroup > :last-child .m-password,
748
+ .m-inputgroup > :last-child .m-inputnumber__input-wrap,
749
+ .m-inputgroup > :last-child .m-input-field__control--prefixed,
750
+ .m-inputgroup > :last-child .m-input-field__control--suffixed,
751
+ .m-inputgroup > :last-child .m-input-field__control--clearable,
740
752
  .m-inputgroup > :last-child.m-inputgroup-addon {
741
753
  border-bottom-right-radius: var(--m-radius-control);
742
754
  border-top-right-radius: var(--m-radius-control);
@@ -887,9 +899,6 @@
887
899
  }
888
900
 
889
901
  /* Shared Naive-like hover/focus for remaining form triggers */
890
- .m-inputnumber__input:hover:not(:disabled):not(:focus),
891
- .m-password__input:hover:not(:disabled):not(:focus),
892
- .m-datepicker__input:hover:not(:disabled):not(:focus),
893
902
  .m-inputotp__input:hover:not(:disabled):not(:focus),
894
903
  .m-cascadeselect__trigger:hover:not(:disabled):not(:focus-visible),
895
904
  .m-treeselect__trigger:hover:not(:disabled):not(:focus-visible),
@@ -900,9 +909,6 @@
900
909
  border-color: var(--m-color-primary-hover);
901
910
  }
902
911
 
903
- .m-inputnumber__input:focus-visible,
904
- .m-password__input:focus-visible,
905
- .m-datepicker__input:focus-visible,
906
912
  .m-inputotp__input:focus-visible,
907
913
  .m-cascadeselect__trigger:focus-visible,
908
914
  .m-treeselect__trigger:focus-visible,
@@ -919,9 +925,6 @@
919
925
  outline: none;
920
926
  }
921
927
 
922
- .m-inputnumber--invalid .m-inputnumber__input:focus-visible,
923
- .m-password--invalid .m-password__input:focus-visible,
924
- .m-datepicker--invalid .m-datepicker__input:focus-visible,
925
928
  .m-inputotp--invalid .m-inputotp__input:focus-visible,
926
929
  .m-inputtags--invalid:focus-within,
927
930
  .m-inputcolor--invalid .m-inputcolor__text:focus-visible {
@@ -373,6 +373,17 @@
373
373
  opacity: var(--m-opacity-disabled);
374
374
  }
375
375
 
376
+ .m-input-field__control--prefixed .m-input:disabled,
377
+ .m-input-field__control--suffixed .m-input:disabled,
378
+ .m-input-field__control--clearable .m-input:disabled,
379
+ .m-password--disabled .m-password__input,
380
+ .m-inputnumber--disabled .m-inputnumber__input,
381
+ .m-datepicker--disabled .m-datepicker__input,
382
+ .m-icon-field--anchored .m-input:disabled,
383
+ .m-icon-field--anchored .m-textarea:disabled {
384
+ opacity: 1;
385
+ }
386
+
376
387
  .m-input::placeholder,
377
388
  .m-textarea::placeholder,
378
389
  .m-password__input::placeholder,
@@ -692,14 +703,6 @@
692
703
  opacity: var(--m-opacity-disabled);
693
704
  }
694
705
 
695
- .m-icon-field--left :is(.m-input, .m-password__input, .m-inputnumber__input, input) {
696
- padding-left: var(--m-control-affix-padding);
697
- }
698
-
699
- .m-icon-field--right :is(.m-input, .m-password__input, .m-inputnumber__input, input) {
700
- padding-right: var(--m-control-affix-padding);
701
- }
702
-
703
706
  .m-inputgroup > .m-input,
704
707
  .m-inputgroup > .m-input-field,
705
708
  .m-inputgroup > .m-password-field,
@@ -718,16 +721,22 @@
718
721
 
719
722
  .m-inputgroup > .m-input,
720
723
  .m-inputgroup .m-input,
721
- .m-inputgroup .m-password__input,
722
- .m-inputgroup .m-inputnumber__input {
724
+ .m-inputgroup .m-password,
725
+ .m-inputgroup .m-inputnumber__input-wrap,
726
+ .m-inputgroup .m-input-field__control--prefixed,
727
+ .m-inputgroup .m-input-field__control--suffixed,
728
+ .m-inputgroup .m-input-field__control--clearable {
723
729
  border-radius: 0;
724
730
  width: 100%;
725
731
  }
726
732
 
727
733
  .m-inputgroup > :first-child.m-input,
728
734
  .m-inputgroup > :first-child .m-input,
729
- .m-inputgroup > :first-child .m-password__input,
730
- .m-inputgroup > :first-child .m-inputnumber__input,
735
+ .m-inputgroup > :first-child .m-password,
736
+ .m-inputgroup > :first-child .m-inputnumber__input-wrap,
737
+ .m-inputgroup > :first-child .m-input-field__control--prefixed,
738
+ .m-inputgroup > :first-child .m-input-field__control--suffixed,
739
+ .m-inputgroup > :first-child .m-input-field__control--clearable,
731
740
  .m-inputgroup > :first-child.m-inputgroup-addon {
732
741
  border-bottom-left-radius: var(--m-radius-control);
733
742
  border-top-left-radius: var(--m-radius-control);
@@ -735,8 +744,11 @@
735
744
 
736
745
  .m-inputgroup > :last-child.m-input,
737
746
  .m-inputgroup > :last-child .m-input,
738
- .m-inputgroup > :last-child .m-password__input,
739
- .m-inputgroup > :last-child .m-inputnumber__input,
747
+ .m-inputgroup > :last-child .m-password,
748
+ .m-inputgroup > :last-child .m-inputnumber__input-wrap,
749
+ .m-inputgroup > :last-child .m-input-field__control--prefixed,
750
+ .m-inputgroup > :last-child .m-input-field__control--suffixed,
751
+ .m-inputgroup > :last-child .m-input-field__control--clearable,
740
752
  .m-inputgroup > :last-child.m-inputgroup-addon {
741
753
  border-bottom-right-radius: var(--m-radius-control);
742
754
  border-top-right-radius: var(--m-radius-control);
@@ -887,9 +899,6 @@
887
899
  }
888
900
 
889
901
  /* Shared Naive-like hover/focus for remaining form triggers */
890
- .m-inputnumber__input:hover:not(:disabled):not(:focus),
891
- .m-password__input:hover:not(:disabled):not(:focus),
892
- .m-datepicker__input:hover:not(:disabled):not(:focus),
893
902
  .m-inputotp__input:hover:not(:disabled):not(:focus),
894
903
  .m-cascadeselect__trigger:hover:not(:disabled):not(:focus-visible),
895
904
  .m-treeselect__trigger:hover:not(:disabled):not(:focus-visible),
@@ -900,9 +909,6 @@
900
909
  border-color: var(--m-color-primary-hover);
901
910
  }
902
911
 
903
- .m-inputnumber__input:focus-visible,
904
- .m-password__input:focus-visible,
905
- .m-datepicker__input:focus-visible,
906
912
  .m-inputotp__input:focus-visible,
907
913
  .m-cascadeselect__trigger:focus-visible,
908
914
  .m-treeselect__trigger:focus-visible,
@@ -919,9 +925,6 @@
919
925
  outline: none;
920
926
  }
921
927
 
922
- .m-inputnumber--invalid .m-inputnumber__input:focus-visible,
923
- .m-password--invalid .m-password__input:focus-visible,
924
- .m-datepicker--invalid .m-datepicker__input:focus-visible,
925
928
  .m-inputotp--invalid .m-inputotp__input:focus-visible,
926
929
  .m-inputtags--invalid:focus-within,
927
930
  .m-inputcolor--invalid .m-inputcolor__text:focus-visible {
@@ -373,6 +373,17 @@
373
373
  opacity: var(--m-opacity-disabled);
374
374
  }
375
375
 
376
+ .m-input-field__control--prefixed .m-input:disabled,
377
+ .m-input-field__control--suffixed .m-input:disabled,
378
+ .m-input-field__control--clearable .m-input:disabled,
379
+ .m-password--disabled .m-password__input,
380
+ .m-inputnumber--disabled .m-inputnumber__input,
381
+ .m-datepicker--disabled .m-datepicker__input,
382
+ .m-icon-field--anchored .m-input:disabled,
383
+ .m-icon-field--anchored .m-textarea:disabled {
384
+ opacity: 1;
385
+ }
386
+
376
387
  .m-input::placeholder,
377
388
  .m-textarea::placeholder,
378
389
  .m-password__input::placeholder,
@@ -692,14 +703,6 @@
692
703
  opacity: var(--m-opacity-disabled);
693
704
  }
694
705
 
695
- .m-icon-field--left :is(.m-input, .m-password__input, .m-inputnumber__input, input) {
696
- padding-left: var(--m-control-affix-padding);
697
- }
698
-
699
- .m-icon-field--right :is(.m-input, .m-password__input, .m-inputnumber__input, input) {
700
- padding-right: var(--m-control-affix-padding);
701
- }
702
-
703
706
  .m-inputgroup > .m-input,
704
707
  .m-inputgroup > .m-input-field,
705
708
  .m-inputgroup > .m-password-field,
@@ -718,16 +721,22 @@
718
721
 
719
722
  .m-inputgroup > .m-input,
720
723
  .m-inputgroup .m-input,
721
- .m-inputgroup .m-password__input,
722
- .m-inputgroup .m-inputnumber__input {
724
+ .m-inputgroup .m-password,
725
+ .m-inputgroup .m-inputnumber__input-wrap,
726
+ .m-inputgroup .m-input-field__control--prefixed,
727
+ .m-inputgroup .m-input-field__control--suffixed,
728
+ .m-inputgroup .m-input-field__control--clearable {
723
729
  border-radius: 0;
724
730
  width: 100%;
725
731
  }
726
732
 
727
733
  .m-inputgroup > :first-child.m-input,
728
734
  .m-inputgroup > :first-child .m-input,
729
- .m-inputgroup > :first-child .m-password__input,
730
- .m-inputgroup > :first-child .m-inputnumber__input,
735
+ .m-inputgroup > :first-child .m-password,
736
+ .m-inputgroup > :first-child .m-inputnumber__input-wrap,
737
+ .m-inputgroup > :first-child .m-input-field__control--prefixed,
738
+ .m-inputgroup > :first-child .m-input-field__control--suffixed,
739
+ .m-inputgroup > :first-child .m-input-field__control--clearable,
731
740
  .m-inputgroup > :first-child.m-inputgroup-addon {
732
741
  border-bottom-left-radius: var(--m-radius-control);
733
742
  border-top-left-radius: var(--m-radius-control);
@@ -735,8 +744,11 @@
735
744
 
736
745
  .m-inputgroup > :last-child.m-input,
737
746
  .m-inputgroup > :last-child .m-input,
738
- .m-inputgroup > :last-child .m-password__input,
739
- .m-inputgroup > :last-child .m-inputnumber__input,
747
+ .m-inputgroup > :last-child .m-password,
748
+ .m-inputgroup > :last-child .m-inputnumber__input-wrap,
749
+ .m-inputgroup > :last-child .m-input-field__control--prefixed,
750
+ .m-inputgroup > :last-child .m-input-field__control--suffixed,
751
+ .m-inputgroup > :last-child .m-input-field__control--clearable,
740
752
  .m-inputgroup > :last-child.m-inputgroup-addon {
741
753
  border-bottom-right-radius: var(--m-radius-control);
742
754
  border-top-right-radius: var(--m-radius-control);
@@ -887,9 +899,6 @@
887
899
  }
888
900
 
889
901
  /* Shared Naive-like hover/focus for remaining form triggers */
890
- .m-inputnumber__input:hover:not(:disabled):not(:focus),
891
- .m-password__input:hover:not(:disabled):not(:focus),
892
- .m-datepicker__input:hover:not(:disabled):not(:focus),
893
902
  .m-inputotp__input:hover:not(:disabled):not(:focus),
894
903
  .m-cascadeselect__trigger:hover:not(:disabled):not(:focus-visible),
895
904
  .m-treeselect__trigger:hover:not(:disabled):not(:focus-visible),
@@ -900,9 +909,6 @@
900
909
  border-color: var(--m-color-primary-hover);
901
910
  }
902
911
 
903
- .m-inputnumber__input:focus-visible,
904
- .m-password__input:focus-visible,
905
- .m-datepicker__input:focus-visible,
906
912
  .m-inputotp__input:focus-visible,
907
913
  .m-cascadeselect__trigger:focus-visible,
908
914
  .m-treeselect__trigger:focus-visible,
@@ -919,9 +925,6 @@
919
925
  outline: none;
920
926
  }
921
927
 
922
- .m-inputnumber--invalid .m-inputnumber__input:focus-visible,
923
- .m-password--invalid .m-password__input:focus-visible,
924
- .m-datepicker--invalid .m-datepicker__input:focus-visible,
925
928
  .m-inputotp--invalid .m-inputotp__input:focus-visible,
926
929
  .m-inputtags--invalid:focus-within,
927
930
  .m-inputcolor--invalid .m-inputcolor__text:focus-visible {
@@ -1,5 +1,5 @@
1
1
  import { r as e } from "../useComponentAttrs-BTYEe61P.js";
2
- import { t } from "../Icon-DfpIfo2L.js";
2
+ import { t } from "../Icon-B6IBrJ5S.js";
3
3
  import { t as n } from "../Scrollbar-BYnCO8fv.js";
4
4
  import { r, t as i } from "../responsive-DA5bxylA.js";
5
5
  import { n as a } from "../locale-B36KH7c3.js";
@@ -199,10 +199,11 @@ function M(e, t) {
199
199
  }
200
200
  function N(e) {
201
201
  return o(() => {
202
- let t = x(e), n = {
203
- padding: M(t.padding, "var(--m-layout-padding, var(--m-space-4))"),
204
- borderRadius: M(t.radius, "var(--m-layout-radius, 0)")
205
- };
202
+ let t = x(e), n = { borderRadius: M(t.radius, "var(--m-layout-radius, 0)") };
203
+ if (t.padding != null) {
204
+ let e = r(t.padding);
205
+ e && (n.padding = e);
206
+ } else t.applyDefaultPadding !== !1 && (n.padding = "var(--m-layout-padding, var(--m-space-4))");
206
207
  if (t.heightFallback != null) n.height = M(t.height, t.heightFallback);
207
208
  else if (t.height != null) {
208
209
  let e = r(t.height);
@@ -226,36 +227,24 @@ var P = /* @__PURE__ */ f({
226
227
  type: Boolean,
227
228
  default: !1
228
229
  },
229
- position: { default: "static" },
230
- contentClass: {},
231
- contentStyle: {}
230
+ position: { default: "static" }
232
231
  },
233
- emits: ["scroll"],
234
- setup(t, { expose: n, emit: r }) {
235
- let i = t, a = r, s = C(), { rootAttrs: c } = e(s, () => i.pt), u = y(), f = N(() => ({
236
- height: i.height,
237
- padding: i.padding,
238
- radius: i.radius
239
- })), p = o(() => [
232
+ setup(t) {
233
+ let n = t, r = C(), { rootAttrs: i } = e(r, () => n.pt), a = N(() => ({
234
+ height: n.height,
235
+ padding: n.padding,
236
+ radius: n.radius,
237
+ applyDefaultPadding: !1
238
+ })), s = o(() => [
240
239
  "m-layout",
241
240
  "m-layout-content",
242
- `m-layout--${i.position}-positioned`,
243
- { "m-layout--embedded": i.embedded }
244
- ]), h = o(() => ["m-layout__scroll", i.contentClass]), g = o(() => i.contentStyle);
245
- return n({ scrollTo: ((...e) => u.value?.scrollTo(...e)) }), (e, t) => (_(), l("main", m(S(c), {
246
- class: p.value,
247
- style: S(f)
248
- }), [d(A, {
249
- ref_key: "scrollRegionRef",
250
- ref: u,
251
- "scrollbar-root-class": "m-layout__scrollbar",
252
- "scroll-class": h.value,
253
- "scroll-style": g.value,
254
- onScroll: t[0] ||= (e) => a("scroll", e)
255
- }, {
256
- default: T(() => [b(e.$slots, "default")]),
257
- _: 3
258
- }, 8, ["scroll-class", "scroll-style"])], 16));
241
+ `m-layout--${n.position}-positioned`,
242
+ { "m-layout--embedded": n.embedded }
243
+ ]);
244
+ return (e, t) => (_(), l("main", m(S(i), {
245
+ class: s.value,
246
+ style: S(a)
247
+ }), [b(e.$slots, "default")], 16));
259
248
  }
260
249
  }), F = /* @__PURE__ */ f({
261
250
  name: "MLayoutFooter",
@@ -407,76 +396,64 @@ var z = ["aria-expanded", "aria-label"], B = {
407
396
  triggerClass: {},
408
397
  triggerStyle: {},
409
398
  collapsedTriggerClass: {},
410
- collapsedTriggerStyle: {},
411
- contentClass: {},
412
- contentStyle: {}
399
+ collapsedTriggerStyle: {}
413
400
  },
414
401
  emits: [
415
402
  "update:collapsed",
416
403
  "collapse",
417
404
  "expand",
418
405
  "after-enter",
419
- "after-leave",
420
- "scroll"
406
+ "after-leave"
421
407
  ],
422
- setup(n, { expose: s, emit: f }) {
423
- let v = n, x = f, w = C(), { rootAttrs: D } = e(w, () => v.pt), O = a(), k = p(E, null), j = y(), { mergedCollapsed: M, toggle: N } = L(v, x), P = o(() => k?.siderPlacement ?? "left"), F = o(() => r(v.width)), I = o(() => r(v.collapsedWidth)), U = o(() => F.value ?? "var(--m-layout-sider-width)"), W = o(() => I.value ?? "var(--m-layout-sider-collapsed-width)"), G = o(() => M.value ? W.value : U.value), K = o(() => R(v.showTrigger)), q = o(() => !M.value || v.showCollapsedContent), J = o(() => [
408
+ setup(n, { emit: s }) {
409
+ let f = n, v = s, y = C(), { rootAttrs: x } = e(y, () => f.pt), w = a(), T = p(E, null), { mergedCollapsed: D, toggle: O } = L(f, v), k = o(() => T?.siderPlacement ?? "left"), A = o(() => r(f.width)), j = o(() => r(f.collapsedWidth)), M = o(() => A.value ?? "var(--m-layout-sider-width)"), N = o(() => j.value ?? "var(--m-layout-sider-collapsed-width)"), P = o(() => D.value ? N.value : M.value), F = o(() => R(f.showTrigger)), I = o(() => !D.value || f.showCollapsedContent), U = o(() => [
424
410
  "m-layout-sider",
425
- `m-layout-sider--${v.position}-positioned`,
426
- `m-layout-sider--${P.value}-placement`,
427
- `m-layout-sider--collapse-${v.collapseMode}`,
411
+ `m-layout-sider--${f.position}-positioned`,
412
+ `m-layout-sider--${k.value}-placement`,
413
+ `m-layout-sider--collapse-${f.collapseMode}`,
428
414
  {
429
- "m-layout-sider--bordered": v.bordered,
430
- "m-layout-sider--inverted": v.inverted,
431
- "m-layout-sider--collapsed": M.value,
432
- "m-layout-sider--show-content": q.value
415
+ "m-layout-sider--bordered": f.bordered,
416
+ "m-layout-sider--inverted": f.inverted,
417
+ "m-layout-sider--collapsed": D.value,
418
+ "m-layout-sider--show-content": I.value
433
419
  }
434
- ]), Y = o(() => {
435
- let e = v.collapseMode === "width", t = {
420
+ ]), W = o(() => {
421
+ let e = f.collapseMode === "width", t = {
436
422
  minWidth: "0",
437
- borderRadius: v.radius == null ? "var(--m-layout-radius, 0)" : r(v.radius),
438
- width: e ? G.value : U.value,
439
- maxWidth: G.value
423
+ borderRadius: f.radius == null ? "var(--m-layout-radius, 0)" : r(f.radius),
424
+ width: e ? P.value : M.value,
425
+ maxWidth: P.value
440
426
  };
441
- return F.value && !i(F.value, "--m-layout-sider-width") && (t["--m-layout-sider-width"] = F.value), I.value && !i(I.value, "--m-layout-sider-collapsed-width") && (t["--m-layout-sider-collapsed-width"] = I.value), t;
442
- }), X = o(() => v.padding == null ? "var(--m-layout-padding, var(--m-space-4))" : r(v.padding)), Z = o(() => {
443
- let e = { padding: X.value };
444
- return v.contentStyle == null ? e : [e, v.contentStyle];
445
- }), Q = o(() => ["m-layout-sider__scroll", v.contentClass]), $ = o(() => M.value ? v.collapsedTriggerClass : v.triggerClass), ee = o(() => M.value ? v.collapsedTriggerStyle : v.triggerStyle);
446
- function te(e) {
447
- e.propertyName === "max-width" && (M.value ? x("after-leave") : x("after-enter"));
427
+ if (f.padding != null) {
428
+ let e = r(f.padding);
429
+ e && (t.padding = e);
430
+ }
431
+ return A.value && !i(A.value, "--m-layout-sider-width") && (t["--m-layout-sider-width"] = A.value), j.value && !i(j.value, "--m-layout-sider-collapsed-width") && (t["--m-layout-sider-collapsed-width"] = j.value), t;
432
+ }), G = o(() => D.value ? f.collapsedTriggerClass : f.triggerClass), K = o(() => D.value ? f.collapsedTriggerStyle : f.triggerStyle);
433
+ function q(e) {
434
+ e.propertyName === "max-width" && (D.value ? v("after-leave") : v("after-enter"));
448
435
  }
449
- return s({ scrollTo: ((...e) => j.value?.scrollTo(...e)) }), (e, r) => (_(), l("aside", m(S(D), {
450
- class: J.value,
451
- style: Y.value,
452
- onTransitionend: te
436
+ return (e, r) => (_(), l("aside", m(S(x), {
437
+ class: U.value,
438
+ style: W.value,
439
+ onTransitionend: q
453
440
  }), [
454
- d(A, {
455
- ref_key: "scrollRegionRef",
456
- ref: j,
457
- "scrollbar-root-class": "m-layout-sider__scrollbar",
458
- "scroll-class": Q.value,
459
- "scroll-style": Z.value,
460
- onScroll: r[0] ||= (e) => x("scroll", e)
461
- }, {
462
- default: T(() => [b(e.$slots, "default")]),
463
- _: 3
464
- }, 8, ["scroll-class", "scroll-style"]),
465
- K.value ? (_(), l("button", {
441
+ b(e.$slots, "default"),
442
+ F.value ? (_(), l("button", {
466
443
  key: 0,
467
444
  type: "button",
468
- class: h(["m-layout-sider__trigger", [$.value, {
469
- "m-layout-sider__trigger--bar": K.value === "bar",
470
- "m-layout-sider__trigger--arrow-circle": K.value === "arrow-circle"
445
+ class: h(["m-layout-sider__trigger", [G.value, {
446
+ "m-layout-sider__trigger--bar": F.value === "bar",
447
+ "m-layout-sider__trigger--arrow-circle": F.value === "arrow-circle"
471
448
  }]]),
472
- style: g(ee.value),
473
- "aria-expanded": !S(M),
474
- "aria-label": S(M) ? S(O).expand : S(O).collapse,
475
- onClick: r[1] ||= (...e) => S(N) && S(N)(...e)
476
- }, [K.value === "arrow-circle" ? (_(), l("span", B, [d(t, {
449
+ style: g(K.value),
450
+ "aria-expanded": !S(D),
451
+ "aria-label": S(D) ? S(w).expand : S(w).collapse,
452
+ onClick: r[0] ||= (...e) => S(O) && S(O)(...e)
453
+ }, [F.value === "arrow-circle" ? (_(), l("span", B, [d(t, {
477
454
  name: "chevron-right",
478
455
  size: "sm"
479
- })])) : (_(), l("span", V, [...r[2] ||= [u("i", { class: "m-layout-sider__bar-top" }, null, -1), u("i", { class: "m-layout-sider__bar-bottom" }, null, -1)]]))], 14, z)) : c("", !0),
456
+ })])) : (_(), l("span", V, [...r[1] ||= [u("i", { class: "m-layout-sider__bar-top" }, null, -1), u("i", { class: "m-layout-sider__bar-bottom" }, null, -1)]]))], 14, z)) : c("", !0),
480
457
  n.bordered ? (_(), l("div", H)) : c("", !0)
481
458
  ], 16));
482
459
  }