one-design-next 0.0.37 → 0.0.39

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.
@@ -99,6 +99,7 @@ html {
99
99
  display: inline-flex;
100
100
  align-items: center;
101
101
  justify-content: center;
102
+ cursor: pointer;
102
103
  transition: all 0.15s cubic-bezier(0.32, 0.72, 0, 1);
103
104
  }
104
105
  [data-odn-button]:disabled, [data-odn-button][data-odn-button-loading=true] {
@@ -123,7 +123,7 @@ var TreeSelect = function TreeSelect(_ref) {
123
123
  }, [visible]);
124
124
  return /*#__PURE__*/React.createElement(RcTreeSelect, _extends({
125
125
  prefixCls: "odn-select",
126
- dropdownClassName: clsx('odn-ts', isMultiple && 'odn-ts-multiple'),
126
+ dropdownClassName: clsx('odn-ts', isMultiple && 'odn-ts-multiple', checkStrictly && 'odn-ts-check-strictly'),
127
127
  className: clsx(className, showInnerSearch && 'odn-select-show-inner-search', light && 'odn-select-light', !light && 'odn-select-outlined'),
128
128
  transitionName: "odn-slide-up",
129
129
  showSearch: false,
@@ -201,4 +201,16 @@ html {
201
201
  .odn-select-tree-switcher-noop {
202
202
  opacity: 0;
203
203
  pointer-events: none;
204
+ }
205
+
206
+ .odn-ts-check-strictly .odn-select-tree-treenode {
207
+ padding-right: 16px;
208
+ }
209
+ .odn-ts-check-strictly .odn-select-tree-node-content-wrapper {
210
+ order: 1;
211
+ }
212
+ .odn-ts-check-strictly .odn-select-tree-checkbox {
213
+ order: 2;
214
+ margin-right: 0;
215
+ margin-left: 8px;
204
216
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "one-design-next",
3
- "version": "0.0.37",
3
+ "version": "0.0.39",
4
4
  "description": "One Design Next from TAD@tencent.com",
5
5
  "packageManager": "pnpm@11.8.0",
6
6
  "module": "dist/index.js",