@rainbow-oh/yee-c 0.4.3 → 0.4.4

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 (96) hide show
  1. package/dist/cjs/Cascader/cascader.js +53 -62
  2. package/dist/cjs/Cascader/interface.d.ts +19 -2
  3. package/dist/cjs/Cascader/node.js +11 -6
  4. package/dist/cjs/Cascader/search-list.js +2 -1
  5. package/dist/cjs/Cascader/utils/index.d.ts +58 -14
  6. package/dist/cjs/Cascader/utils/index.js +57 -73
  7. package/dist/cjs/Input/style/index.less +19 -0
  8. package/dist/cjs/Popover/style/index.less +1 -0
  9. package/dist/cjs/Select/interface.d.ts +77 -0
  10. package/dist/cjs/Select/option.d.ts +2 -1
  11. package/dist/cjs/Select/option.js +6 -3
  12. package/dist/cjs/Select/options.d.ts +3 -2
  13. package/dist/cjs/Select/options.js +53 -47
  14. package/dist/cjs/Select/select.js +1 -1
  15. package/dist/cjs/Select/style/index.less +8 -0
  16. package/dist/cjs/Selector/interface.d.ts +4 -0
  17. package/dist/cjs/Selector/selector.js +3 -0
  18. package/dist/cjs/Selector/style/index.less +135 -116
  19. package/dist/cjs/Table/hooks/useFilter.js +1 -1
  20. package/dist/cjs/Table/interface.d.ts +4 -0
  21. package/dist/cjs/Table/style/index.less +2 -0
  22. package/dist/cjs/Table/theader/filter.js +2 -1
  23. package/dist/cjs/Tabs/demo/basic.js +8 -1
  24. package/dist/cjs/Tabs/tabs.js +3 -1
  25. package/dist/cjs/Tag/demo/checkable.js +1 -0
  26. package/dist/cjs/Tag/tag.js +1 -1
  27. package/dist/cjs/Trigger/trigger.js +1 -1
  28. package/dist/cjs/style/color.css +1 -1
  29. package/dist/cjs/style/size.css +10 -2
  30. package/dist/cjs/style/themes.css +1 -1
  31. package/dist/cjs/style/variables.css +12 -4
  32. package/dist/cjs/version.d.ts +1 -1
  33. package/dist/cjs/version.js +1 -1
  34. package/dist/esm/Cascader/cascader.js +49 -56
  35. package/dist/esm/Cascader/interface.d.ts +19 -2
  36. package/dist/esm/Cascader/node.js +8 -11
  37. package/dist/esm/Cascader/search-list.js +2 -1
  38. package/dist/esm/Cascader/utils/index.d.ts +58 -14
  39. package/dist/esm/Cascader/utils/index.js +124 -75
  40. package/dist/esm/Input/style/index.less +19 -0
  41. package/dist/esm/Popover/style/index.less +1 -0
  42. package/dist/esm/Select/interface.d.ts +77 -0
  43. package/dist/esm/Select/option.d.ts +2 -1
  44. package/dist/esm/Select/option.js +11 -2
  45. package/dist/esm/Select/options.d.ts +3 -2
  46. package/dist/esm/Select/options.js +3 -1
  47. package/dist/esm/Select/select.js +1 -3
  48. package/dist/esm/Select/style/index.less +8 -0
  49. package/dist/esm/Selector/interface.d.ts +4 -0
  50. package/dist/esm/Selector/selector.js +4 -2
  51. package/dist/esm/Selector/style/index.less +135 -116
  52. package/dist/esm/Table/hooks/useFilter.js +1 -1
  53. package/dist/esm/Table/interface.d.ts +4 -0
  54. package/dist/esm/Table/style/index.less +2 -0
  55. package/dist/esm/Table/theader/filter.js +3 -4
  56. package/dist/esm/Tabs/demo/basic.js +4 -1
  57. package/dist/esm/Tabs/tabs.js +3 -1
  58. package/dist/esm/Tag/demo/checkable.js +1 -0
  59. package/dist/esm/Tag/tag.js +1 -1
  60. package/dist/esm/Trigger/trigger.js +1 -1
  61. package/dist/esm/style/color.css +1 -1
  62. package/dist/esm/style/size.css +10 -2
  63. package/dist/esm/style/themes.css +1 -1
  64. package/dist/esm/style/variables.css +12 -4
  65. package/dist/esm/version.d.ts +1 -1
  66. package/dist/esm/version.js +1 -1
  67. package/dist/umd/yee-c.min.css +2 -2
  68. package/dist/umd/yee-c.min.js +1 -1
  69. package/package.json +1 -1
  70. package/src/Cascader/cascader.tsx +65 -62
  71. package/src/Cascader/interface.ts +19 -2
  72. package/src/Cascader/node.tsx +12 -7
  73. package/src/Cascader/search-list.tsx +1 -1
  74. package/src/Cascader/utils/index.ts +130 -68
  75. package/src/Input/style/index.less +19 -0
  76. package/src/Popover/style/index.less +1 -0
  77. package/src/Select/interface.ts +87 -0
  78. package/src/Select/option.tsx +13 -4
  79. package/src/Select/options.tsx +49 -43
  80. package/src/Select/select.tsx +5 -2
  81. package/src/Select/style/index.less +8 -0
  82. package/src/Selector/interface.ts +4 -0
  83. package/src/Selector/selector.tsx +2 -0
  84. package/src/Selector/style/index.less +135 -116
  85. package/src/Table/hooks/useFilter.ts +1 -1
  86. package/src/Table/interface.ts +4 -0
  87. package/src/Table/style/index.less +2 -0
  88. package/src/Table/theader/filter.tsx +2 -2
  89. package/src/Tabs/demo/basic.tsx +7 -1
  90. package/src/Tabs/tabs.tsx +3 -2
  91. package/src/Tag/demo/checkable.tsx +1 -0
  92. package/src/Tag/tag.tsx +1 -1
  93. package/src/Trigger/trigger.tsx +1 -1
  94. package/src/style/color.css +1 -1
  95. package/src/style/size.css +10 -2
  96. package/src/version.ts +1 -1
@@ -9,6 +9,14 @@
9
9
  var(--yee-selector-border-color);
10
10
  border-radius: var(--yee-selector-border-radius);
11
11
 
12
+ &-small {
13
+ padding: var(--yee-selector-small-padding);
14
+ }
15
+
16
+ &-large {
17
+ padding: var(--yee-selector-large-padding);
18
+ }
19
+
12
20
  &:focus-visible {
13
21
  outline: none;
14
22
  }
@@ -31,6 +39,13 @@
31
39
  line-height: var(--yee-selector-input-line-height);
32
40
  }
33
41
 
42
+ @{pls}-selection-item {
43
+ white-space: nowrap;
44
+ overflow: hidden;
45
+ text-overflow: ellipsis;
46
+ padding-right: 16px;
47
+ }
48
+
34
49
  &:focus-within,
35
50
  &:focus {
36
51
  @{pls}-input-wrapper {
@@ -39,6 +54,10 @@
39
54
 
40
55
  &.with-input-value {
41
56
  opacity: 1;
57
+
58
+ & + @{pls}-selection-item {
59
+ opacity: 0;
60
+ }
42
61
  }
43
62
  }
44
63
 
@@ -188,122 +207,122 @@
188
207
  }
189
208
  }
190
209
 
191
- .yee-tags-searchable {
192
- cursor: text;
193
-
194
- .yee-tags-input-wrapper {
195
- width: 100%;
196
- padding: 0;
197
- border: none;
198
- outline: none;
199
-
200
- &:focus {
201
- border: none;
202
- box-shadow: none;
203
- }
204
- }
205
-
206
- .yee-tags-icon {
207
- width: auto;
208
- }
209
- }
210
-
211
- .yee-tags-single-mode {
212
- height: var(--yee-tags-height);
213
-
214
- .yee-tags-input-container {
215
- position: absolute;
216
- z-index: -1;
217
- width: 100%;
218
- font-size: var(--yee-tags-input-font-size);
219
- line-height: var(--yee-tags-input-line-height);
220
-
221
- input {
222
- width: 100%;
223
- }
224
- }
225
-
226
- &.yee-tags-searchable {
227
- .yee-tags-single-option {
228
- width: 100%;
229
- }
230
-
231
- .yee-tags-container {
232
- &:focus-within,
233
- &:focus {
234
- .yee-tags-input-container {
235
- z-index: 1;
236
- opacity: var(--yee-tags-input-focus-opacity);
237
-
238
- &.has-value {
239
- opacity: 1;
240
-
241
- + .yee-tags-single-option {
242
- display: none;
243
- }
244
- }
245
- }
246
-
247
- .yee-tags-single-option {
248
- opacity: var(--yee-tags-single-option-focus-opacity);
249
- }
250
- }
251
- }
252
- }
253
- }
254
-
255
- .yee-tags-multi-mode {
256
- height: auto;
257
- min-height: var(--yee-tags-multi-min-height);
258
-
259
- &.yee-tags-searchable {
260
- .yee-tag {
261
- max-width: var(--yee-tags-multi-tag-max-width);
262
- height: var(--yee-tags-multi-tag-height);
263
- }
264
- }
265
-
266
- .yee-tags-container {
267
- flex-wrap: wrap;
268
- }
269
-
270
- .yee-tags-input-container {
271
- display: inline-grid;
272
- // color: var(--yee-tags-input-container-font-color);
273
- flex: 1 1 auto;
274
- grid-area: 1 / 1 / 2 / 3;
275
- grid-template-columns: 0 min-content;
276
- box-sizing: border-box;
277
- height: var(--yee-tags-multi-input-height);
278
-
279
- &::after {
280
- grid-area: 1 / 2 / auto / auto;
281
- min-width: var(--yee-tags-multi-input-after-min-width);
282
- margin: 0;
283
- padding: 0;
284
- font: inherit;
285
- white-space: pre;
286
- border: 0;
287
- outline: 0;
288
- visibility: hidden;
289
- content: attr(data-value) ' ';
290
- }
291
-
292
- & > input {
293
- grid-area: 1 / 2 / auto / auto;
294
- width: 100%;
295
- min-width: var(--yee-tags-multi-input-min-width);
296
- height: var(--yee-tags-multi-input-height);
297
- margin: 0;
298
- padding: 0;
299
- font: inherit;
300
- background-color: transparent;
301
- border: 0;
302
- outline: 0;
303
- opacity: 1;
304
- }
305
- }
306
- }
210
+ // .yee-tags-searchable {
211
+ // cursor: text;
212
+
213
+ // .yee-tags-input-wrapper {
214
+ // width: 100%;
215
+ // padding: 0;
216
+ // border: none;
217
+ // outline: none;
218
+
219
+ // &:focus {
220
+ // border: none;
221
+ // box-shadow: none;
222
+ // }
223
+ // }
224
+
225
+ // .yee-tags-icon {
226
+ // width: auto;
227
+ // }
228
+ // }
229
+
230
+ // .yee-tags-single-mode {
231
+ // height: var(--yee-tags-height);
232
+
233
+ // .yee-tags-input-container {
234
+ // position: absolute;
235
+ // z-index: -1;
236
+ // width: 100%;
237
+ // font-size: var(--yee-tags-input-font-size);
238
+ // line-height: var(--yee-tags-input-line-height);
239
+
240
+ // input {
241
+ // width: 100%;
242
+ // }
243
+ // }
244
+
245
+ // &.yee-tags-searchable {
246
+ // .yee-tags-single-option {
247
+ // width: 100%;
248
+ // }
249
+
250
+ // .yee-tags-container {
251
+ // &:focus-within,
252
+ // &:focus {
253
+ // .yee-tags-input-container {
254
+ // z-index: 1;
255
+ // opacity: var(--yee-tags-input-focus-opacity);
256
+
257
+ // &.has-value {
258
+ // opacity: 1;
259
+
260
+ // + .yee-tags-single-option {
261
+ // display: none;
262
+ // }
263
+ // }
264
+ // }
265
+
266
+ // .yee-tags-single-option {
267
+ // opacity: var(--yee-tags-single-option-focus-opacity);
268
+ // }
269
+ // }
270
+ // }
271
+ // }
272
+ // }
273
+
274
+ // .yee-tags-multi-mode {
275
+ // height: auto;
276
+ // min-height: var(--yee-tags-multi-min-height);
277
+
278
+ // &.yee-tags-searchable {
279
+ // .yee-tag {
280
+ // max-width: var(--yee-tags-multi-tag-max-width);
281
+ // height: var(--yee-tags-multi-tag-height);
282
+ // }
283
+ // }
284
+
285
+ // .yee-tags-container {
286
+ // flex-wrap: wrap;
287
+ // }
288
+
289
+ // .yee-tags-input-container {
290
+ // display: inline-grid;
291
+ // // color: var(--yee-tags-input-container-font-color);
292
+ // flex: 1 1 auto;
293
+ // grid-area: 1 / 1 / 2 / 3;
294
+ // grid-template-columns: 0 min-content;
295
+ // box-sizing: border-box;
296
+ // height: var(--yee-tags-multi-input-height);
297
+
298
+ // &::after {
299
+ // grid-area: 1 / 2 / auto / auto;
300
+ // min-width: var(--yee-tags-multi-input-after-min-width);
301
+ // margin: 0;
302
+ // padding: 0;
303
+ // font: inherit;
304
+ // white-space: pre;
305
+ // border: 0;
306
+ // outline: 0;
307
+ // visibility: hidden;
308
+ // content: attr(data-value) ' ';
309
+ // }
310
+
311
+ // & > input {
312
+ // grid-area: 1 / 2 / auto / auto;
313
+ // width: 100%;
314
+ // min-width: var(--yee-tags-multi-input-min-width);
315
+ // height: var(--yee-tags-multi-input-height);
316
+ // margin: 0;
317
+ // padding: 0;
318
+ // font: inherit;
319
+ // background-color: transparent;
320
+ // border: 0;
321
+ // outline: 0;
322
+ // opacity: 1;
323
+ // }
324
+ // }
325
+ // }
307
326
 
308
327
  // form error status
309
328
  .yee-form-item-error {
@@ -25,7 +25,7 @@ export default function useFilter(_ref) {
25
25
  var value = _ref2.value,
26
26
  dataIndex = _ref2.dataIndex;
27
27
  var newFilterMap = _toConsumableArray(filterRecords);
28
- if (!value) {
28
+ if (!value || Array.isArray(value) && !value.length) {
29
29
  newFilterMap = newFilterMap.filter(function (item) {
30
30
  return item.dataIndex !== dataIndex;
31
31
  });
@@ -448,6 +448,10 @@ export interface TableProps extends FooterProps, Omit<HeaderProps, 'pageData'>,
448
448
  * Row class name, unlike classNames, this prop can be set dynamically via a function
449
449
  */
450
450
  rowClassName?: (record: object) => string;
451
+ /**
452
+ * Row style, unlike styles, this prop can be set dynamically via a function
453
+ */
454
+ rowStyle?: (record: object) => React.CSSProperties;
451
455
  /**
452
456
  * Pagination config
453
457
  */
@@ -47,6 +47,8 @@
47
47
  }
48
48
 
49
49
  &-filter {
50
+ padding: var(--yee-table-filter-popup-padding);
51
+
50
52
  &-trigger {
51
53
  display: inline-flex;
52
54
  cursor: pointer;
@@ -185,10 +185,8 @@ var HeaderFilter = /*#__PURE__*/React.memo(function (props) {
185
185
  }) : /*#__PURE__*/React.createElement(Search, {
186
186
  size: 14,
187
187
  strokeWidth: 1.5
188
- })
189
- // variant={selectNodes.length ? 'filled' : undefined}
190
- ,
191
- color: "info",
188
+ }),
189
+ variant: selectNodes.length ? 'filled' : undefined,
192
190
  type: "text",
193
191
  size: "small"
194
192
  });
@@ -199,6 +197,7 @@ var HeaderFilter = /*#__PURE__*/React.memo(function (props) {
199
197
  return /*#__PURE__*/React.createElement(Popover, {
200
198
  trigger: "click",
201
199
  placement: "bottomRight",
200
+ className: clsx("".concat(prefixCls, "-filter")),
202
201
  content: popup,
203
202
  arrow: true,
204
203
  open: open,
@@ -72,6 +72,9 @@ export default (function () {
72
72
  }];
73
73
  return /*#__PURE__*/React.createElement(Tabs, {
74
74
  defaultActiveKey: "1",
75
- items: items
75
+ items: items,
76
+ onChange: function onChange(key) {
77
+ return console.log(key);
78
+ }
76
79
  });
77
80
  });
@@ -88,7 +88,9 @@ var Tabs = function Tabs(baseprops) {
88
88
  return;
89
89
  }
90
90
  setMergedActiveKey(key);
91
- onChange === null || onChange === void 0 || onChange(key);
91
+ if (key !== mergedActiveKey) {
92
+ onChange === null || onChange === void 0 || onChange(key);
93
+ }
92
94
  };
93
95
  var contextValue = useMemo(function () {
94
96
  return {
@@ -13,6 +13,7 @@ export default (function () {
13
13
  setChecked = _useState2[1];
14
14
  return /*#__PURE__*/React.createElement(Space, null, /*#__PURE__*/React.createElement(Tag, {
15
15
  checkable: true,
16
+ variant: "outlined",
16
17
  checked: checked,
17
18
  onChange: function onChange(checked) {
18
19
  return setChecked(checked);
@@ -40,7 +40,7 @@ var Tag = /*#__PURE__*/forwardRef(function (baseprops, ref) {
40
40
  onChange === null || onChange === void 0 || onChange(!checked);
41
41
  }
42
42
  };
43
- var cls = clsx(prefixCls, ["".concat(prefixCls, "-").concat(variant)], _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, "".concat(prefixCls, "-").concat(status), status), "".concat(prefixCls, "-dashed"), dashed), "".concat(prefixCls, "-checked"), checked), "".concat(prefixCls, "-").concat(size), size), "".concat(prefixCls, "-checkable"), checkable), className);
43
+ var cls = clsx(prefixCls, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, "".concat(prefixCls, "-").concat(status), status), "".concat(prefixCls, "-dashed"), dashed), "".concat(prefixCls, "-checked"), checked), "".concat(prefixCls, "-").concat(size), size), "".concat(prefixCls, "-checkable"), checkable), ["".concat(prefixCls, "-").concat(variant)], className);
44
44
  var renderClose = function renderClose() {
45
45
  return closable ? /*#__PURE__*/React.createElement(Button, {
46
46
  className: clsx("".concat(prefixCls, "-close"), classNames === null || classNames === void 0 ? void 0 : classNames.close),
@@ -140,7 +140,7 @@ var Trigger = function Trigger(baseprops) {
140
140
  }
141
141
  };
142
142
  return /*#__PURE__*/React.createElement(RcTrigger, _extends({}, rest, {
143
- prefixCls: "yee-trigger",
143
+ prefixCls: prefixCls,
144
144
  mouseEnterDelay: mouseEnterDelay,
145
145
  mouseLeaveDelay: mouseLeaveDelay,
146
146
  arrow: arrow,
@@ -30,7 +30,7 @@
30
30
  --yee-text-color-description: #7c7c7c;
31
31
  --yee-text-color-disabled: #bfbfbf;
32
32
  --yee-text-color-highlight: #f58220;
33
- --yee-text-color-auxiliary: #f5f5f5;
33
+ --yee-text-color-auxiliary: #d1d1d1;
34
34
  --yee-color-split: #e7e7e7;
35
35
  --yee-border-color: #cbd6e2;
36
36
  --yee-border-color-hover-focus: #75b9f0;
@@ -278,6 +278,14 @@
278
278
  --yee-input-border-width: 1px;
279
279
  --yee-input-suffix-gap: 4px;
280
280
  --yee-input-clear-padding: 1px;
281
+ --yee-input-small-font-size: 12px;
282
+ --yee-input-small-line-height: 20px;
283
+ --yee-input-small-height: 24px;
284
+ --yee-input-small-padding: 0 6px;
285
+ --yee-input-large-font-size: 16px;
286
+ --yee-input-large-line-height: 24px;
287
+ --yee-input-large-height: 40px;
288
+ --yee-input-large-padding: 4px 12px;
281
289
 
282
290
  /* --JsonViewer-- */
283
291
  --yee-json-view-font-size: 14px;
@@ -651,7 +659,7 @@
651
659
  --yee-table-bordered-cell-border-width: 1px;
652
660
  --yee-table-bordered-thead-border-width: 1px;
653
661
  --yee-table-thead-action-gap: 8px;
654
- --yee-table-filter-popup-padding: 16px;
662
+ --yee-table-filter-popup-padding: 8px;
655
663
  --yee-table-content-border-radius: 6px 6px 0 0;
656
664
  --yee-table-cell-padding: 13px 16px;
657
665
  --yee-table-cell-line-height: 22px;
@@ -740,7 +748,7 @@
740
748
  --yee-tag-font-size: 12px;
741
749
  --yee-tag-line-height: 22px;
742
750
  --yee-tag-border-width: 1px;
743
- --yee-tag-border-radius: 2px;
751
+ --yee-tag-border-radius: 4px;
744
752
  --yee-tag-icon-margin-left: 4px;
745
753
  --yee-tag-small-height: 16px;
746
754
  --yee-tag-large-height: 28px;
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * @rainbow-oh/yee-c CSS Variables
3
3
  * Auto-generated, do not edit manually
4
- * Generated on 2026-07-01T08:27:40.578Z
4
+ * Generated on 2026-07-03T02:41:11.107Z
5
5
  */
6
6
 
7
7
  /* ========== color.blue.css ========== */
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * @rainbow-oh/yee-c CSS Variables
3
3
  * Auto-generated, do not edit manually
4
- * Generated on 2026-07-01T08:27:40.578Z
4
+ * Generated on 2026-07-03T02:41:11.107Z
5
5
  */
6
6
 
7
7
  /* ========== color.css ========== */
@@ -37,7 +37,7 @@
37
37
  --yee-text-color-description: #7c7c7c;
38
38
  --yee-text-color-disabled: #bfbfbf;
39
39
  --yee-text-color-highlight: #f58220;
40
- --yee-text-color-auxiliary: #f5f5f5;
40
+ --yee-text-color-auxiliary: #d1d1d1;
41
41
  --yee-color-split: #e7e7e7;
42
42
  --yee-border-color: #cbd6e2;
43
43
  --yee-border-color-hover-focus: #75b9f0;
@@ -1396,6 +1396,14 @@
1396
1396
  --yee-input-border-width: 1px;
1397
1397
  --yee-input-suffix-gap: 4px;
1398
1398
  --yee-input-clear-padding: 1px;
1399
+ --yee-input-small-font-size: 12px;
1400
+ --yee-input-small-line-height: 20px;
1401
+ --yee-input-small-height: 24px;
1402
+ --yee-input-small-padding: 0 6px;
1403
+ --yee-input-large-font-size: 16px;
1404
+ --yee-input-large-line-height: 24px;
1405
+ --yee-input-large-height: 40px;
1406
+ --yee-input-large-padding: 4px 12px;
1399
1407
 
1400
1408
  /* --JsonViewer-- */
1401
1409
  --yee-json-view-font-size: 14px;
@@ -1769,7 +1777,7 @@
1769
1777
  --yee-table-bordered-cell-border-width: 1px;
1770
1778
  --yee-table-bordered-thead-border-width: 1px;
1771
1779
  --yee-table-thead-action-gap: 8px;
1772
- --yee-table-filter-popup-padding: 16px;
1780
+ --yee-table-filter-popup-padding: 8px;
1773
1781
  --yee-table-content-border-radius: 6px 6px 0 0;
1774
1782
  --yee-table-cell-padding: 13px 16px;
1775
1783
  --yee-table-cell-line-height: 22px;
@@ -1858,7 +1866,7 @@
1858
1866
  --yee-tag-font-size: 12px;
1859
1867
  --yee-tag-line-height: 22px;
1860
1868
  --yee-tag-border-width: 1px;
1861
- --yee-tag-border-radius: 2px;
1869
+ --yee-tag-border-radius: 4px;
1862
1870
  --yee-tag-icon-margin-left: 4px;
1863
1871
  --yee-tag-small-height: 16px;
1864
1872
  --yee-tag-large-height: 28px;
@@ -3,4 +3,4 @@ declare global {
3
3
  __yee_c_version__: string;
4
4
  }
5
5
  }
6
- export declare const version = "0.4.3";
6
+ export declare const version = "0.4.4";
@@ -1,4 +1,4 @@
1
- export var version = "0.4.3";
1
+ export var version = "0.4.4";
2
2
  if (typeof window !== 'undefined') {
3
3
  window.__yee_c_version__ = version;
4
4
  }