yootd 0.0.1 → 0.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.
package/README.md CHANGED
@@ -1,7 +1,7 @@
1
- # yotd
1
+ # yootd
2
2
 
3
- [![NPM version](https://img.shields.io/npm/v/yotd.svg?style=flat)](https://npmjs.org/package/yotd)
4
- [![NPM downloads](http://img.shields.io/npm/dm/yotd.svg?style=flat)](https://npmjs.org/package/yotd)
3
+ [![NPM version](https://img.shields.io/npm/v/yootd.svg?style=flat)](https://npmjs.org/package/yootd)
4
+ [![NPM downloads](http://img.shields.io/npm/dm/yootd.svg?style=flat)](https://npmjs.org/package/yootd)
5
5
 
6
6
  A react library developed with dumi
7
7
 
@@ -10,7 +10,7 @@
10
10
  background-color: #ffffff;
11
11
  border-radius: 8px;
12
12
  box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.16);
13
- .ant-btn.css-var-yotd.ant-btn-default.ant-btn-color-default.ant-btn-variant-outlined {
13
+ .ant-btn.css-var-yootd.ant-btn-default.ant-btn-color-default.ant-btn-variant-outlined {
14
14
  background-color: transparent;
15
15
  border: none;
16
16
  &:hover .ant-btn-icon svg path {
@@ -11,7 +11,7 @@
11
11
  background-color: var(--ant-color-border); /* 边框颜色 */
12
12
  transform: translateY(-50%);
13
13
  }
14
- .ant-select.ant-select-outlined.css-var-yotd.ant-select-css-var.ant-select-single.ant-select-allow-clear.ant-select-show-arrow {
14
+ .ant-select.ant-select-outlined.css-var-yootd.ant-select-css-var.ant-select-single.ant-select-allow-clear.ant-select-show-arrow {
15
15
  .ant-select-selector {
16
16
  padding-left: var(--ant-padding);
17
17
  padding-right: var(--ant-padding);
@@ -1,4 +1,4 @@
1
- import { AutoComplete as AntAutoComplete } from 'antd';
2
1
  import type { AutoCompleteProps as AntAutoCompleteProps } from 'antd';
2
+ import { AutoComplete as AntAutoComplete } from 'antd';
3
3
  export type AutoCompleteProps = AntAutoCompleteProps;
4
4
  export declare const AutoComplete: typeof AntAutoComplete;
@@ -3,7 +3,7 @@ import { Breadcrumb as AntBreadcrumb } from 'antd';
3
3
  import React from 'react';
4
4
  export type BreadcrumbProps = AntBreadcrumbProps;
5
5
  type AntBreadcrumbType = typeof AntBreadcrumb;
6
- export type BreadcrumbType = typeof BreadcrumbComponent & Pick<AntBreadcrumbType, "Item" | "Separator">;
6
+ export type BreadcrumbType = typeof BreadcrumbComponent & Pick<AntBreadcrumbType, 'Item' | 'Separator'>;
7
7
  declare const BreadcrumbComponent: React.FC<BreadcrumbProps>;
8
8
  export declare const Breadcrumb: BreadcrumbType;
9
9
  export {};
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { SelectProps } from "..";
3
+ import { IBuildingsProps } from './types/types';
4
+ export declare const Buildings: React.FC<IBuildingsProps & SelectProps>;
@@ -0,0 +1,50 @@
1
+ var _excluded = ["placeholder", "showSearch", "areaType", "areaSubType"];
2
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
3
+ function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
4
+ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
5
+ import { useQuery } from '@tanstack/react-query';
6
+ import React, { useMemo } from 'react';
7
+ import { Select } from "./..";
8
+ import { useRequest } from "../hooks/useRequest";
9
+ export var Buildings = function Buildings(_ref) {
10
+ var _ref$placeholder = _ref.placeholder,
11
+ placeholder = _ref$placeholder === void 0 ? '请选择楼栋' : _ref$placeholder,
12
+ _ref$showSearch = _ref.showSearch,
13
+ showSearch = _ref$showSearch === void 0 ? true : _ref$showSearch,
14
+ _ref$areaType = _ref.areaType,
15
+ areaType = _ref$areaType === void 0 ? 11 : _ref$areaType,
16
+ _ref$areaSubType = _ref.areaSubType,
17
+ areaSubType = _ref$areaSubType === void 0 ? 13 : _ref$areaSubType,
18
+ rest = _objectWithoutProperties(_ref, _excluded);
19
+ var request = useRequest();
20
+ // 查询楼栋
21
+ var _useQuery = useQuery({
22
+ queryKey: ['buildingsData'],
23
+ queryFn: function queryFn() {
24
+ return request('/v1/areas', {
25
+ params: {
26
+ area_level: 3,
27
+ area_type: areaType,
28
+ area_sub_type: areaSubType
29
+ }
30
+ });
31
+ }
32
+ }),
33
+ buildingsData = _useQuery.data;
34
+ // 将楼栋数据处理成下拉框
35
+ var buildingsOptions = useMemo(function () {
36
+ var _buildingsData$conten;
37
+ return buildingsData === null || buildingsData === void 0 || (_buildingsData$conten = buildingsData.content) === null || _buildingsData$conten === void 0 ? void 0 : _buildingsData$conten.map(function (item) {
38
+ return {
39
+ label: item.areaName,
40
+ value: item.areaId
41
+ };
42
+ });
43
+ }, [buildingsData]);
44
+ return /*#__PURE__*/React.createElement(Select, _extends({
45
+ options: buildingsOptions,
46
+ placeholder: placeholder,
47
+ showSearch: showSearch,
48
+ optionFilterProp: "label"
49
+ }, rest));
50
+ };
@@ -0,0 +1,21 @@
1
+ export interface PageData<T> {
2
+ content: T[];
3
+ page: {
4
+ number: number;
5
+ size: number;
6
+ totalElements: number;
7
+ totalPages: number;
8
+ };
9
+ }
10
+ // 查询位置接口返回的数据类型
11
+ export interface IareaItem {
12
+ areaId: number;
13
+ areaLevel: number;
14
+ areaName: string;
15
+ areaType: number;
16
+ }
17
+ export interface IBuildingsProps {
18
+ showSearch?: boolean;
19
+ areaType?: number;
20
+ areaSubType?: number;
21
+ }
@@ -1,3 +1,3 @@
1
1
  import { Card as AntCard } from 'antd';
2
- export type { CardProps, CardTabListType, CardGridProps, CardMetaProps, CardInterface } from 'antd/es/card';
2
+ export type { CardGridProps, CardInterface, CardMetaProps, CardProps, CardTabListType, } from 'antd/es/card';
3
3
  export declare const Card: typeof AntCard;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { SelectProps } from "..";
3
+ import { ICourseProps } from './types/types';
4
+ export declare const Courses: React.FC<ICourseProps & SelectProps>;
@@ -0,0 +1,40 @@
1
+ var _excluded = ["placeholder", "showSearch"];
2
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
3
+ function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
4
+ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
5
+ import { useQuery } from '@tanstack/react-query';
6
+ import React, { useMemo } from 'react';
7
+ import { Select } from "./..";
8
+ import { useRequest } from "../hooks/useRequest";
9
+ export var Courses = function Courses(_ref) {
10
+ var _ref$placeholder = _ref.placeholder,
11
+ placeholder = _ref$placeholder === void 0 ? '请选择课程' : _ref$placeholder,
12
+ _ref$showSearch = _ref.showSearch,
13
+ showSearch = _ref$showSearch === void 0 ? true : _ref$showSearch,
14
+ rest = _objectWithoutProperties(_ref, _excluded);
15
+ var request = useRequest();
16
+ // 查询所有老师
17
+ var _useQuery = useQuery({
18
+ queryKey: ['courses'],
19
+ queryFn: function queryFn() {
20
+ return request('/v1/education/courses/all');
21
+ }
22
+ }),
23
+ coursesData = _useQuery.data;
24
+ // 将课程数据处理成下拉框
25
+ var allCourseOptions = useMemo(function () {
26
+ var _coursesData$content;
27
+ return coursesData === null || coursesData === void 0 || (_coursesData$content = coursesData.content) === null || _coursesData$content === void 0 ? void 0 : _coursesData$content.map(function (item) {
28
+ return {
29
+ label: item.courseName,
30
+ value: item.courseDefId
31
+ };
32
+ });
33
+ }, [coursesData]);
34
+ return /*#__PURE__*/React.createElement(Select, _extends({
35
+ options: allCourseOptions,
36
+ placeholder: placeholder,
37
+ showSearch: showSearch,
38
+ optionFilterProp: "label"
39
+ }, rest));
40
+ };
@@ -0,0 +1,18 @@
1
+ export interface PageData<T> {
2
+ content: T[];
3
+ page: {
4
+ number: number;
5
+ size: number;
6
+ totalElements: number;
7
+ totalPages: number;
8
+ };
9
+ }
10
+ // 查询课程返回的数据类型
11
+ export interface ICourseItem {
12
+ courseDefId: number;
13
+ courseName: string;
14
+ courseNo: string;
15
+ }
16
+ export interface ICourseProps {
17
+ showSearch?: boolean;
18
+ }
package/dist/index.d.ts CHANGED
@@ -9,8 +9,11 @@ export { Breadcrumb } from './breadcrumb';
9
9
  export type { BreadcrumbProps } from './breadcrumb';
10
10
  export { Button } from './button';
11
11
  export type { ButtonProps } from './button';
12
+ export { Buildings } from './buildings';
12
13
  export { Cascader } from './cascader';
13
14
  export type { CascaderProps } from './cascader';
15
+ export { Courses } from './courses';
16
+ export type { ICourseProps } from './courses/types/types';
14
17
  export { Divider } from './divider';
15
18
  export type { DividerProps } from './divider';
16
19
  export { Dropdown } from './dropdown';
package/dist/index.js CHANGED
@@ -4,7 +4,9 @@ export { AutoComplete } from "./auto-complete";
4
4
  export { Areas } from "./areas";
5
5
  export { Breadcrumb } from "./breadcrumb";
6
6
  export { Button } from "./button";
7
+ export { Buildings } from "./buildings";
7
8
  export { Cascader } from "./cascader";
9
+ export { Courses } from "./courses";
8
10
  export { Divider } from "./divider";
9
11
  export { Dropdown } from "./dropdown";
10
12
  export { Flex } from "./flex";
@@ -11,7 +11,7 @@
11
11
  background-color: var(--ant-color-border); /* 边框颜色 */
12
12
  transform: translateY(-50%);
13
13
  }
14
- .ant-select.ant-select-outlined.css-var-yotd.ant-select-css-var.ant-select-single.ant-select-allow-clear.ant-select-show-arrow {
14
+ .ant-select.ant-select-outlined.css-var-yootd.ant-select-css-var.ant-select-single.ant-select-allow-clear.ant-select-show-arrow {
15
15
  .ant-select-selector {
16
16
  padding-left: var(--ant-padding);
17
17
  padding-right: var(--ant-padding);
@@ -1,3 +1,3 @@
1
1
  import { Slider as AntSlider } from 'antd';
2
- export type { Formatter, HandleGeneratorFn, SliderBaseProps, SliderMarks, SliderRangeProps, SliderSingleProps, SliderTooltipProps, Opens, } from 'antd/es/slider';
2
+ export type { Formatter, HandleGeneratorFn, Opens, SliderBaseProps, SliderMarks, SliderRangeProps, SliderSingleProps, SliderTooltipProps, } from 'antd/es/slider';
3
3
  export declare const Slider: typeof AntSlider;
@@ -1,12 +1,14 @@
1
1
  import type { TableProps as AntTableProps } from 'antd';
2
2
  import { Table as AntTable } from 'antd';
3
3
  import { AnyObject } from 'antd/es/_util/type';
4
- import { ColumnType as AntColumnType, TableRef } from 'antd/es/table';
4
+ import { ColumnType as AntColumnType } from 'antd/es/table';
5
5
  import React from 'react';
6
+ import { RefTable } from 'antd/es/table/interface';
6
7
  import './index.scss';
7
8
  type AntTableType = typeof AntTable;
9
+ export type { RefTable };
8
10
  export type { TablePaginationConfig, TableRef } from 'antd/es/table';
9
- export type { ColumnFilterItem, ColumnTitle, ColumnTitleProps, CompareFn, ExpandType, ExpandableConfig, FilterConfirmProps, FilterDropdownProps, FilterKey, FilterSearchType, FilterValue, GetPopupContainer, GetRowKey, Key, RefInternalTable, RefTable, RowSelectMethod, RowSelectionType, SafeKey, SelectionItem, SelectionItemSelectFn, SelectionSelectFn, SortOrder, SorterResult, SorterTooltipProps, SorterTooltipTarget, TableAction, TableCurrentDataSource, TableLocale, TableRowSelection, TransformColumns, } from 'antd/es/table/interface';
11
+ export type { ColumnFilterItem, ColumnTitle, ColumnTitleProps, CompareFn, ExpandType, ExpandableConfig, FilterConfirmProps, FilterDropdownProps, FilterKey, FilterSearchType, FilterValue, GetPopupContainer, GetRowKey, Key, RefInternalTable, RowSelectMethod, RowSelectionType, SafeKey, SelectionItem, SelectionItemSelectFn, SelectionSelectFn, SortOrder, SorterResult, SorterTooltipProps, SorterTooltipTarget, TableAction, TableCurrentDataSource, TableLocale, TableRowSelection, TransformColumns, } from 'antd/es/table/interface';
10
12
  export interface TableProps<T = AnyObject> extends Omit<AntTableProps<T>, 'columns'> {
11
13
  columns?: ColumnsType<T>;
12
14
  type?: 'primary' | 'default';
@@ -35,7 +37,15 @@ export interface ITableRowContext {
35
37
  type?: 'primary' | 'default';
36
38
  }
37
39
  export declare const TableRowContext: React.Context<ITableRowContext>;
38
- declare const ForwardRefTable: React.ForwardRefExoticComponent<TableProps<AnyObject> & React.RefAttributes<TableRef>>;
39
- type TableType = typeof ForwardRefTable & Pick<AntTableType, 'Column' | 'ColumnGroup' | 'EXPAND_COLUMN' | 'SELECTION_ALL' | 'SELECTION_COLUMN' | 'SELECTION_INVERT' | 'SELECTION_NONE'>;
40
- declare const Table: TableType;
40
+ declare const Table: RefTable & {
41
+ displayName?: string | undefined;
42
+ SELECTION_COLUMN: AntTableType['SELECTION_COLUMN'];
43
+ EXPAND_COLUMN: AntTableType['EXPAND_COLUMN'];
44
+ SELECTION_ALL: AntTableType['SELECTION_ALL'];
45
+ SELECTION_INVERT: AntTableType['SELECTION_INVERT'];
46
+ SELECTION_NONE: AntTableType['SELECTION_NONE'];
47
+ Column: AntTableType['Column'];
48
+ ColumnGroup: AntTableType['ColumnGroup'];
49
+ Summary: AntTableType['Summary'];
50
+ };
41
51
  export { Table };
@@ -134,8 +134,7 @@ var InternalTable = function InternalTable(_ref, ref) {
134
134
  components: _components
135
135
  })));
136
136
  };
137
- var ForwardRefTable = /*#__PURE__*/forwardRef(InternalTable);
138
- var Table = ForwardRefTable;
137
+ var Table = /*#__PURE__*/forwardRef(InternalTable);
139
138
  Table.displayName = 'Table';
140
139
  Table.Column = AntTable.Column;
141
140
  Table.ColumnGroup = AntTable.ColumnGroup;
@@ -143,4 +142,5 @@ Table.EXPAND_COLUMN = AntTable.EXPAND_COLUMN;
143
142
  Table.SELECTION_ALL = AntTable.SELECTION_ALL;
144
143
  Table.SELECTION_COLUMN = AntTable.SELECTION_COLUMN;
145
144
  Table.SELECTION_INVERT = AntTable.SELECTION_INVERT;
145
+ Table.Summary = AntTable.Summary;
146
146
  export { Table };
@@ -6,7 +6,8 @@ export type { TabPaneProps, TabsPosition, TabsType } from 'antd/es/tabs';
6
6
  export type { TabsProps };
7
7
  type AntTabsType = typeof AntTabs;
8
8
  type TabsType = typeof TabsComponent & Pick<AntTabsType, 'TabPane'>;
9
- declare const TabsComponent: FC<TabsProps & {
9
+ export declare const TabsComponent: FC<TabsProps & {
10
10
  capsule?: boolean;
11
+ isTabMargin?: boolean;
11
12
  }>;
12
13
  export declare const Tabs: TabsType;
@@ -1,4 +1,4 @@
1
- var _excluded = ["size", "capsule", "className", "items", "onChange", "activeKey", "destroyInactiveTabPane"];
1
+ var _excluded = ["size", "capsule", "className", "items", "onChange", "activeKey", "destroyInactiveTabPane", "isTabMargin"];
2
2
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
3
3
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
4
4
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
@@ -12,7 +12,7 @@ import { Tabs as AntTabs, Radio } from 'antd';
12
12
  import React, { useEffect, useState } from 'react';
13
13
  import { useBem } from "../hooks/useBem";
14
14
  import "./index.scss";
15
- var TabsComponent = function TabsComponent(_ref) {
15
+ export var TabsComponent = function TabsComponent(_ref) {
16
16
  var _items$find, _items$filter;
17
17
  var size = _ref.size,
18
18
  capsule = _ref.capsule,
@@ -22,6 +22,8 @@ var TabsComponent = function TabsComponent(_ref) {
22
22
  activeKey = _ref.activeKey,
23
23
  _ref$destroyInactiveT = _ref.destroyInactiveTabPane,
24
24
  destroyInactiveTabPane = _ref$destroyInactiveT === void 0 ? false : _ref$destroyInactiveT,
25
+ _ref$isTabMargin = _ref.isTabMargin,
26
+ isTabMargin = _ref$isTabMargin === void 0 ? true : _ref$isTabMargin,
25
27
  rest = _objectWithoutProperties(_ref, _excluded);
26
28
  var mb = useBem('tabs');
27
29
  var _useState = useState(),
@@ -64,7 +66,10 @@ var TabsComponent = function TabsComponent(_ref) {
64
66
  }, capsule ? /*#__PURE__*/React.createElement("div", {
65
67
  className: "".concat(mb.b('capsule'))
66
68
  }, /*#__PURE__*/React.createElement("div", {
67
- className: "".concat(mb.b('capsule').e('content'))
69
+ className: "".concat(mb.b('capsule').e('content')),
70
+ style: {
71
+ paddingBottom: isTabMargin ? 16 : 0
72
+ }
68
73
  }, /*#__PURE__*/React.createElement(Radio.Group, {
69
74
  value: key,
70
75
  onChange: function onChange(e) {
@@ -96,7 +101,7 @@ var TabsComponent = function TabsComponent(_ref) {
96
101
  activeKey: key,
97
102
  size: size,
98
103
  items: items,
99
- className: "".concat(className !== null && className !== void 0 ? className : '', " ").concat(_className),
104
+ className: "".concat(className !== null && className !== void 0 ? className : '', " ").concat(_className, " ").concat(isTabMargin ? '' : mb.b('istabmargin'), " "),
100
105
  destroyInactiveTabPane: destroyInactiveTabPane,
101
106
  onChange: function onChange(e) {
102
107
  setKey(e);
@@ -8,6 +8,8 @@
8
8
  }
9
9
  .ant-tabs-nav-wrap {
10
10
  background-color: white;
11
+ padding-left: var(--ant-padding-lg);
12
+ padding-right: var(--ant-padding-lg);
11
13
  }
12
14
  }
13
15
  &-small {
@@ -19,6 +21,8 @@
19
21
  }
20
22
  .ant-tabs-nav-wrap {
21
23
  background-color: white;
24
+ padding-left: var(--ant-padding);
25
+ padding-right: var(--ant-padding);
22
26
  }
23
27
  }
24
28
  &-capsule {
@@ -27,6 +31,8 @@
27
31
  padding-bottom: var(--ant-margin);
28
32
  box-sizing: border-box;
29
33
  background-color: white;
34
+ padding-left: var(--ant-padding-lg);
35
+ padding-right: var(--ant-padding-lg);
30
36
  }
31
37
  .ant-radio-button-wrapper.ant-radio-button-wrapper-checked.css-var-r4.ant-radio-css-var {
32
38
  padding-left: var(--ant-padding);
@@ -47,4 +53,9 @@
47
53
  color: #000000e0;
48
54
  }
49
55
  }
56
+ &-istabmargin {
57
+ .ant-tabs-nav {
58
+ margin-bottom: 0;
59
+ }
60
+ }
50
61
  }
@@ -1,4 +1,4 @@
1
- import { SelectProps } from 'yotd';
1
+ import { SelectProps } from 'yootd';
2
2
 
3
3
  export interface PageData<T> {
4
4
  content: T[];
@@ -1,4 +1,4 @@
1
- import { SelectProps } from 'yotd';
1
+ import { SelectProps } from 'yootd';
2
2
 
3
3
  export interface PageData<T> {
4
4
  content: T[];
@@ -11,7 +11,7 @@
11
11
  background-color: var(--ant-color-border); /* 边框颜色 */
12
12
  transform: translateY(-50%);
13
13
  }
14
- .ant-select.ant-select-outlined.css-var-yotd.ant-select-css-var.ant-select-single.ant-select-allow-clear.ant-select-show-arrow {
14
+ .ant-select.ant-select-outlined.css-var-yootd.ant-select-css-var.ant-select-single.ant-select-allow-clear.ant-select-show-arrow {
15
15
  .ant-select-selector {
16
16
  padding-left: var(--ant-padding);
17
17
  padding-right: var(--ant-padding);
@@ -12,7 +12,7 @@
12
12
  background-color: var(--ant-color-border); /* 边框颜色 */
13
13
  transform: translateY(-50%);
14
14
  }
15
- .ant-select.ant-select-outlined.css-var-yotd.ant-select-css-var.ant-select-single.ant-select-show-arrow {
15
+ .ant-select.ant-select-outlined.css-var-yootd.ant-select-css-var.ant-select-single.ant-select-show-arrow {
16
16
  .ant-select-selector {
17
17
  padding-left: var(--ant-padding);
18
18
  padding-right: var(--ant-padding);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yootd",
3
- "version": "0.0.1",
3
+ "version": "0.0.2",
4
4
  "description": "A react library developed with dumi",
5
5
  "license": "MIT",
6
6
  "module": "dist/index.js",