@para-ui/core 3.0.0 → 3.0.2

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 (122) hide show
  1. package/AutoBox/index.js +180 -68
  2. package/AutoBox/protal.d.ts +17 -0
  3. package/AutoTips/index.js +4 -3
  4. package/Breadcrumbs/index.js +10 -7
  5. package/Button/index.d.ts +8 -0
  6. package/Button/index.js +77 -37
  7. package/ButtonGroup/index.js +3 -2
  8. package/Carousel/index.js +7 -5
  9. package/Cascader/index.d.ts +3 -1
  10. package/Cascader/index.js +13 -5
  11. package/Checkbox/index.js +27 -8
  12. package/CheckboxGroup/index.d.ts +2 -5
  13. package/CheckboxGroup/index.js +13 -10
  14. package/Collapse/index.js +11 -10
  15. package/CollapseBox/index.js +7 -6
  16. package/ComboSelect/index.js +266 -93
  17. package/ComboSelect/interface.d.ts +12 -9
  18. package/ComboSelect/lang/en_US.d.ts +1 -0
  19. package/ComboSelect/lang/index.d.ts +2 -0
  20. package/ComboSelect/lang/zh_CN.d.ts +1 -0
  21. package/Container/index.js +27 -31
  22. package/DatePicker/index.js +12 -17
  23. package/DatePicker/util.d.ts +0 -1
  24. package/Desktop/index.js +6 -5
  25. package/Drawer/index.js +10 -9
  26. package/Dropdown/index.js +59 -6
  27. package/Empty/index.js +7 -6
  28. package/Form/index.js +6 -5
  29. package/FormItem/compoments/formFile/index.d.ts +16 -16
  30. package/FormItem/index.d.ts +19 -19
  31. package/FormItem/index.js +3 -2
  32. package/FunctionModal/index.js +3 -2
  33. package/GlobalContext/componentsProps.d.ts +2 -0
  34. package/GlobalContext/constant.d.ts +8 -0
  35. package/Help/index.js +3 -2
  36. package/HelperText/index.d.ts +9 -5
  37. package/HelperText/index.js +9 -4
  38. package/InputLang/index.d.ts +2 -5
  39. package/InputLang/index.js +13 -7
  40. package/InputNumber/index.d.ts +2 -5
  41. package/InputNumber/index.js +15 -12
  42. package/Label/index.d.ts +2 -0
  43. package/Label/index.js +12 -8
  44. package/Loading/index.js +5 -4
  45. package/Menu/index.js +18 -17
  46. package/Message/index.js +5 -4
  47. package/Modal/index.js +28 -26
  48. package/MultiBox/index.d.ts +2 -5
  49. package/MultiBox/index.js +13 -6
  50. package/Notification/index.js +3 -2
  51. package/OperateBtn/index.js +15 -12
  52. package/PageHeader/index.js +22 -23
  53. package/Pagination/index.js +10 -4
  54. package/ParauiProvider/index.js +1 -1
  55. package/PopConfirm/index.d.ts +2 -0
  56. package/PopConfirm/index.js +3 -2
  57. package/Popover/index.js +7 -4
  58. package/Progress/index.d.ts +2 -0
  59. package/Progress/index.js +13 -9
  60. package/Querying/index.js +6 -5
  61. package/README.md +32 -1
  62. package/Radio/index.js +22 -8
  63. package/RadioGroup/index.d.ts +2 -5
  64. package/RadioGroup/index.js +10 -7
  65. package/Search/index.js +13 -8
  66. package/Select/index.d.ts +4 -5
  67. package/Select/index.js +27 -22
  68. package/SelectInput/index.js +3 -2
  69. package/Selector/index.d.ts +3 -19
  70. package/Selector/index.js +2102 -213
  71. package/Selector/interface.d.ts +365 -0
  72. package/Selector/lang/en_US.d.ts +9 -0
  73. package/Selector/lang/index.d.ts +17 -0
  74. package/Selector/lang/zh_CN.d.ts +9 -0
  75. package/Selector/selectorData/index.d.ts +10 -0
  76. package/Selector/selectorMain/index.d.ts +2 -9
  77. package/Selector/selectorNode/index.d.ts +10 -0
  78. package/Selector/util.d.ts +15 -0
  79. package/SelectorPicker/index.d.ts +46 -0
  80. package/SelectorPicker/index.js +319 -0
  81. package/SingleBox/index.d.ts +2 -5
  82. package/SingleBox/index.js +11 -6
  83. package/Slider/index.d.ts +4 -4
  84. package/Slider/index.js +9 -4
  85. package/Split/index.js +8 -7
  86. package/Stepper/index.js +7 -3
  87. package/Switch/index.js +10 -12
  88. package/Table/index.js +542 -313
  89. package/Table/interface.d.ts +43 -1
  90. package/Table/tableElement/index.d.ts +2 -2
  91. package/Table/util.d.ts +13 -1
  92. package/Tabs/index.js +7 -6
  93. package/Tag/index.js +12 -14
  94. package/TextField/index.d.ts +4 -5
  95. package/TextField/index.js +23 -20
  96. package/TimePicker/index.js +1 -0
  97. package/Timeline/index.js +13 -12
  98. package/Title/index.d.ts +30 -0
  99. package/Title/index.js +49 -0
  100. package/ToggleButton/index.js +13 -13
  101. package/Tooltip/index.js +51 -11
  102. package/Tooltip/interface.d.ts +2 -0
  103. package/Transfer/index.d.ts +6 -2
  104. package/Transfer/index.js +8 -4
  105. package/Tree/index.js +3 -2
  106. package/Tree/interface.d.ts +0 -2
  107. package/Tree/utils/tools.d.ts +0 -1
  108. package/Upload/ImgCrop/EasyCrop.d.ts +1 -1
  109. package/Upload/ImgCrop/constants.d.ts +1 -1
  110. package/Upload/ImgCrop/interface.d.ts +5 -0
  111. package/Upload/index.js +56 -45
  112. package/_verture/constant-bf34e6fa.js +11 -0
  113. package/_verture/{index-3d26f6a5.js → index-cc4c83b8.js} +63 -31
  114. package/_verture/{index-ce3860a0.js → index-cf5bf211.js} +30 -21
  115. package/_verture/{modalContext-fc19f4ae.js → modalContext-95c3fc87.js} +0 -0
  116. package/index.d.ts +4 -0
  117. package/index.js +10 -6
  118. package/package.json +8 -5
  119. package/Selector/branchNode/index.d.ts +0 -32
  120. package/Selector/leafNode/index.d.ts +0 -34
  121. package/Selector/selectorRight/index.d.ts +0 -16
  122. package/Selector/selectorTop/index.d.ts +0 -16
@@ -7,7 +7,7 @@ import { i as i18nIntl } from '../_verture/intl-336570e4.js';
7
7
  import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
8
8
  import '../_verture/typeof-498dd2b1.js';
9
9
 
10
- var css_248z = "@charset \"UTF-8\";\n/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */\n/* Document\n ========================================================================== */\n/**\n * 1. Correct the line height in all browsers.\n * 2. Prevent adjustments of font size after orientation changes in iOS.\n */\nhtml {\n -webkit-text-size-adjust: 100%; /* 2 */\n}\n\n/* Sections\n ========================================================================== */\n/**\n * Remove the margin in all browsers.\n */\nbody {\n margin: 0;\n}\n\n/**\n * Render the `main` element consistently in IE.\n */\nmain {\n display: block;\n}\n\n/**\n * Correct the font size and margin on `h1` elements within `section` and\n * `article` contexts in Chrome, Firefox, and Safari.\n */\nh1 {\n font-size: 2em;\n margin: 0.67em 0;\n}\n\n/* Grouping content\n ========================================================================== */\n/**\n * 1. Add the correct box sizing in Firefox.\n * 2. Show the overflow in Edge and IE.\n */\nhr {\n box-sizing: content-box; /* 1 */\n height: 0; /* 1 */\n overflow: visible; /* 2 */\n}\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\npre {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/* Text-level semantics\n ========================================================================== */\n/**\n * Remove the gray background on active links in IE 10.\n */\na {\n background-color: transparent;\n}\n\n/**\n * 1. Remove the bottom border in Chrome 57-\n * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.\n */\nabbr[title] {\n border-bottom: none; /* 1 */\n text-decoration: underline; /* 2 */\n text-decoration: underline dotted; /* 2 */\n}\n\n/**\n * Add the correct font weight in Chrome, Edge, and Safari.\n */\nb,\nstrong {\n font-weight: bolder;\n}\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\ncode,\nkbd,\nsamp {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/**\n * Add the correct font size in all browsers.\n */\nsmall {\n font-size: 80%;\n}\n\n/**\n * Prevent `sub` and `sup` elements from affecting the line height in\n * all browsers.\n */\nsub,\nsup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\n\nsub {\n bottom: -0.25em;\n}\n\nsup {\n top: -0.5em;\n}\n\n/* Embedded content\n ========================================================================== */\n/**\n * Remove the border on images inside links in IE 10.\n */\nimg {\n border-style: none;\n}\n\n/* Forms\n ========================================================================== */\n/**\n * 1. Change the font styles in all browsers.\n * 2. Remove the margin in Firefox and Safari.\n */\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n font-family: inherit; /* 1 */\n font-size: 100%; /* 1 */\n line-height: 1.15; /* 1 */\n margin: 0; /* 2 */\n}\n\n/**\n * Show the overflow in IE.\n * 1. Show the overflow in Edge.\n */\nbutton,\ninput { /* 1 */\n overflow: visible;\n}\n\n/**\n * Remove the inheritance of text transform in Edge, Firefox, and IE.\n * 1. Remove the inheritance of text transform in Firefox.\n */\nbutton,\nselect { /* 1 */\n text-transform: none;\n}\n\n/**\n * Correct the inability to style clickable types in iOS and Safari.\n */\nbutton,\n[type=button],\n[type=reset],\n[type=submit] {\n -webkit-appearance: button;\n}\n\n/**\n * Remove the inner border and padding in Firefox.\n */\nbutton::-moz-focus-inner,\n[type=button]::-moz-focus-inner,\n[type=reset]::-moz-focus-inner,\n[type=submit]::-moz-focus-inner {\n border-style: none;\n padding: 0;\n}\n\n/**\n * Restore the focus styles unset by the previous rule.\n */\nbutton:-moz-focusring,\n[type=button]:-moz-focusring,\n[type=reset]:-moz-focusring,\n[type=submit]:-moz-focusring {\n outline: 1px dotted ButtonText;\n}\n\n/**\n * Correct the padding in Firefox.\n */\nfieldset {\n padding: 0.35em 0.75em 0.625em;\n}\n\n/**\n * 1. Correct the text wrapping in Edge and IE.\n * 2. Correct the color inheritance from `fieldset` elements in IE.\n * 3. Remove the padding so developers are not caught out when they zero out\n * `fieldset` elements in all browsers.\n */\nlegend {\n box-sizing: border-box; /* 1 */\n color: inherit; /* 2 */\n display: table; /* 1 */\n max-width: 100%; /* 1 */\n padding: 0; /* 3 */\n white-space: normal; /* 1 */\n}\n\n/**\n * Add the correct vertical alignment in Chrome, Firefox, and Opera.\n */\nprogress {\n vertical-align: baseline;\n}\n\n/**\n * Remove the default vertical scrollbar in IE 10+.\n */\ntextarea {\n overflow: auto;\n}\n\n/**\n * 1. Add the correct box sizing in IE 10.\n * 2. Remove the padding in IE 10.\n */\n[type=checkbox],\n[type=radio] {\n box-sizing: border-box; /* 1 */\n padding: 0; /* 2 */\n}\n\n/**\n * Correct the cursor style of increment and decrement buttons in Chrome.\n */\n[type=number]::-webkit-inner-spin-button,\n[type=number]::-webkit-outer-spin-button {\n height: auto;\n}\n\n/**\n * 1. Correct the odd appearance in Chrome and Safari.\n * 2. Correct the outline style in Safari.\n */\n[type=search] {\n -webkit-appearance: textfield; /* 1 */\n outline-offset: -2px; /* 2 */\n}\n\n/**\n * Remove the inner padding in Chrome and Safari on macOS.\n */\n[type=search]::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n/**\n * 1. Correct the inability to style clickable types in iOS and Safari.\n * 2. Change font properties to `inherit` in Safari.\n */\n::-webkit-file-upload-button {\n -webkit-appearance: button; /* 1 */\n font: inherit; /* 2 */\n}\n\n/* Interactive\n ========================================================================== */\n/*\n * Add the correct display in Edge, IE 10+, and Firefox.\n */\ndetails {\n display: block;\n}\n\n/*\n * Add the correct display in all browsers.\n */\nsummary {\n display: list-item;\n}\n\n/* Misc\n ========================================================================== */\n/**\n * Add the correct display in IE 10+.\n */\ntemplate {\n display: none;\n}\n\n/**\n * Add the correct display in IE 10.\n */\n[hidden] {\n display: none;\n}\n\n/**\n* @author Hanz\n* @date 2021/10/20 下午2:08\n* @description color\n*/\n::-webkit-scrollbar {\n width: 6px;\n height: 6px;\n background-color: rgba(171, 176, 185, 0.12);\n}\n\n::-webkit-scrollbar-track {\n border-radius: 6px;\n}\n\n::-webkit-scrollbar-thumb {\n background: rgba(46, 55, 67, 0.4);\n border-radius: 6px;\n}\n\n::-webkit-scrollbar-corner {\n background: rgb(236, 238, 240);\n}\n\n::-webkit-scrollbar-thumb:hover {\n background: rgba(171, 176, 185, 0.4);\n}\n\n::-webkit-scrollbar-thumb:active {\n background: rgba(171, 176, 185, 0.4);\n}\n\n::-webkit-scrollbar-thumb:window-inactive {\n background-color: rgba(46, 55, 67, 0.4);\n}\n\n.paraui-scrollbar-small *::-webkit-scrollbar, .paraui-scrollbar-small::-webkit-scrollbar {\n width: 4px;\n height: 4px;\n}\n.paraui-scrollbar-small *::-webkit-scrollbar-track, .paraui-scrollbar-small::-webkit-scrollbar-track {\n border-radius: 4px;\n}\n.paraui-scrollbar-small *::-webkit-scrollbar-thumb, .paraui-scrollbar-small::-webkit-scrollbar-thumb {\n border-radius: 4px;\n}\n\n.paraui-scrollbar-small-deep * ::-webkit-scrollbar, .paraui-scrollbar-small-deep ::-webkit-scrollbar {\n width: 4px;\n height: 4px;\n background-color: rgba(171, 176, 185, 0.2);\n}\n.paraui-scrollbar-small-deep * ::-webkit-scrollbar-track, .paraui-scrollbar-small-deep ::-webkit-scrollbar-track {\n border-radius: 4px;\n}\n.paraui-scrollbar-small-deep * ::-webkit-scrollbar-thumb, .paraui-scrollbar-small-deep ::-webkit-scrollbar-thumb {\n border-radius: 4px;\n background: rgba(248, 249, 251, 0.8);\n}\n.paraui-scrollbar-small-deep * ::-webkit-scrollbar-corner, .paraui-scrollbar-small-deep ::-webkit-scrollbar-corner {\n background: rgb(79, 89, 105);\n}\n.paraui-scrollbar-small-deep * ::-webkit-scrollbar-thumb:hover, .paraui-scrollbar-small-deep ::-webkit-scrollbar-thumb:hover {\n background: rgba(171, 176, 185, 0.4);\n}\n.paraui-scrollbar-small-deep * ::-webkit-scrollbar-thumb:active, .paraui-scrollbar-small-deep ::-webkit-scrollbar-thumb:active {\n background: rgba(171, 176, 185, 0.4);\n}\n.paraui-scrollbar-small-deep * ::-webkit-scrollbar-thumb:window-inactive, .paraui-scrollbar-small-deep ::-webkit-scrollbar-thumb:window-inactive {\n background-color: rgba(248, 249, 251, 0.8);\n}\n\n.paraui-scrollbar-medium *::-webkit-scrollbar, .paraui-scrollbar-medium::-webkit-scrollbar {\n width: 6px;\n height: 6px;\n}\n.paraui-scrollbar-medium *::-webkit-scrollbar-track, .paraui-scrollbar-medium::-webkit-scrollbar-track {\n border-radius: 6px;\n}\n.paraui-scrollbar-medium *::-webkit-scrollbar-thumb, .paraui-scrollbar-medium::-webkit-scrollbar-thumb {\n border-radius: 6px;\n}\n\n.paraui-scrollbar-medium-deep * ::-webkit-scrollbar, .paraui-scrollbar-medium-deep ::-webkit-scrollbar {\n width: 6px;\n height: 6px;\n background-color: rgba(171, 176, 185, 0.2);\n}\n.paraui-scrollbar-medium-deep * ::-webkit-scrollbar-track, .paraui-scrollbar-medium-deep ::-webkit-scrollbar-track {\n border-radius: 6px;\n}\n.paraui-scrollbar-medium-deep * ::-webkit-scrollbar-thumb, .paraui-scrollbar-medium-deep ::-webkit-scrollbar-thumb {\n border-radius: 6px;\n background: rgba(248, 249, 251, 0.8);\n}\n.paraui-scrollbar-medium-deep * ::-webkit-scrollbar-corner, .paraui-scrollbar-medium-deep ::-webkit-scrollbar-corner {\n background: rgb(79, 89, 105);\n}\n.paraui-scrollbar-medium-deep * ::-webkit-scrollbar-thumb:hover, .paraui-scrollbar-medium-deep ::-webkit-scrollbar-thumb:hover {\n background: rgba(171, 176, 185, 0.4);\n}\n.paraui-scrollbar-medium-deep * ::-webkit-scrollbar-thumb:active, .paraui-scrollbar-medium-deep ::-webkit-scrollbar-thumb:active {\n background: rgba(171, 176, 185, 0.4);\n}\n.paraui-scrollbar-medium-deep * ::-webkit-scrollbar-thumb:window-inactive, .paraui-scrollbar-medium-deep ::-webkit-scrollbar-thumb:window-inactive {\n background-color: rgba(248, 249, 251, 0.8);\n}\n\n.paraui-scrollbar-large *::-webkit-scrollbar, .paraui-scrollbar-large::-webkit-scrollbar {\n width: 8px;\n height: 8px;\n}\n.paraui-scrollbar-large *::-webkit-scrollbar-track, .paraui-scrollbar-large::-webkit-scrollbar-track {\n border-radius: 8px;\n}\n.paraui-scrollbar-large *::-webkit-scrollbar-thumb, .paraui-scrollbar-large::-webkit-scrollbar-thumb {\n border-radius: 8px;\n}\n\n.paraui-scrollbar-large-deep * ::-webkit-scrollbar, .paraui-scrollbar-large-deep ::-webkit-scrollbar {\n width: 8px;\n height: 8px;\n background-color: rgba(171, 176, 185, 0.2);\n}\n.paraui-scrollbar-large-deep * ::-webkit-scrollbar-track, .paraui-scrollbar-large-deep ::-webkit-scrollbar-track {\n border-radius: 8px;\n}\n.paraui-scrollbar-large-deep * ::-webkit-scrollbar-thumb, .paraui-scrollbar-large-deep ::-webkit-scrollbar-thumb {\n border-radius: 8px;\n background: rgba(248, 249, 251, 0.8);\n}\n.paraui-scrollbar-large-deep * ::-webkit-scrollbar-corner, .paraui-scrollbar-large-deep ::-webkit-scrollbar-corner {\n background: rgb(79, 89, 105);\n}\n.paraui-scrollbar-large-deep * ::-webkit-scrollbar-thumb:hover, .paraui-scrollbar-large-deep ::-webkit-scrollbar-thumb:hover {\n background: rgba(171, 176, 185, 0.4);\n}\n.paraui-scrollbar-large-deep * ::-webkit-scrollbar-thumb:active, .paraui-scrollbar-large-deep ::-webkit-scrollbar-thumb:active {\n background: rgba(171, 176, 185, 0.4);\n}\n.paraui-scrollbar-large-deep * ::-webkit-scrollbar-thumb:window-inactive, .paraui-scrollbar-large-deep ::-webkit-scrollbar-thumb:window-inactive {\n background-color: rgba(248, 249, 251, 0.8);\n}\n\n.paraui-form .paraui-helper-text {\n min-height: 20px;\n}\n\n* {\n font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif;\n margin: 0;\n padding: 0;\n box-sizing: border-box;\n outline: none;\n -webkit-tap-highlight-color: transparent;\n}\n\nhtml, body {\n width: 100%;\n height: 100%;\n overflow: hidden;\n}\n\nol, ul {\n list-style: none;\n}\n\na,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\ninput,\nselect,\nbutton,\ntextarea {\n outline: none;\n}";
10
+ var css_248z = "@charset \"UTF-8\";\n/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */\n/* Document\n ========================================================================== */\n/**\n * 1. Correct the line height in all browsers.\n * 2. Prevent adjustments of font size after orientation changes in iOS.\n */\nhtml {\n -webkit-text-size-adjust: 100%; /* 2 */\n}\n\n/* Sections\n ========================================================================== */\n/**\n * Remove the margin in all browsers.\n */\nbody {\n margin: 0;\n}\n\n/**\n * Render the `main` element consistently in IE.\n */\nmain {\n display: block;\n}\n\n/**\n * Correct the font size and margin on `h1` elements within `section` and\n * `article` contexts in Chrome, Firefox, and Safari.\n */\nh1 {\n font-size: 2em;\n margin: 0.67em 0;\n}\n\n/* Grouping content\n ========================================================================== */\n/**\n * 1. Add the correct box sizing in Firefox.\n * 2. Show the overflow in Edge and IE.\n */\nhr {\n box-sizing: content-box; /* 1 */\n height: 0; /* 1 */\n overflow: visible; /* 2 */\n}\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\npre {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/* Text-level semantics\n ========================================================================== */\n/**\n * Remove the gray background on active links in IE 10.\n */\na {\n background-color: transparent;\n}\n\n/**\n * 1. Remove the bottom border in Chrome 57-\n * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.\n */\nabbr[title] {\n border-bottom: none; /* 1 */\n text-decoration: underline; /* 2 */\n text-decoration: underline dotted; /* 2 */\n}\n\n/**\n * Add the correct font weight in Chrome, Edge, and Safari.\n */\nb,\nstrong {\n font-weight: bolder;\n}\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\ncode,\nkbd,\nsamp {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/**\n * Add the correct font size in all browsers.\n */\nsmall {\n font-size: 80%;\n}\n\n/**\n * Prevent `sub` and `sup` elements from affecting the line height in\n * all browsers.\n */\nsub,\nsup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\n\nsub {\n bottom: -0.25em;\n}\n\nsup {\n top: -0.5em;\n}\n\n/* Embedded content\n ========================================================================== */\n/**\n * Remove the border on images inside links in IE 10.\n */\nimg {\n border-style: none;\n}\n\n/* Forms\n ========================================================================== */\n/**\n * 1. Change the font styles in all browsers.\n * 2. Remove the margin in Firefox and Safari.\n */\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n font-family: inherit; /* 1 */\n font-size: 100%; /* 1 */\n line-height: 1.15; /* 1 */\n margin: 0; /* 2 */\n}\n\n/**\n * Show the overflow in IE.\n * 1. Show the overflow in Edge.\n */\nbutton,\ninput { /* 1 */\n overflow: visible;\n}\n\n/**\n * Remove the inheritance of text transform in Edge, Firefox, and IE.\n * 1. Remove the inheritance of text transform in Firefox.\n */\nbutton,\nselect { /* 1 */\n text-transform: none;\n}\n\n/**\n * Correct the inability to style clickable types in iOS and Safari.\n */\nbutton,\n[type=button],\n[type=reset],\n[type=submit] {\n -webkit-appearance: button;\n}\n\n/**\n * Remove the inner border and padding in Firefox.\n */\nbutton::-moz-focus-inner,\n[type=button]::-moz-focus-inner,\n[type=reset]::-moz-focus-inner,\n[type=submit]::-moz-focus-inner {\n border-style: none;\n padding: 0;\n}\n\n/**\n * Restore the focus styles unset by the previous rule.\n */\nbutton:-moz-focusring,\n[type=button]:-moz-focusring,\n[type=reset]:-moz-focusring,\n[type=submit]:-moz-focusring {\n outline: 1px dotted ButtonText;\n}\n\n/**\n * Correct the padding in Firefox.\n */\nfieldset {\n padding: 0.35em 0.75em 0.625em;\n}\n\n/**\n * 1. Correct the text wrapping in Edge and IE.\n * 2. Correct the color inheritance from `fieldset` elements in IE.\n * 3. Remove the padding so developers are not caught out when they zero out\n * `fieldset` elements in all browsers.\n */\nlegend {\n box-sizing: border-box; /* 1 */\n color: inherit; /* 2 */\n display: table; /* 1 */\n max-width: 100%; /* 1 */\n padding: 0; /* 3 */\n white-space: normal; /* 1 */\n}\n\n/**\n * Add the correct vertical alignment in Chrome, Firefox, and Opera.\n */\nprogress {\n vertical-align: baseline;\n}\n\n/**\n * Remove the default vertical scrollbar in IE 10+.\n */\ntextarea {\n overflow: auto;\n}\n\n/**\n * 1. Add the correct box sizing in IE 10.\n * 2. Remove the padding in IE 10.\n */\n[type=checkbox],\n[type=radio] {\n box-sizing: border-box; /* 1 */\n padding: 0; /* 2 */\n}\n\n/**\n * Correct the cursor style of increment and decrement buttons in Chrome.\n */\n[type=number]::-webkit-inner-spin-button,\n[type=number]::-webkit-outer-spin-button {\n height: auto;\n}\n\n/**\n * 1. Correct the odd appearance in Chrome and Safari.\n * 2. Correct the outline style in Safari.\n */\n[type=search] {\n -webkit-appearance: textfield; /* 1 */\n outline-offset: -2px; /* 2 */\n}\n\n/**\n * Remove the inner padding in Chrome and Safari on macOS.\n */\n[type=search]::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n/**\n * 1. Correct the inability to style clickable types in iOS and Safari.\n * 2. Change font properties to `inherit` in Safari.\n */\n::-webkit-file-upload-button {\n -webkit-appearance: button; /* 1 */\n font: inherit; /* 2 */\n}\n\n/* Interactive\n ========================================================================== */\n/*\n * Add the correct display in Edge, IE 10+, and Firefox.\n */\ndetails {\n display: block;\n}\n\n/*\n * Add the correct display in all browsers.\n */\nsummary {\n display: list-item;\n}\n\n/* Misc\n ========================================================================== */\n/**\n * Add the correct display in IE 10+.\n */\ntemplate {\n display: none;\n}\n\n/**\n * Add the correct display in IE 10.\n */\n[hidden] {\n display: none;\n}\n\n/**\n* @author Hanz\n* @date 2021/10/20 下午2:08\n* @description color\n*/\n/**\n* @author linhd\n* @date 2022/8/12 5:28 PM\n* @description 全局css前缀\n*/\n::-webkit-scrollbar {\n width: 6px;\n height: 6px;\n background-color: rgba(171, 176, 185, 0.12);\n}\n\n::-webkit-scrollbar-track {\n border-radius: 6px;\n}\n\n::-webkit-scrollbar-thumb {\n background: rgba(46, 55, 67, 0.4);\n border-radius: 6px;\n}\n\n::-webkit-scrollbar-corner {\n background: rgb(236, 238, 240);\n}\n\n::-webkit-scrollbar-thumb:hover {\n background: rgba(171, 176, 185, 0.4);\n}\n\n::-webkit-scrollbar-thumb:active {\n background: rgba(171, 176, 185, 0.4);\n}\n\n::-webkit-scrollbar-thumb:window-inactive {\n background-color: rgba(46, 55, 67, 0.4);\n}\n\n.paraui-v3-scrollbar-small *::-webkit-scrollbar, .paraui-v3-scrollbar-small::-webkit-scrollbar {\n width: 4px;\n height: 4px;\n}\n.paraui-v3-scrollbar-small *::-webkit-scrollbar-track, .paraui-v3-scrollbar-small::-webkit-scrollbar-track {\n border-radius: 4px;\n}\n.paraui-v3-scrollbar-small *::-webkit-scrollbar-thumb, .paraui-v3-scrollbar-small::-webkit-scrollbar-thumb {\n border-radius: 4px;\n}\n\n.paraui-v3-scrollbar-small-deep * ::-webkit-scrollbar, .paraui-v3-scrollbar-small-deep ::-webkit-scrollbar {\n width: 4px;\n height: 4px;\n background-color: rgba(171, 176, 185, 0.2);\n}\n.paraui-v3-scrollbar-small-deep * ::-webkit-scrollbar-track, .paraui-v3-scrollbar-small-deep ::-webkit-scrollbar-track {\n border-radius: 4px;\n}\n.paraui-v3-scrollbar-small-deep * ::-webkit-scrollbar-thumb, .paraui-v3-scrollbar-small-deep ::-webkit-scrollbar-thumb {\n border-radius: 4px;\n background: rgba(248, 249, 251, 0.8);\n}\n.paraui-v3-scrollbar-small-deep * ::-webkit-scrollbar-corner, .paraui-v3-scrollbar-small-deep ::-webkit-scrollbar-corner {\n background: rgb(79, 89, 105);\n}\n.paraui-v3-scrollbar-small-deep * ::-webkit-scrollbar-thumb:hover, .paraui-v3-scrollbar-small-deep ::-webkit-scrollbar-thumb:hover {\n background: rgba(171, 176, 185, 0.4);\n}\n.paraui-v3-scrollbar-small-deep * ::-webkit-scrollbar-thumb:active, .paraui-v3-scrollbar-small-deep ::-webkit-scrollbar-thumb:active {\n background: rgba(171, 176, 185, 0.4);\n}\n.paraui-v3-scrollbar-small-deep * ::-webkit-scrollbar-thumb:window-inactive, .paraui-v3-scrollbar-small-deep ::-webkit-scrollbar-thumb:window-inactive {\n background-color: rgba(248, 249, 251, 0.8);\n}\n\n.paraui-v3-scrollbar-medium *::-webkit-scrollbar, .paraui-v3-scrollbar-medium::-webkit-scrollbar {\n width: 6px;\n height: 6px;\n}\n.paraui-v3-scrollbar-medium *::-webkit-scrollbar-track, .paraui-v3-scrollbar-medium::-webkit-scrollbar-track {\n border-radius: 6px;\n}\n.paraui-v3-scrollbar-medium *::-webkit-scrollbar-thumb, .paraui-v3-scrollbar-medium::-webkit-scrollbar-thumb {\n border-radius: 6px;\n}\n\n.paraui-v3-scrollbar-medium-deep * ::-webkit-scrollbar, .paraui-v3-scrollbar-medium-deep ::-webkit-scrollbar {\n width: 6px;\n height: 6px;\n background-color: rgba(171, 176, 185, 0.2);\n}\n.paraui-v3-scrollbar-medium-deep * ::-webkit-scrollbar-track, .paraui-v3-scrollbar-medium-deep ::-webkit-scrollbar-track {\n border-radius: 6px;\n}\n.paraui-v3-scrollbar-medium-deep * ::-webkit-scrollbar-thumb, .paraui-v3-scrollbar-medium-deep ::-webkit-scrollbar-thumb {\n border-radius: 6px;\n background: rgba(248, 249, 251, 0.8);\n}\n.paraui-v3-scrollbar-medium-deep * ::-webkit-scrollbar-corner, .paraui-v3-scrollbar-medium-deep ::-webkit-scrollbar-corner {\n background: rgb(79, 89, 105);\n}\n.paraui-v3-scrollbar-medium-deep * ::-webkit-scrollbar-thumb:hover, .paraui-v3-scrollbar-medium-deep ::-webkit-scrollbar-thumb:hover {\n background: rgba(171, 176, 185, 0.4);\n}\n.paraui-v3-scrollbar-medium-deep * ::-webkit-scrollbar-thumb:active, .paraui-v3-scrollbar-medium-deep ::-webkit-scrollbar-thumb:active {\n background: rgba(171, 176, 185, 0.4);\n}\n.paraui-v3-scrollbar-medium-deep * ::-webkit-scrollbar-thumb:window-inactive, .paraui-v3-scrollbar-medium-deep ::-webkit-scrollbar-thumb:window-inactive {\n background-color: rgba(248, 249, 251, 0.8);\n}\n\n.paraui-v3-scrollbar-large *::-webkit-scrollbar, .paraui-v3-scrollbar-large::-webkit-scrollbar {\n width: 8px;\n height: 8px;\n}\n.paraui-v3-scrollbar-large *::-webkit-scrollbar-track, .paraui-v3-scrollbar-large::-webkit-scrollbar-track {\n border-radius: 8px;\n}\n.paraui-v3-scrollbar-large *::-webkit-scrollbar-thumb, .paraui-v3-scrollbar-large::-webkit-scrollbar-thumb {\n border-radius: 8px;\n}\n\n.paraui-v3-scrollbar-large-deep * ::-webkit-scrollbar, .paraui-v3-scrollbar-large-deep ::-webkit-scrollbar {\n width: 8px;\n height: 8px;\n background-color: rgba(171, 176, 185, 0.2);\n}\n.paraui-v3-scrollbar-large-deep * ::-webkit-scrollbar-track, .paraui-v3-scrollbar-large-deep ::-webkit-scrollbar-track {\n border-radius: 8px;\n}\n.paraui-v3-scrollbar-large-deep * ::-webkit-scrollbar-thumb, .paraui-v3-scrollbar-large-deep ::-webkit-scrollbar-thumb {\n border-radius: 8px;\n background: rgba(248, 249, 251, 0.8);\n}\n.paraui-v3-scrollbar-large-deep * ::-webkit-scrollbar-corner, .paraui-v3-scrollbar-large-deep ::-webkit-scrollbar-corner {\n background: rgb(79, 89, 105);\n}\n.paraui-v3-scrollbar-large-deep * ::-webkit-scrollbar-thumb:hover, .paraui-v3-scrollbar-large-deep ::-webkit-scrollbar-thumb:hover {\n background: rgba(171, 176, 185, 0.4);\n}\n.paraui-v3-scrollbar-large-deep * ::-webkit-scrollbar-thumb:active, .paraui-v3-scrollbar-large-deep ::-webkit-scrollbar-thumb:active {\n background: rgba(171, 176, 185, 0.4);\n}\n.paraui-v3-scrollbar-large-deep * ::-webkit-scrollbar-thumb:window-inactive, .paraui-v3-scrollbar-large-deep ::-webkit-scrollbar-thumb:window-inactive {\n background-color: rgba(248, 249, 251, 0.8);\n}\n\n.paraui-v3-form .paraui-v3-helper-text {\n min-height: 20px;\n}\n\n* {\n font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif;\n margin: 0;\n padding: 0;\n box-sizing: border-box;\n outline: none;\n -webkit-tap-highlight-color: transparent;\n}\n\nhtml, body {\n width: 100%;\n height: 100%;\n overflow: hidden;\n}\n\nol, ul {\n list-style: none;\n}\n\na,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\ninput,\nselect,\nbutton,\ntextarea {\n outline: none;\n}";
11
11
  styleInject(css_248z);
12
12
 
13
13
  var ParauiProvider = function ParauiProvider(props) {
@@ -53,6 +53,8 @@ export interface PopConfirmProps {
53
53
  actions?: ReactNode;
54
54
  /** 关闭回调*/
55
55
  onClose?: () => void;
56
+ /** 浮层渲染容器,默认body */
57
+ getPopupContainer?: (triggerNode: HTMLElement) => HTMLElement;
56
58
  [name: string]: any;
57
59
  }
58
60
  export declare const PopConfirm: FunctionComponent<PopConfirmProps>;
@@ -10,6 +10,7 @@ import { Button } from '../Button/index.js';
10
10
  import { Tooltip } from '../Tooltip/index.js';
11
11
  import clsx from 'clsx';
12
12
  import { u as useFormatMessage } from '../_verture/useFormatMessage-ac9d6acf.js';
13
+ import { $ as $prefixCls } from '../_verture/constant-bf34e6fa.js';
13
14
  import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
14
15
  import '../_verture/typeof-498dd2b1.js';
15
16
  import '@para-ui/icons/LoadingF';
@@ -36,7 +37,7 @@ var localeJson = {
36
37
  en: en
37
38
  };
38
39
 
39
- var css_248z = "@charset \"UTF-8\";\n/**\n* @author Hanz\n* @date 2021/11/2 下午1:44\n* @description\n*/\n/**\n* @author Hanz\n* @date 2021/10/20 下午2:08\n* @description color\n*/\n.paraui-popconfirm {\n position: absolute;\n max-width: 600px;\n padding: 0;\n font-size: 14px;\n color: initial;\n background-color: rgb(255, 255, 255);\n box-shadow: 0px 2px 8px 0px rgba(171, 176, 185, 0.4);\n border-radius: 4px;\n}\n.paraui-popconfirm .paraui-tooltip-inner {\n min-width: auto;\n min-height: auto;\n padding: 0;\n color: initial;\n background-color: transparent;\n}\n.paraui-popconfirm .popconfirm-wrapper {\n min-width: 350px;\n padding: 24px;\n}\n.paraui-popconfirm .popconfirm-wrapper .popconfirm-message {\n position: relative;\n}\n.paraui-popconfirm .popconfirm-wrapper .popconfirm-message-icon {\n position: absolute;\n top: 2px;\n color: rgb(255, 161, 80);\n line-height: 0;\n font-size: 16px;\n}\n.paraui-popconfirm .popconfirm-wrapper .popconfirm-message-icon svg {\n color: inherit;\n font-size: inherit;\n}\n.paraui-popconfirm .popconfirm-wrapper .popconfirm-message-body {\n padding-left: 24px;\n line-height: 20px;\n font-size: 14px;\n color: rgb(46, 55, 67);\n}\n.paraui-popconfirm .popconfirm-wrapper .popconfirm-message-title {\n font-weight: 700;\n}\n.paraui-popconfirm .popconfirm-wrapper .popconfirm-message-content {\n font-weight: 400;\n margin-top: 13px;\n}\n.paraui-popconfirm .popconfirm-wrapper .popconfirm-btns {\n margin-top: 32px;\n text-align: right;\n}\n.paraui-popconfirm .popconfirm-wrapper .popconfirm-btns > button + button {\n margin-left: 16px;\n}";
40
+ var css_248z = "@charset \"UTF-8\";\n/**\n* @author Hanz\n* @date 2021/11/2 下午1:44\n* @description\n*/\n/**\n* @author Hanz\n* @date 2021/10/20 下午2:08\n* @description color\n*/\n/**\n* @author linhd\n* @date 2022/8/12 5:28 PM\n* @description 全局css前缀\n*/\n.paraui-v3-popconfirm {\n position: absolute;\n max-width: 600px;\n padding: 0;\n font-size: 14px;\n color: initial;\n background-color: rgb(255, 255, 255);\n box-shadow: 0px 2px 8px 0px rgba(171, 176, 185, 0.4);\n border-radius: 4px;\n}\n.paraui-v3-popconfirm.paraui-v3-tooltip .component-tooltip-inner {\n min-width: auto;\n min-height: auto;\n padding: 0;\n color: initial;\n background-color: transparent;\n}\n.paraui-v3-popconfirm .popconfirm-wrapper {\n min-width: 350px;\n padding: 24px;\n}\n.paraui-v3-popconfirm .popconfirm-wrapper .popconfirm-message {\n position: relative;\n}\n.paraui-v3-popconfirm .popconfirm-wrapper .popconfirm-message-icon {\n position: absolute;\n top: 2px;\n color: rgb(255, 161, 80);\n line-height: 0;\n font-size: 16px;\n}\n.paraui-v3-popconfirm .popconfirm-wrapper .popconfirm-message-icon svg {\n color: inherit;\n font-size: inherit;\n}\n.paraui-v3-popconfirm .popconfirm-wrapper .popconfirm-message-body {\n padding-left: 24px;\n line-height: 20px;\n font-size: 14px;\n color: rgb(46, 55, 67);\n}\n.paraui-v3-popconfirm .popconfirm-wrapper .popconfirm-message-title {\n font-weight: 700;\n}\n.paraui-v3-popconfirm .popconfirm-wrapper .popconfirm-message-content {\n font-weight: 400;\n margin-top: 13px;\n}\n.paraui-v3-popconfirm .popconfirm-wrapper .popconfirm-btns {\n margin-top: 32px;\n text-align: right;\n}\n.paraui-v3-popconfirm .popconfirm-wrapper .popconfirm-btns > button + button {\n margin-left: 16px;\n}";
40
41
  styleInject(css_248z);
41
42
 
42
43
  var iconMapping = {
@@ -182,7 +183,7 @@ var PopConfirm = function PopConfirm(props) {
182
183
  placement: placement,
183
184
  title: renderOverlay(),
184
185
  onVisibleChange: onVisibleChange,
185
- overlayClassName: clsx('paraui-popconfirm', overlayClassName, className)
186
+ overlayClassName: clsx("".concat($prefixCls, "-popconfirm"), overlayClassName, className)
186
187
  }, {
187
188
  children: children
188
189
  }));
package/Popover/index.js CHANGED
@@ -2,13 +2,14 @@ import { _ as __rest } from '../_verture/tslib.es6-55ed4bd2.js';
2
2
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
3
3
  import React__default from 'react';
4
4
  import { Tooltip } from '../Tooltip/index.js';
5
+ import { $ as $prefixCls, a as $rcPrefixCls } from '../_verture/constant-bf34e6fa.js';
6
+ import clsx from 'clsx';
5
7
  import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
6
8
  import '../_verture/slicedToArray-d7722f4b.js';
7
9
  import 'rc-tooltip';
8
10
  import 'rc-tooltip/lib/placements';
9
- import 'clsx';
10
11
 
11
- var css_248z = "@charset \"UTF-8\";\n/**\n* @author Hanz\n* @date 2022/6/7 上午11:06\n* @description\n*/\n/**\n* @author Hanz\n* @date 2021/10/20 下午2:08\n* @description color\n*/\n.paraui-popover {\n color: rgb(46, 55, 67);\n font-size: 14px;\n font-variant: tabular-nums;\n line-height: 1.5715;\n list-style: none;\n font-feature-settings: \"tnum\";\n position: absolute;\n top: 0;\n left: 0;\n z-index: 1500;\n font-weight: 400;\n white-space: normal;\n text-align: left;\n cursor: auto;\n user-select: text;\n}\n.paraui-popover::after {\n position: absolute;\n background: rgba(255, 255, 255, 0.01);\n content: \"\";\n}\n.paraui-popover-hidden {\n display: none;\n}\n.paraui-popover-inner {\n background-color: rgb(255, 255, 255);\n background-clip: padding-box;\n border-radius: 4px;\n box-shadow: 0px 2px 8px 0px rgba(171, 176, 185, 0.4);\n}\n.paraui-popover-title {\n min-height: 32px;\n margin: 0;\n padding: 4px 16px;\n color: rgb(46, 55, 67);\n font-weight: 400;\n border-bottom: 1px solid #f0f0f0;\n}\n.paraui-popover-inner-content {\n color: rgb(46, 55, 67);\n}\n.paraui-popover-buttons {\n margin-bottom: 4px;\n text-align: right;\n}\n.paraui-popover-buttons button {\n margin-left: 8px;\n}\n.paraui-popover-arrow {\n position: absolute;\n display: block;\n width: 16px;\n height: 16px;\n overflow: hidden;\n background: transparent;\n pointer-events: none;\n}\n.paraui-popover-arrow-content {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n display: block;\n width: 11.3137085px;\n height: 11.3137085px;\n margin: auto;\n background-color: rgb(255, 255, 255);\n content: \"\";\n border-radius: 0 0 4px;\n pointer-events: none;\n}\n.paraui-popover-arrow-content::before {\n position: absolute;\n top: -11.3137085px;\n left: -11.3137085px;\n width: 33.9411255px;\n height: 33.9411255px;\n background: rgb(255, 255, 255) -10px -10px no-repeat;\n content: \"\";\n -webkit-clip-path: path(\"M 9.849242404917499 24.091883092036785 A 5 5 0 0 1 13.384776310850237 22.627416997969522 L 20.627416997969522 22.627416997969522 A 2 2 0 0 0 22.627416997969522 20.627416997969522 L 22.627416997969522 13.384776310850237 A 5 5 0 0 1 24.091883092036785 9.849242404917499 L 23.091883092036785 9.849242404917499 L 9.849242404917499 23.091883092036785 Z\");\n}\n.paraui-popover-placement-top .paraui-popover-arrow, .paraui-popover-placement-topLeft .paraui-popover-arrow, .paraui-popover-placement-topRight .paraui-popover-arrow {\n bottom: -0.6862915px;\n}\n.paraui-popover-placement-top .paraui-popover-arrow-content, .paraui-popover-placement-topLeft .paraui-popover-arrow-content, .paraui-popover-placement-topRight .paraui-popover-arrow-content {\n box-shadow: 3px 3px 7px rgba(0, 0, 0, 0.07);\n transform: translateY(-1px) rotate(45deg);\n}\n.paraui-popover-placement-top .paraui-popover-arrow {\n left: 50%;\n transform: translateX(-50%);\n}\n.paraui-popover-placement-topLeft .paraui-popover-arrow {\n left: 16px;\n}\n.paraui-popover-placement-topRight .paraui-popover-arrow {\n right: 16px;\n}\n.paraui-popover-placement-right .paraui-popover-arrow, .paraui-popover-placement-rightTop .paraui-popover-arrow, .paraui-popover-placement-rightBottom .paraui-popover-arrow {\n left: -0.6862915px;\n}\n.paraui-popover-placement-right .paraui-popover-arrow-content, .paraui-popover-placement-rightTop .paraui-popover-arrow-content, .paraui-popover-placement-rightBottom .paraui-popover-arrow-content {\n box-shadow: 3px 3px 7px rgba(0, 0, 0, 0.07);\n transform: translateX(1px) rotate(135deg);\n}\n.paraui-popover-placement-right .paraui-popover-arrow {\n top: 50%;\n transform: translateY(-50%);\n}\n.paraui-popover-placement-rightTop .paraui-popover-arrow {\n top: 12px;\n}\n.paraui-popover-placement-rightBottom .paraui-popover-arrow {\n bottom: 12px;\n}\n.paraui-popover-placement-bottom .paraui-popover-arrow, .paraui-popover-placement-bottomLeft .paraui-popover-arrow, .paraui-popover-placement-bottomRight .paraui-popover-arrow {\n top: -0.6862915px;\n}\n.paraui-popover-placement-bottom .paraui-popover-arrow-content, .paraui-popover-placement-bottomLeft .paraui-popover-arrow-content, .paraui-popover-placement-bottomRight .paraui-popover-arrow-content {\n box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.06);\n transform: translateY(1px) rotate(-135deg);\n}\n.paraui-popover-placement-bottom .paraui-popover-arrow {\n left: 50%;\n transform: translateX(-50%);\n}\n.paraui-popover-placement-bottomLeft .paraui-popover-arrow {\n left: 16px;\n}\n.paraui-popover-placement-bottomRight .paraui-popover-arrow {\n right: 16px;\n}\n.paraui-popover-placement-left .paraui-popover-arrow, .paraui-popover-placement-leftTop .paraui-popover-arrow, .paraui-popover-placement-leftBottom .paraui-popover-arrow {\n right: -0.6862915px;\n}\n.paraui-popover-placement-left .paraui-popover-arrow-content, .paraui-popover-placement-leftTop .paraui-popover-arrow-content, .paraui-popover-placement-leftBottom .paraui-popover-arrow-content {\n box-shadow: 3px 3px 7px rgba(0, 0, 0, 0.07);\n transform: translateX(-1px) rotate(-45deg);\n}\n.paraui-popover-placement-left .paraui-popover-arrow {\n top: 50%;\n transform: translateY(-50%);\n}\n.paraui-popover-placement-leftTop .paraui-popover-arrow {\n top: 12px;\n}\n.paraui-popover-placement-leftBottom .paraui-popover-arrow {\n bottom: 12px;\n}\n\n.paraui-popover-zoom-big-enter,\n.paraui-popover-zoom-big-appear {\n animation-duration: 0.2s;\n animation-fill-mode: both;\n animation-play-state: paused;\n}\n\n.paraui-popover-zoom-big-leave {\n animation-duration: 0.2s;\n animation-fill-mode: both;\n animation-play-state: paused;\n}\n\n.paraui-popover-zoom-big-enter.paraui-popover-zoom-big-enter-active,\n.paraui-popover-zoom-big-appear.paraui-popover-zoom-big-appear-active {\n animation-name: parauiPopoverZoomBigIn;\n animation-play-state: running;\n}\n\n.paraui-popover-zoom-big-leave.paraui-popover-zoom-big-leave-active {\n animation-name: parauiPopoverZoomBigOut;\n animation-play-state: running;\n pointer-events: none;\n}\n\n.paraui-popover-zoom-big-enter,\n.paraui-popover-zoom-big-appear {\n transform: scale(0);\n opacity: 0;\n animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1);\n}\n\n.paraui-popover-zoom-big-enter-prepare,\n.paraui-popover-zoom-big-appear-prepare {\n transform: none;\n}\n\n.paraui-popover-zoom-big-leave {\n animation-timing-function: cubic-bezier(0.78, 0.14, 0.15, 0.86);\n}\n\n@keyframes parauiPopoverZoomBigIn {\n 0% {\n transform: scale(0.8);\n opacity: 0;\n }\n 100% {\n transform: scale(1);\n opacity: 1;\n }\n}\n@keyframes parauiPopoverZoomBigOut {\n 0% {\n transform: scale(1);\n }\n 100% {\n transform: scale(0.8);\n opacity: 0;\n }\n}";
12
+ var css_248z = "@charset \"UTF-8\";\n/**\n* @author Hanz\n* @date 2022/6/7 上午11:06\n* @description\n*/\n/**\n* @author Hanz\n* @date 2021/10/20 下午2:08\n* @description color\n*/\n/**\n* @author linhd\n* @date 2022/8/12 5:28 PM\n* @description 全局css前缀\n*/\n.paraui-v3-popover {\n color: rgb(46, 55, 67);\n font-size: 14px;\n font-variant: tabular-nums;\n line-height: 1.5715;\n list-style: none;\n font-feature-settings: \"tnum\";\n position: absolute;\n top: 0;\n left: 0;\n z-index: 1500;\n font-weight: 400;\n white-space: normal;\n text-align: left;\n cursor: auto;\n user-select: text;\n}\n.paraui-v3-popover::after {\n position: absolute;\n background: rgba(255, 255, 255, 0.01);\n content: \"\";\n}\n.paraui-v3-popover.component-popover-hidden {\n display: none;\n}\n.paraui-v3-popover .component-popover-inner {\n background-color: rgb(255, 255, 255);\n background-clip: padding-box;\n border-radius: 4px;\n box-shadow: 0px 2px 8px 0px rgba(171, 176, 185, 0.4);\n}\n.paraui-v3-popover .component-popover-title {\n min-height: 32px;\n margin: 0;\n padding: 4px 16px;\n color: rgb(46, 55, 67);\n font-weight: 400;\n border-bottom: 1px solid #f0f0f0;\n}\n.paraui-v3-popover .component-popover-inner-content {\n color: rgb(46, 55, 67);\n}\n.paraui-v3-popover .component-popover-buttons {\n margin-bottom: 4px;\n text-align: right;\n}\n.paraui-v3-popover .component-popover-buttons button {\n margin-left: 8px;\n}\n.paraui-v3-popover .component-popover-arrow {\n position: absolute;\n display: none;\n width: 16px;\n height: 16px;\n overflow: hidden;\n background: transparent;\n pointer-events: none;\n}\n.paraui-v3-popover .component-popover-arrow-content {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n display: block;\n width: 11.3137085px;\n height: 11.3137085px;\n margin: auto;\n background-color: rgb(255, 255, 255);\n content: \"\";\n border-radius: 0 0 4px;\n pointer-events: none;\n}\n.paraui-v3-popover .component-popover-arrow-content::before {\n position: absolute;\n top: -11.3137085px;\n left: -11.3137085px;\n width: 33.9411255px;\n height: 33.9411255px;\n background: rgb(255, 255, 255) -10px -10px no-repeat;\n content: \"\";\n -webkit-clip-path: path(\"M 9.849242404917499 24.091883092036785 A 5 5 0 0 1 13.384776310850237 22.627416997969522 L 20.627416997969522 22.627416997969522 A 2 2 0 0 0 22.627416997969522 20.627416997969522 L 22.627416997969522 13.384776310850237 A 5 5 0 0 1 24.091883092036785 9.849242404917499 L 23.091883092036785 9.849242404917499 L 9.849242404917499 23.091883092036785 Z\");\n}\n.paraui-v3-popover.component-popover-placement-top .component-popover-arrow, .paraui-v3-popover.component-popover-placement-topLeft .component-popover-arrow, .paraui-v3-popover.component-popover-placement-topRight .component-popover-arrow {\n bottom: -0.6862915px;\n}\n.paraui-v3-popover.component-popover-placement-top .component-popover-arrow-content, .paraui-v3-popover.component-popover-placement-topLeft .component-popover-arrow-content, .paraui-v3-popover.component-popover-placement-topRight .component-popover-arrow-content {\n box-shadow: 3px 3px 7px rgba(0, 0, 0, 0.07);\n transform: translateY(-1px) rotate(45deg);\n}\n.paraui-v3-popover.component-popover-placement-top .component-popover-arrow {\n left: 50%;\n transform: translateX(-50%);\n}\n.paraui-v3-popover.component-popover-placement-topLeft .component-popover-arrow {\n left: 16px;\n}\n.paraui-v3-popover.component-popover-placement-topRight .component-popover-arrow {\n right: 16px;\n}\n.paraui-v3-popover.component-popover-placement-right .component-popover-arrow, .paraui-v3-popover.component-popover-placement-rightTop .component-popover-arrow, .paraui-v3-popover.component-popover-placement-rightBottom .component-popover-arrow {\n left: -0.6862915px;\n}\n.paraui-v3-popover.component-popover-placement-right .component-popover-arrow-content, .paraui-v3-popover.component-popover-placement-rightTop .component-popover-arrow-content, .paraui-v3-popover.component-popover-placement-rightBottom .component-popover-arrow-content {\n box-shadow: 3px 3px 7px rgba(0, 0, 0, 0.07);\n transform: translateX(1px) rotate(135deg);\n}\n.paraui-v3-popover.component-popover-placement-right .component-popover-arrow {\n top: 50%;\n transform: translateY(-50%);\n}\n.paraui-v3-popover.component-popover-placement-rightTop .component-popover-arrow {\n top: 12px;\n}\n.paraui-v3-popover.component-popover-placement-rightBottom .component-popover-arrow {\n bottom: 12px;\n}\n.paraui-v3-popover.component-popover-placement-bottom .component-popover-arrow, .paraui-v3-popover.component-popover-placement-bottomLeft .component-popover-arrow, .paraui-v3-popover.component-popover-placement-bottomRight .component-popover-arrow {\n top: -0.6862915px;\n}\n.paraui-v3-popover.component-popover-placement-bottom .component-popover-arrow-content, .paraui-v3-popover.component-popover-placement-bottomLeft .component-popover-arrow-content, .paraui-v3-popover.component-popover-placement-bottomRight .component-popover-arrow-content {\n box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.06);\n transform: translateY(1px) rotate(-135deg);\n}\n.paraui-v3-popover.component-popover-placement-bottom .component-popover-arrow {\n left: 50%;\n transform: translateX(-50%);\n}\n.paraui-v3-popover.component-popover-placement-bottomLeft .component-popover-arrow {\n left: 16px;\n}\n.paraui-v3-popover.component-popover-placement-bottomRight .component-popover-arrow {\n right: 16px;\n}\n.paraui-v3-popover.component-popover-placement-left .component-popover-arrow, .paraui-v3-popover.component-popover-placement-leftTop .component-popover-arrow, .paraui-v3-popover.component-popover-placement-leftBottom .component-popover-arrow {\n right: -0.6862915px;\n}\n.paraui-v3-popover.component-popover-placement-left .component-popover-arrow-content, .paraui-v3-popover.component-popover-placement-leftTop .component-popover-arrow-content, .paraui-v3-popover.component-popover-placement-leftBottom .component-popover-arrow-content {\n box-shadow: 3px 3px 7px rgba(0, 0, 0, 0.07);\n transform: translateX(-1px) rotate(-45deg);\n}\n.paraui-v3-popover.component-popover-placement-left .component-popover-arrow {\n top: 50%;\n transform: translateY(-50%);\n}\n.paraui-v3-popover.component-popover-placement-leftTop .component-popover-arrow {\n top: 12px;\n}\n.paraui-v3-popover.component-popover-placement-leftBottom .component-popover-arrow {\n bottom: 12px;\n}\n\n.component-popover-zoom-big-enter,\n.component-popover-zoom-big-appear {\n animation-duration: 0.2s;\n animation-fill-mode: both;\n animation-play-state: paused;\n}\n\n.component-popover-zoom-big-leave {\n animation-duration: 0.2s;\n animation-fill-mode: both;\n animation-play-state: paused;\n}\n\n.component-popover-zoom-big-enter.component-popover-zoom-big-enter-active,\n.component-popover-zoom-big-appear.component-popover-zoom-big-appear-active {\n animation-name: componentPopoverZoomBigIn;\n animation-play-state: running;\n}\n\n.component-popover-zoom-big-leave.component-popover-zoom-big-leave-active {\n animation-name: componentPopoverZoomBigOut;\n animation-play-state: running;\n pointer-events: none;\n}\n\n.component-popover-zoom-big-enter,\n.component-popover-zoom-big-appear {\n transform: scale(0);\n opacity: 0;\n animation-timing-function: cubic-bezier(0.08, 0.82, 0.17, 1);\n}\n\n.component-popover-zoom-big-enter-prepare,\n.component-popover-zoom-big-appear-prepare {\n transform: none;\n}\n\n.component-popover-zoom-big-leave {\n animation-timing-function: cubic-bezier(0.78, 0.14, 0.15, 0.86);\n}\n\n@keyframes componentPopoverZoomBigIn {\n 0% {\n transform: scale(0.8);\n opacity: 0;\n }\n 100% {\n transform: scale(1);\n opacity: 1;\n }\n}\n@keyframes componentPopoverZoomBigOut {\n 0% {\n transform: scale(1);\n }\n 100% {\n transform: scale(0.8);\n opacity: 0;\n }\n}";
12
13
  styleInject(css_248z);
13
14
 
14
15
  var Popover = /*#__PURE__*/React__default.forwardRef(function (props, ref) {
@@ -45,12 +46,14 @@ var Popover = /*#__PURE__*/React__default.forwardRef(function (props, ref) {
45
46
  });
46
47
  };
47
48
 
48
- var prefixCls = 'paraui-popover';
49
+ var prefixCls = "".concat($rcPrefixCls, "-popover");
49
50
  return jsx(Tooltip, Object.assign({}, restProps, {
51
+ isPopover: true,
50
52
  prefixCls: prefixCls,
53
+ overlayClassName: clsx("".concat($prefixCls, "-popover"), props.overlayClassName),
51
54
  ref: ref,
52
55
  title: getOverlay(prefixCls),
53
- transitionName: 'paraui-popover-zoom-big',
56
+ transitionName: "".concat($rcPrefixCls, "-popover-zoom-big"),
54
57
  getPopupContainer: getPopupContainer
55
58
  }));
56
59
  });
@@ -43,6 +43,8 @@ export interface SuccessProps {
43
43
  export interface ProgressProps {
44
44
  /** 自定义样式名 **/
45
45
  className?: string;
46
+ /** 样式 */
47
+ style?: React.CSSProperties;
46
48
  /** 类型,可选 line circle dashboard **/
47
49
  type?: ProgressType;
48
50
  /** 百分比 **/
package/Progress/index.js CHANGED
@@ -5,6 +5,7 @@ import CompleteIcon from '@para-ui/icons/CheckCircleF';
5
5
  import CloseCircleFilled from '@para-ui/icons/CloseCircleF';
6
6
  import Check from '@para-ui/icons/Check';
7
7
  import CloseIcon from '@para-ui/icons/Close';
8
+ import { a as $rcPrefixCls, $ as $prefixCls } from '../_verture/constant-bf34e6fa.js';
8
9
  import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
9
10
 
10
11
  var Steps = function Steps(props) {
@@ -168,7 +169,7 @@ var Line = function Line(props) {
168
169
  }));
169
170
  };
170
171
 
171
- var css_248z = "@charset \"UTF-8\";\n/**\n* @author Hanz\n* @date 2021/10/20 下午2:08\n* @description color\n*/\n.paraui-progress-line .progress-outer {\n display: flex;\n margin-right: 8px;\n margin-bottom: 8px;\n}\n.paraui-progress-line .progress-outer .progress-inner {\n width: 100%;\n}\n.paraui-progress-line .progress-outer .progress-inner .rc-progress-line {\n height: 10px;\n width: 100%;\n}\n.paraui-progress-line .progress-outer .progress-inner .steps-outer {\n display: flex;\n flex-direction: row;\n align-items: center;\n}\n.paraui-progress-line .progress-outer .progress-inner .steps-outer .steps-item {\n flex-shrink: 0;\n min-width: 2px;\n margin-right: 2px;\n background: #f3f3f3;\n transition: all 0.3s;\n}\n.paraui-progress-line .progress-outer .progress-inner .steps-outer .steps-item-active {\n background-color: rgb(54, 102, 214);\n}\n.paraui-progress-line .progress-outer .progress-inner .trail-bar {\n position: relative;\n display: inline-block;\n width: 100%;\n overflow: hidden;\n vertical-align: middle;\n background-color: rgba(171, 176, 185, 0.2);\n border-radius: 100px;\n}\n.paraui-progress-line .progress-outer .progress-inner .trail-bar .active-bar {\n position: relative;\n background-color: rgb(54, 102, 214);\n border-radius: 100px;\n transition: all 0.4s cubic-bezier(0.08, 0.82, 0.17, 1) 0s;\n}\n.paraui-progress-line .progress-outer .progress-text {\n min-width: 40px;\n font-size: 14px;\n font-weight: 500;\n text-align: left;\n color: rgb(54, 102, 214);\n margin-left: 12px;\n white-space: nowrap;\n vertical-align: middle;\n word-break: normal;\n display: flex;\n align-items: center;\n}\n.paraui-progress-line .progress-outer .progress-text svg {\n width: 14px;\n height: 14px;\n position: relative;\n top: 2px;\n}\n.paraui-progress-line .progress-outer .progress-text svg.success {\n color: rgb(83, 195, 27) !important;\n}\n.paraui-progress-line .progress-outer .progress-text svg.error {\n color: rgb(235, 96, 84) !important;\n}\n.paraui-progress-circle, .paraui-progress-dashboard {\n display: inline-block;\n position: relative;\n margin: 0 5px;\n}\n.paraui-progress-circle .progress-outer .progress-text, .paraui-progress-dashboard .progress-outer .progress-text {\n position: absolute;\n top: 50%;\n left: 50%;\n width: 100%;\n margin: 0;\n padding: 0;\n color: rgb(54, 102, 214);\n font-size: 1em;\n line-height: 1;\n white-space: normal;\n text-align: center;\n transform: translate(-50%, -50%);\n}\n.paraui-progress-circle .progress-outer .progress-text svg, .paraui-progress-dashboard .progress-outer .progress-text svg {\n width: 2em;\n height: 2em;\n}\n.paraui-progress-circle .progress-outer .progress-text svg.success, .paraui-progress-dashboard .progress-outer .progress-text svg.success {\n color: rgb(83, 195, 27) !important;\n}\n.paraui-progress-circle .progress-outer .progress-text svg.error, .paraui-progress-dashboard .progress-outer .progress-text svg.error {\n color: rgb(235, 96, 84) !important;\n}\n.paraui-progress-success-status .progress-text {\n color: rgb(83, 195, 27) !important;\n}\n.paraui-progress-exception-status .progress-text {\n color: rgb(235, 96, 84) !important;\n}\n.paraui-progress-active-status .active-bar:before {\n position: absolute;\n inset: 0;\n background: #fff;\n border-radius: 10px;\n opacity: 0;\n -webkit-animation: progress-active 2.4s cubic-bezier(0.23, 1, 0.32, 1) infinite;\n animation: progress-active 2.4s cubic-bezier(0.23, 1, 0.32, 1) infinite;\n content: \"\";\n}\n\n@keyframes progress-active {\n 0% {\n transform: translateX(-100%) scaleX(0);\n opacity: 0.1;\n }\n 20% {\n transform: translateX(-100%) scaleX(0);\n opacity: 0.5;\n }\n 100% {\n transform: translateX(0) scaleX(1);\n opacity: 0;\n }\n}";
172
+ var css_248z = "@charset \"UTF-8\";\n/**\n* @author Hanz\n* @date 2021/10/20 下午2:08\n* @description color\n*/\n/**\n* @author linhd\n* @date 2022/8/12 5:28 PM\n* @description 全局css前缀\n*/\n.paraui-v3-progress.paraui-v3-progress-line .progress-outer {\n display: flex;\n margin-right: 8px;\n margin-bottom: 8px;\n}\n.paraui-v3-progress.paraui-v3-progress-line .progress-outer .progress-inner {\n width: 100%;\n /*.component-progress-line {\n height: 10px;\n width: 100%;\n }*/\n}\n.paraui-v3-progress.paraui-v3-progress-line .progress-outer .progress-inner .steps-outer {\n display: flex;\n flex-direction: row;\n align-items: center;\n}\n.paraui-v3-progress.paraui-v3-progress-line .progress-outer .progress-inner .steps-outer .steps-item {\n flex-shrink: 0;\n min-width: 2px;\n margin-right: 2px;\n background: #f3f3f3;\n transition: all 0.3s;\n}\n.paraui-v3-progress.paraui-v3-progress-line .progress-outer .progress-inner .steps-outer .steps-item-active {\n background-color: rgb(54, 102, 214);\n}\n.paraui-v3-progress.paraui-v3-progress-line .progress-outer .progress-inner .trail-bar {\n position: relative;\n display: inline-block;\n width: 100%;\n overflow: hidden;\n vertical-align: middle;\n background-color: rgba(171, 176, 185, 0.2);\n border-radius: 100px;\n}\n.paraui-v3-progress.paraui-v3-progress-line .progress-outer .progress-inner .trail-bar .active-bar {\n position: relative;\n background-color: rgb(54, 102, 214);\n border-radius: 100px;\n transition: all 0.4s cubic-bezier(0.08, 0.82, 0.17, 1) 0s;\n}\n.paraui-v3-progress.paraui-v3-progress-line .progress-outer .progress-text {\n min-width: 40px;\n font-size: 14px;\n font-weight: 500;\n text-align: left;\n color: rgb(54, 102, 214);\n margin-left: 12px;\n white-space: nowrap;\n vertical-align: middle;\n word-break: normal;\n display: flex;\n align-items: center;\n}\n.paraui-v3-progress.paraui-v3-progress-line .progress-outer .progress-text svg {\n width: 14px;\n height: 14px;\n position: relative;\n top: 2px;\n}\n.paraui-v3-progress.paraui-v3-progress-line .progress-outer .progress-text svg.success {\n color: rgb(83, 195, 27) !important;\n}\n.paraui-v3-progress.paraui-v3-progress-line .progress-outer .progress-text svg.error {\n color: rgb(235, 96, 84) !important;\n}\n.paraui-v3-progress.paraui-v3-progress-circle, .paraui-v3-progress.paraui-v3-progress-dashboard {\n display: inline-block;\n position: relative;\n margin: 0 5px;\n}\n.paraui-v3-progress.paraui-v3-progress-circle .progress-outer .progress-text, .paraui-v3-progress.paraui-v3-progress-dashboard .progress-outer .progress-text {\n position: absolute;\n top: 50%;\n left: 50%;\n width: 100%;\n margin: 0;\n padding: 0;\n color: rgb(54, 102, 214);\n font-size: 1em;\n line-height: 1;\n white-space: normal;\n text-align: center;\n transform: translate(-50%, -50%);\n}\n.paraui-v3-progress.paraui-v3-progress-circle .progress-outer .progress-text svg, .paraui-v3-progress.paraui-v3-progress-dashboard .progress-outer .progress-text svg {\n width: 2em;\n height: 2em;\n}\n.paraui-v3-progress.paraui-v3-progress-circle .progress-outer .progress-text svg.success, .paraui-v3-progress.paraui-v3-progress-dashboard .progress-outer .progress-text svg.success {\n color: rgb(83, 195, 27) !important;\n}\n.paraui-v3-progress.paraui-v3-progress-circle .progress-outer .progress-text svg.error, .paraui-v3-progress.paraui-v3-progress-dashboard .progress-outer .progress-text svg.error {\n color: rgb(235, 96, 84) !important;\n}\n.paraui-v3-progress.paraui-v3-progress-success-status .progress-text {\n color: rgb(83, 195, 27) !important;\n}\n.paraui-v3-progress.paraui-v3-progress-exception-status .progress-text {\n color: rgb(235, 96, 84) !important;\n}\n.paraui-v3-progress.paraui-v3-progress-active-status .active-bar:before {\n position: absolute;\n inset: 0;\n background: #fff;\n border-radius: 10px;\n opacity: 0;\n -webkit-animation: progress-active 2.4s cubic-bezier(0.23, 1, 0.32, 1) infinite;\n animation: progress-active 2.4s cubic-bezier(0.23, 1, 0.32, 1) infinite;\n content: \"\";\n}\n\n@keyframes progress-active {\n 0% {\n transform: translateX(-100%) scaleX(0);\n opacity: 0.1;\n }\n 20% {\n transform: translateX(-100%) scaleX(0);\n opacity: 0.5;\n }\n 100% {\n transform: translateX(0) scaleX(1);\n opacity: 0;\n }\n}";
172
173
  styleInject(css_248z);
173
174
 
174
175
  /** 进度条类型 **/
@@ -203,7 +204,8 @@ var strokeColorMap = {
203
204
  var Progress = function Progress(props) {
204
205
  var _props$type = props.type,
205
206
  type = _props$type === void 0 ? "line" : _props$type,
206
- className = props.className;
207
+ className = props.className,
208
+ style = props.style;
207
209
  props.children;
208
210
  var status = props.status,
209
211
  _props$width = props.width,
@@ -219,7 +221,7 @@ var Progress = function Progress(props) {
219
221
  strokeColor = props.strokeColor,
220
222
  _props$gapDegree = props.gapDegree,
221
223
  gapDegree = _props$gapDegree === void 0 ? 75 : _props$gapDegree,
222
- otherProps = __rest(props, ["type", "className", "children", "status", "width", "showInfo", "format", "success", "percent", "steps", "direction", "strokeColor", "gapDegree"]);
224
+ otherProps = __rest(props, ["type", "className", "style", "children", "status", "width", "showInfo", "format", "success", "percent", "steps", "direction", "strokeColor", "gapDegree"]);
223
225
  /**
224
226
  * 处理class
225
227
  * @return {string}
@@ -227,13 +229,13 @@ var Progress = function Progress(props) {
227
229
 
228
230
 
229
231
  var classString = function classString() {
230
- var str = "paraui-progress paraui-progress-".concat(type || "default"); // 添加成功状态的class
232
+ var str = "".concat($prefixCls, "-progress ").concat($prefixCls, "-progress-").concat(type || "default"); // 添加成功状态的class
231
233
 
232
- if (isSuccessStatus) str += " paraui-progress-success-status"; // 添加错误状态下的class
234
+ if (isSuccessStatus) str += " ".concat($prefixCls, "-progress-success-status"); // 添加错误状态下的class
233
235
 
234
- if (status === "exception") str += " paraui-progress-exception-status"; // 添加active状态下的class
236
+ if (status === "exception") str += " ".concat($prefixCls, "-progress-exception-status"); // 添加active状态下的class
235
237
 
236
- if (status === "active") str += " paraui-progress-active-status";
238
+ if (status === "active") str += " ".concat($prefixCls, "-progress-active-status");
237
239
  if (className) str += " " + className;
238
240
  return str;
239
241
  };
@@ -321,7 +323,8 @@ var Progress = function Progress(props) {
321
323
  strokeWidth: 6,
322
324
  trailWidth: 6,
323
325
  strokeColor: strokeColorVal(),
324
- percent: renderPercent()
326
+ percent: renderPercent(),
327
+ prefixCls: "".concat($rcPrefixCls, "-progress")
325
328
  }, otherProps));
326
329
  /** 仪表盘 **/
327
330
 
@@ -336,7 +339,8 @@ var Progress = function Progress(props) {
336
339
  }, otherProps));
337
340
 
338
341
  return jsx("div", Object.assign({
339
- className: classString()
342
+ className: classString(),
343
+ style: style
340
344
  }, {
341
345
  children: jsxs("div", Object.assign({
342
346
  className: "progress-outer"
package/Querying/index.js CHANGED
@@ -1,8 +1,9 @@
1
1
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
2
2
  import clsx from 'clsx';
3
3
  import { u as useFormatMessage } from '../_verture/useFormatMessage-ac9d6acf.js';
4
- import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
4
+ import { $ as $prefixCls } from '../_verture/constant-bf34e6fa.js';
5
5
  import { u as useGlobalProps } from '../_verture/useGlobalProps-af9a2af6.js';
6
+ import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
6
7
  import 'react';
7
8
  import '@para-ui/core/GlobalContext';
8
9
 
@@ -704,7 +705,7 @@ var localeJson = {
704
705
  en: en
705
706
  };
706
707
 
707
- var css_248z = "@charset \"UTF-8\";\n/**\n* @author Hanz\n* @date 2022/4/2 上午10:55\n* @description\n*/\n/**\n* @author Hanz\n* @date 2021/10/20 下午2:08\n* @description color\n*/\n.paraui-querying {\n display: inline-flex;\n flex-direction: column;\n align-items: center;\n}\n.paraui-querying-image img {\n width: 100%;\n}\n.paraui-querying-description {\n line-height: 17px;\n font-size: 14px;\n font-weight: 400;\n color: rgba(46, 55, 67, 0.7);\n}\n.paraui-querying > .paraui-querying-image {\n line-height: 0;\n}\n.paraui-querying-large .paraui-querying-description {\n margin-top: 24px;\n}\n.paraui-querying-small .paraui-querying-description {\n margin-top: 12px;\n font-size: 12px;\n}";
708
+ var css_248z = "@charset \"UTF-8\";\n/**\n* @author Hanz\n* @date 2022/4/2 上午10:55\n* @description\n*/\n/**\n* @author Hanz\n* @date 2021/10/20 下午2:08\n* @description color\n*/\n/**\n* @author linhd\n* @date 2022/8/12 5:28 PM\n* @description 全局css前缀\n*/\n.paraui-v3-querying {\n display: inline-flex;\n flex-direction: column;\n align-items: center;\n}\n.paraui-v3-querying > .querying-image {\n line-height: 0;\n}\n.paraui-v3-querying > .querying-image img {\n width: 100%;\n}\n.paraui-v3-querying > .querying-description {\n line-height: 17px;\n font-size: 14px;\n font-weight: 400;\n color: rgba(46, 55, 67, 0.7);\n}\n.paraui-v3-querying.paraui-v3-querying-large > .querying-description {\n margin-top: 24px;\n}\n.paraui-v3-querying.paraui-v3-querying-small > .querying-description {\n margin-top: 12px;\n font-size: 12px;\n}";
708
709
  styleInject(css_248z);
709
710
 
710
711
  var imageMap = {
@@ -741,17 +742,17 @@ var Querying = function Querying(props) {
741
742
  }
742
743
 
743
744
  return jsx("div", Object.assign({
744
- className: clsx('paraui-querying', className, "paraui-querying-".concat(size)),
745
+ className: clsx("".concat($prefixCls, "-querying"), className, "".concat($prefixCls, "-querying-").concat(size)),
745
746
  style: style
746
747
  }, {
747
748
  children: customQuerying ? customQuerying : jsxs(Fragment, {
748
749
  children: [jsx("div", Object.assign({
749
- className: 'paraui-querying-image',
750
+ className: 'querying-image',
750
751
  style: imageStyle
751
752
  }, {
752
753
  children: imageNode
753
754
  })), des && jsx("div", Object.assign({
754
- className: 'paraui-querying-description'
755
+ className: 'querying-description'
755
756
  }, {
756
757
  children: des
757
758
  }))]
package/README.md CHANGED
@@ -1,3 +1,35 @@
1
+ ## 版本: 3.0.2
2
+
3
+ para-ui/core@3.0.2 发布
4
+ 样式隔离问题已验证
5
+ 【Selector】修改选择器搜索可以点击下级
6
+ 【Tooltip】增加followCursor属性
7
+ 【Upload.ImgCrop】裁剪时开启无限制拖动,增加fixedCropSize属性
8
+
9
+ ## 版本: 3.0.2-beta
10
+
11
+ para-ui/core@3.0.2-beta 发布
12
+ 验证样式隔离问题
13
+ 【AutoBox】修改下拉浮层
14
+ 【Selector】选择器修改自定义id,数据渲染失败
15
+ 【Table】表格新增记住列
16
+ 【Table】修改表格表头样式
17
+ 【Table】允许全局统一改变参数
18
+ 【Table】加载表格的时候,获取本地储存的表格列信息,不过期,会重置过期时间。并且会删除掉已过期的其他表格记录本地表格列的信息
19
+
20
+ ## 版本: 3.0.1
21
+
22
+ para-ui/core@3.0.1 发布
23
+ 【PageHeader】 导航栏页头修改用户名行高,让内容不被遮挡
24
+ 【Table】 修改表格请求多次发送loading在safari不正常
25
+ 【Table】 提高表格loading组件层级为100,防止在表格中使用,固定列被遮挡
26
+ 【Table】修复表格表头显示列,复选框safari不对齐问题
27
+ 【Selector】增加空状态
28
+ 【TextField】增加搜索空状态
29
+ 【Button】增加 a 链接行为
30
+ 【Button.IconButton】增加 a 链接行为
31
+ 【ComboSelect】超出最大Tag显示数,超出部分弹出显示
32
+
1
33
  ## 版本: 3.0.0
2
34
 
3
35
  para-ui/core@3.0.0 发布
@@ -334,7 +366,6 @@
334
366
  【ComboSelect】解决超出屏幕时,上下闪动问题
335
367
  【ComboSelect】解决数据为空时,频繁刷新问题
336
368
  【ComboSelect】解决表格搜索模式时,多个滚动条问题
337
- 【Tree】增加onMounted属性,非空挂载完成回调
338
369
  【ToggleButtonGroup】增加文字类型和样式
339
370
  【MultiBox】修改下边距过大
340
371
  【SingleBox】修改下边距过大
package/Radio/index.js CHANGED
@@ -2,6 +2,7 @@ import { _ as _slicedToArray } from '../_verture/slicedToArray-d7722f4b.js';
2
2
  import { jsxs, jsx } from 'react/jsx-runtime';
3
3
  import { useState, useEffect } from 'react';
4
4
  import Label from '../Label/index.js';
5
+ import { $ as $prefixCls } from '../_verture/constant-bf34e6fa.js';
5
6
  import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
6
7
  import '../Help/index.js';
7
8
  import '../_verture/tslib.es6-55ed4bd2.js';
@@ -11,7 +12,7 @@ import 'rc-tooltip/lib/placements';
11
12
  import 'clsx';
12
13
  import '@para-ui/icons/Help';
13
14
 
14
- var css_248z = "@charset \"UTF-8\";\n/**\n* @author Hanz\n* @date 2021/10/20 下午2:08\n* @description color\n*/\n.paraui-radio {\n font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif;\n font-size: 14px;\n font-weight: 400;\n cursor: pointer;\n display: inline-flex;\n align-items: flex-start;\n line-height: 16px;\n}\n.paraui-radio:hover > .paraui-radio-label {\n color: rgba(54, 102, 214, 0.8);\n cursor: pointer;\n}\n.paraui-radio:hover > .paraui-radio-label svg {\n color: rgba(54, 102, 214, 0.8);\n}\n.paraui-radio:hover > .paraui-help > .paraui-radio-label {\n color: rgba(54, 102, 214, 0.8);\n cursor: pointer;\n}\n.paraui-radio:hover > .paraui-help > .paraui-radio-label svg {\n color: rgba(54, 102, 214, 0.8);\n}\n.paraui-radio:hover > .paraui-radio-box > .paraui-radio-box-inner {\n border-color: rgba(54, 102, 214, 0.8);\n}\n.paraui-radio > .paraui-radio-box {\n position: relative;\n}\n.paraui-radio > .paraui-radio-box > input {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 1;\n width: 100%;\n height: 100%;\n opacity: 0;\n cursor: pointer;\n}\n.paraui-radio > .paraui-radio-box > .paraui-radio-box-inner {\n position: relative;\n top: 0;\n left: 0;\n display: block;\n background-color: white;\n border: 1px solid rgba(171, 176, 185, 0.4);\n border-radius: 50%;\n}\n.paraui-radio > .paraui-radio-box > .paraui-radio-box-inner:after {\n position: absolute;\n display: table;\n content: \" \";\n transform: scale(1) translate(-50%, -50%);\n background-color: white;\n border-radius: 50%;\n left: 50%;\n top: 50%;\n}\n.paraui-radio > .paraui-radio-label {\n color: rgb(46, 55, 67);\n padding: 0 8px;\n margin: 0;\n display: inline-flex;\n align-items: flex-start;\n}\n.paraui-radio > .paraui-radio-label > .paraui-help > svg {\n top: 0;\n}\n.paraui-radio .paraui-label {\n line-height: 16px;\n}\n.paraui-radio > .paraui-help {\n padding: 0 8px;\n}\n.paraui-radio > .paraui-help > .paraui-radio-label {\n color: rgb(46, 55, 67);\n margin: 0;\n display: inline-flex;\n align-items: center;\n}\n.paraui-radio.radio-checked > .paraui-radio-box > .paraui-radio-box-inner {\n border-color: transparent;\n background-color: rgb(54, 102, 214);\n}\n.paraui-radio.radio-checked:hover > .paraui-radio-box > .paraui-radio-box-inner {\n border-color: transparent;\n background-color: rgba(54, 102, 214, 0.8);\n}\n.paraui-radio.radio-disabled {\n cursor: not-allowed;\n}\n.paraui-radio.radio-disabled:hover > .paraui-radio-box > .paraui-radio-box-inner {\n background-color: rgb(245, 246, 247);\n border-color: rgba(171, 176, 185, 0.4);\n}\n.paraui-radio.radio-disabled > .paraui-radio-label {\n color: rgba(46, 55, 67, 0.4);\n cursor: not-allowed;\n}\n.paraui-radio.radio-disabled > .paraui-radio-label svg {\n color: rgba(46, 55, 67, 0.4);\n}\n.paraui-radio.radio-disabled > .paraui-radio-box > input {\n cursor: not-allowed;\n}\n.paraui-radio.radio-disabled > .paraui-radio-box > .paraui-radio-box-inner {\n background-color: rgb(245, 246, 247);\n border-color: rgba(171, 176, 185, 0.4);\n}\n.paraui-radio.radio-disabled > .paraui-radio-box > .paraui-radio-box-inner:after {\n background-color: rgb(245, 246, 247);\n}\n.paraui-radio.radio-disabled.radio-checked > .paraui-radio-box > .paraui-radio-box-inner:after {\n background-color: rgba(171, 176, 185, 0.4);\n}\n.paraui-radio.radio-disabled > .paraui-help {\n color: rgba(46, 55, 67, 0.4);\n}\n.paraui-radio.radio-disabled > .paraui-help > .paraui-radio-label {\n color: rgba(46, 55, 67, 0.4);\n cursor: not-allowed;\n}\n.paraui-radio.radio-small > .paraui-radio-box {\n top: 1px;\n}\n.paraui-radio.radio-small > .paraui-radio-box > .paraui-radio-box-inner {\n width: 14px;\n height: 14px;\n}\n.paraui-radio.radio-small > .paraui-radio-box > .paraui-radio-box-inner:after {\n width: 4px;\n height: 4px;\n}\n.paraui-radio.radio-medium > .paraui-radio-box > .paraui-radio-box-inner {\n width: 16px;\n height: 16px;\n}\n.paraui-radio.radio-medium > .paraui-radio-box > .paraui-radio-box-inner:after {\n width: 6px;\n height: 6px;\n}\n.paraui-radio.radio-large > .paraui-radio-box > .paraui-radio-box-inner {\n width: 16px;\n height: 16px;\n}\n.paraui-radio.radio-large > .paraui-radio-box > .paraui-radio-box-inner:after {\n width: 6px;\n height: 6px;\n}";
15
+ var css_248z = "@charset \"UTF-8\";\n/**\n* @author Hanz\n* @date 2021/10/20 下午2:08\n* @description color\n*/\n/**\n* @author linhd\n* @date 2022/8/12 5:28 PM\n* @description 全局css前缀\n*/\n.paraui-v3-radio {\n font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif;\n font-size: 14px;\n font-weight: 400;\n cursor: pointer;\n display: inline-flex;\n align-items: flex-start;\n line-height: 16px;\n}\n.paraui-v3-radio:hover > .radio-label {\n color: rgba(54, 102, 214, 0.8);\n cursor: pointer;\n}\n.paraui-v3-radio:hover > .radio-label svg {\n color: rgba(54, 102, 214, 0.8);\n}\n.paraui-v3-radio:hover > .radio-help > .radio-label {\n color: rgba(54, 102, 214, 0.8);\n cursor: pointer;\n}\n.paraui-v3-radio:hover > .radio-help > .radio-label svg {\n color: rgba(54, 102, 214, 0.8);\n}\n.paraui-v3-radio:hover > .radio-box > .radio-box-inner {\n border-color: rgba(54, 102, 214, 0.8);\n}\n.paraui-v3-radio > .radio-box {\n position: relative;\n}\n.paraui-v3-radio > .radio-box > input {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 1;\n width: 100%;\n height: 100%;\n opacity: 0;\n cursor: pointer;\n}\n.paraui-v3-radio > .radio-box > .radio-box-inner {\n position: relative;\n top: 0;\n left: 0;\n display: block;\n background-color: white;\n border: 1px solid rgba(171, 176, 185, 0.4);\n border-radius: 50%;\n}\n.paraui-v3-radio > .radio-box > .radio-box-inner:after {\n position: absolute;\n display: table;\n content: \" \";\n transform: scale(1) translate(-50%, -50%);\n background-color: white;\n border-radius: 50%;\n left: 50%;\n top: 50%;\n}\n.paraui-v3-radio > .radio-label {\n color: rgb(46, 55, 67);\n padding: 0 8px;\n margin: 0;\n display: inline-flex;\n align-items: flex-start;\n}\n.paraui-v3-radio > .radio-label > .radio-help > svg {\n top: 0;\n}\n.paraui-v3-radio .radio-label {\n line-height: 16px;\n}\n.paraui-v3-radio > .radio-help {\n padding: 0 8px;\n position: relative;\n top: -1px;\n}\n.paraui-v3-radio > .radio-help > .radio-label {\n color: rgb(46, 55, 67);\n margin: 0;\n display: inline-flex;\n align-items: center;\n}\n.paraui-v3-radio.paraui-v3-radio-checked > .radio-box > .radio-box-inner {\n border-color: transparent;\n background-color: rgb(54, 102, 214);\n}\n.paraui-v3-radio.paraui-v3-radio-checked:hover > .radio-box > .radio-box-inner {\n border-color: transparent;\n background-color: rgba(54, 102, 214, 0.8);\n}\n.paraui-v3-radio.paraui-v3-radio-disabled {\n cursor: not-allowed;\n}\n.paraui-v3-radio.paraui-v3-radio-disabled:hover > .radio-box > .radio-box-inner {\n background-color: rgb(245, 246, 247);\n border-color: rgba(171, 176, 185, 0.4);\n}\n.paraui-v3-radio.paraui-v3-radio-disabled > .radio-label {\n color: rgba(46, 55, 67, 0.4);\n cursor: not-allowed;\n}\n.paraui-v3-radio.paraui-v3-radio-disabled > .radio-label svg {\n color: rgba(46, 55, 67, 0.4);\n}\n.paraui-v3-radio.paraui-v3-radio-disabled > .radio-box > input {\n cursor: not-allowed;\n}\n.paraui-v3-radio.paraui-v3-radio-disabled > .radio-box > .radio-box-inner {\n background-color: rgb(245, 246, 247);\n border-color: rgba(171, 176, 185, 0.4);\n}\n.paraui-v3-radio.paraui-v3-radio-disabled > .radio-box > .radio-box-inner:after {\n background-color: rgb(245, 246, 247);\n}\n.paraui-v3-radio.paraui-v3-radio-disabled.paraui-v3-radio-checked > .radio-box > .radio-box-inner:after {\n background-color: rgba(171, 176, 185, 0.4);\n}\n.paraui-v3-radio.paraui-v3-radio-disabled > .radio-help {\n color: rgba(46, 55, 67, 0.4);\n}\n.paraui-v3-radio.paraui-v3-radio-disabled > .radio-help > .radio-label {\n color: rgba(46, 55, 67, 0.4);\n cursor: not-allowed;\n}\n.paraui-v3-radio.paraui-v3-radio-small > .radio-box {\n top: 1px;\n}\n.paraui-v3-radio.paraui-v3-radio-small > .radio-box > .radio-box-inner {\n width: 14px;\n height: 14px;\n}\n.paraui-v3-radio.paraui-v3-radio-small > .radio-box > .radio-box-inner:after {\n width: 4px;\n height: 4px;\n}\n.paraui-v3-radio.paraui-v3-radio-medium > .radio-box > .radio-box-inner {\n width: 16px;\n height: 16px;\n}\n.paraui-v3-radio.paraui-v3-radio-medium > .radio-box > .radio-box-inner:after {\n width: 6px;\n height: 6px;\n}\n.paraui-v3-radio.paraui-v3-radio-large > .radio-box > .radio-box-inner {\n width: 16px;\n height: 16px;\n}\n.paraui-v3-radio.paraui-v3-radio-large > .radio-box > .radio-box-inner:after {\n width: 6px;\n height: 6px;\n}";
15
16
  styleInject(css_248z);
16
17
 
17
18
  var Radio = function Radio(props) {
@@ -51,16 +52,16 @@ var Radio = function Radio(props) {
51
52
 
52
53
 
53
54
  var handClass = function handClass() {
54
- var str = 'paraui-radio';
55
+ var str = $prefixCls + '-radio';
55
56
  if (className) str += ' ' + className;
56
- if (size) str += ' radio-' + size;
57
- if (disabled) str += ' radio-disabled';
58
- if (checkedCom) str += ' radio-checked';
57
+ if (size) str += " ".concat($prefixCls, "-radio-").concat(size);
58
+ if (disabled) str += " ".concat($prefixCls, "-radio-disabled");
59
+ if (checkedCom) str += " ".concat($prefixCls, "-radio-checked");
59
60
  return str;
60
61
  };
61
62
 
62
63
  var handLabelClass = function handLabelClass() {
63
- var str = 'paraui-radio-label';
64
+ var str = 'radio-label';
64
65
 
65
66
  if (labelTooltip && labelTooltip.className) {
66
67
  str += ' ' + labelTooltip.className;
@@ -68,6 +69,18 @@ var Radio = function Radio(props) {
68
69
 
69
70
  return str;
70
71
  };
72
+ /** 处理帮组classNaem */
73
+
74
+
75
+ var handHelpClassName = function handHelpClassName() {
76
+ var str = ' radio-help';
77
+
78
+ if (labelTooltip && labelTooltip.helpClassName) {
79
+ str += ' ' + labelTooltip.helpClassName;
80
+ }
81
+
82
+ return str;
83
+ };
71
84
 
72
85
  return jsxs("label", Object.assign({
73
86
  className: handClass(),
@@ -75,17 +88,18 @@ var Radio = function Radio(props) {
75
88
  style: style
76
89
  }, {
77
90
  children: [jsxs("span", Object.assign({
78
- className: "paraui-radio-box"
91
+ className: "radio-box"
79
92
  }, {
80
93
  children: [jsx("input", Object.assign({
81
94
  type: "radio",
82
95
  value: checkedCom
83
96
  }, props.inputProps)), jsx("span", {
84
- className: "paraui-radio-box-inner"
97
+ className: "radio-box-inner"
85
98
  })]
86
99
  })), label !== undefined && label !== '' && label !== null ? jsx(Label, Object.assign({
87
100
  label: label
88
101
  }, labelTooltip, {
102
+ helpClassName: handHelpClassName(),
89
103
  className: handLabelClass()
90
104
  })) : null]
91
105
  }));
@@ -6,11 +6,12 @@
6
6
  import React, { FunctionComponent, ReactNode } from 'react';
7
7
  import { RadioProps } from '../Radio';
8
8
  import { LabelTooltipProps } from "../Label";
9
+ import { HelperTextDetailProps } from "../HelperText";
9
10
  import './index.scss';
10
11
  export interface RadioListProps extends RadioProps {
11
12
  [name: string]: any;
12
13
  }
13
- export interface RadioGroupProps {
14
+ export interface RadioGroupProps extends HelperTextDetailProps {
14
15
  /** 样式class */
15
16
  className?: string;
16
17
  /** style */
@@ -27,10 +28,6 @@ export interface RadioGroupProps {
27
28
  row?: boolean;
28
29
  /** 是否禁用 */
29
30
  disabled?: boolean;
30
- /** 是否显示错误 */
31
- error?: boolean;
32
- /** 错误提示 */
33
- helperText?: ReactNode;
34
31
  /** 默认值 不受控 */
35
32
  defaultValue?: any;
36
33
  /** 默认值 */
@@ -4,6 +4,7 @@ import { jsxs, jsx } from 'react/jsx-runtime';
4
4
  import { Radio } from '../Radio/index.js';
5
5
  import Label from '../Label/index.js';
6
6
  import HelperText from '../HelperText/index.js';
7
+ import { $ as $prefixCls } from '../_verture/constant-bf34e6fa.js';
7
8
  import { s as styleInject } from '../_verture/style-inject.es-300983ab.js';
8
9
  import '../Help/index.js';
9
10
  import '../_verture/tslib.es6-55ed4bd2.js';
@@ -13,7 +14,7 @@ import 'rc-tooltip/lib/placements';
13
14
  import 'clsx';
14
15
  import '@para-ui/icons/Help';
15
16
 
16
- var css_248z = "@charset \"UTF-8\";\n/**\n* @author Hanz\n* @date 2021/10/20 下午2:08\n* @description color\n*/\n.paraui-radio-group {\n font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif;\n font-size: 14px;\n font-weight: 400;\n width: 100%;\n}\n.paraui-radio-group > .radio-group-content {\n line-height: 0;\n}\n.paraui-radio-group.radio-group-column > .radio-group-content {\n display: flex;\n flex-direction: column;\n}\n.paraui-radio-group.radio-group-column > .radio-group-content > .paraui-radio {\n margin-bottom: 8px;\n}\n.paraui-radio-group.radio-group-column > .radio-group-content > .paraui-radio:last-child {\n margin-bottom: 0;\n}";
17
+ var css_248z = "@charset \"UTF-8\";\n/**\n* @author Hanz\n* @date 2021/10/20 下午2:08\n* @description color\n*/\n/**\n* @author linhd\n* @date 2022/8/12 5:28 PM\n* @description 全局css前缀\n*/\n.paraui-v3-radio-group {\n font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif;\n font-size: 14px;\n font-weight: 400;\n width: 100%;\n}\n.paraui-v3-radio-group > .radio-group-label {\n margin-bottom: 4px;\n}\n.paraui-v3-radio-group > .radio-group-content {\n line-height: 0;\n}\n.paraui-v3-radio-group > .radio-group-content > .paraui-v3-radio {\n margin-top: 8px;\n margin-bottom: 4px;\n}\n.paraui-v3-radio-group.paraui-v3-radio-group-column > .radio-group-content {\n display: flex;\n flex-direction: column;\n}";
17
18
  styleInject(css_248z);
18
19
 
19
20
  var RadioGroup = function RadioGroup(props) {
@@ -33,6 +34,7 @@ var RadioGroup = function RadioGroup(props) {
33
34
  required = _props$required === void 0 ? false : _props$required,
34
35
  _props$error = props.error,
35
36
  error = _props$error === void 0 ? false : _props$error,
37
+ hideErrorDom = props.hideErrorDom,
36
38
  _props$helperText = props.helperText,
37
39
  helperText = _props$helperText === void 0 ? '' : _props$helperText,
38
40
  _props$id = props.id,
@@ -92,12 +94,12 @@ var RadioGroup = function RadioGroup(props) {
92
94
 
93
95
 
94
96
  var handClass = function handClass() {
95
- var str = 'paraui-radio-group';
97
+ var str = $prefixCls + '-radio-group';
96
98
  if (className) str += ' ' + className;
97
- if (size) str += ' radio-group-' + size;
98
- if (error) str += ' radio-group-error';
99
- if (disabled) str += ' radio-group-disabled';
100
- if (row) str += ' radio-group-row';else str += ' radio-group-column';
99
+ if (size) str += " ".concat($prefixCls, "-radio-group-size");
100
+ if (error) str += " ".concat($prefixCls, "-radio-group-error");
101
+ if (disabled) str += " ".concat($prefixCls, "-radio-group-disabled");
102
+ if (row) str += " ".concat($prefixCls, "-radio-group-row");else str += " ".concat($prefixCls, "-radio-group-column");
101
103
  return str;
102
104
  };
103
105
 
@@ -120,7 +122,8 @@ var RadioGroup = function RadioGroup(props) {
120
122
  })), jsx(HelperText, {
121
123
  className: "radio-group-error-text",
122
124
  error: error,
123
- helperText: helperText
125
+ helperText: helperText,
126
+ hideErrorDom: hideErrorDom
124
127
  })]
125
128
  }));
126
129
  };