@pisell/materials 1.0.352 → 1.0.353

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 (47) hide show
  1. package/build/lowcode/assets-daily.json +11 -11
  2. package/build/lowcode/assets-dev.json +2 -2
  3. package/build/lowcode/assets-prod.json +11 -11
  4. package/build/lowcode/index.js +1 -1
  5. package/build/lowcode/meta.js +1 -1
  6. package/build/lowcode/preview.js +8 -8
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +14 -14
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +13 -13
  11. package/es/components/browserSelect/chevron-down.png +0 -0
  12. package/es/components/browserSelect/index.d.ts +15 -0
  13. package/es/components/browserSelect/index.js +36 -0
  14. package/es/components/browserSelect/index.less +18 -0
  15. package/es/components/date-picker/constants.d.ts +39 -0
  16. package/es/components/date-picker/constants.js +76 -0
  17. package/es/components/date-picker/datePickerCpt.d.ts +8 -0
  18. package/es/components/date-picker/datePickerCpt.js +280 -0
  19. package/es/components/date-picker/hooks/useMediaQuery.d.ts +2 -0
  20. package/es/components/date-picker/hooks/useMediaQuery.js +28 -0
  21. package/es/components/date-picker/index.js +2 -2
  22. package/es/components/date-picker/index.less +1847 -0
  23. package/es/locales/en-US.d.ts +12 -0
  24. package/es/locales/en-US.js +14 -1
  25. package/es/locales/zh-CN.d.ts +12 -0
  26. package/es/locales/zh-CN.js +14 -1
  27. package/es/locales/zh-TW.d.ts +12 -0
  28. package/es/locales/zh-TW.js +14 -1
  29. package/lib/components/browserSelect/chevron-down.png +0 -0
  30. package/lib/components/browserSelect/index.d.ts +15 -0
  31. package/lib/components/browserSelect/index.js +59 -0
  32. package/lib/components/browserSelect/index.less +18 -0
  33. package/lib/components/date-picker/constants.d.ts +39 -0
  34. package/lib/components/date-picker/constants.js +78 -0
  35. package/lib/components/date-picker/datePickerCpt.d.ts +8 -0
  36. package/lib/components/date-picker/datePickerCpt.js +292 -0
  37. package/lib/components/date-picker/hooks/useMediaQuery.d.ts +2 -0
  38. package/lib/components/date-picker/hooks/useMediaQuery.js +43 -0
  39. package/lib/components/date-picker/index.js +2 -2
  40. package/lib/components/date-picker/index.less +1847 -0
  41. package/lib/locales/en-US.d.ts +12 -0
  42. package/lib/locales/en-US.js +14 -1
  43. package/lib/locales/zh-CN.d.ts +12 -0
  44. package/lib/locales/zh-CN.js +14 -1
  45. package/lib/locales/zh-TW.d.ts +12 -0
  46. package/lib/locales/zh-TW.js +14 -1
  47. package/package.json +3 -3
@@ -97,5 +97,17 @@ declare const _default: {
97
97
  'table-action-export-import-log-copy': string;
98
98
  'table-action-export-import-table-success-copy': string;
99
99
  'drag-sort-tree-unavailable-today-tip': string;
100
+ 'date-picker-today': string;
101
+ 'date-picker-yesterday': string;
102
+ 'date-picker-tomorrow': string;
103
+ 'date-picker-next_monday': string;
104
+ 'date-picker-last_friday': string;
105
+ 'date-picker-first_day_of_this_month': string;
106
+ 'date-picker-last_day_of_this_month': string;
107
+ 'date-picker-first_day_of_next_month': string;
108
+ 'date-picker-last_day_of_last_month': string;
109
+ 'date-picker-invalid-date': string;
110
+ "date-picker-apply": string;
111
+ 'date-picker-shortcut-custom': string;
100
112
  };
101
113
  export default _default;
@@ -124,5 +124,18 @@ var en_US_default = {
124
124
  "table-action-export-import-log-err-log": "Failure Log",
125
125
  "table-action-export-import-log-copy": "Copy",
126
126
  "table-action-export-import-table-success-copy": "Copy Success",
127
- "drag-sort-tree-unavailable-today-tip": "Unavailable today"
127
+ "drag-sort-tree-unavailable-today-tip": "Unavailable today",
128
+ // 日期组件
129
+ "date-picker-today": "Today",
130
+ "date-picker-yesterday": "Yesterday",
131
+ "date-picker-tomorrow": "Tomorrow",
132
+ "date-picker-next_monday": "Next monday",
133
+ "date-picker-last_friday": "Last friday",
134
+ "date-picker-first_day_of_this_month": "First day of this month",
135
+ "date-picker-last_day_of_this_month": "Last day of this month",
136
+ "date-picker-first_day_of_next_month": "First day of next month",
137
+ "date-picker-last_day_of_last_month": "Last day of last month",
138
+ "date-picker-invalid-date": "Invalid date",
139
+ "date-picker-apply": "Apply",
140
+ "date-picker-shortcut-custom": "Custom"
128
141
  };
@@ -97,5 +97,17 @@ declare const _default: {
97
97
  'table-action-export-import-log-copy': string;
98
98
  'table-action-export-import-table-success-copy': string;
99
99
  'drag-sort-tree-unavailable-today-tip': string;
100
+ 'date-picker-today': string;
101
+ 'date-picker-yesterday': string;
102
+ 'date-picker-tomorrow': string;
103
+ 'date-picker-next_monday': string;
104
+ 'date-picker-last_friday': string;
105
+ 'date-picker-first_day_of_this_month': string;
106
+ 'date-picker-last_day_of_this_month': string;
107
+ 'date-picker-first_day_of_next_month': string;
108
+ 'date-picker-last_day_of_last_month': string;
109
+ 'date-picker-invalid-date': string;
110
+ "date-picker-apply": string;
111
+ 'date-picker-shortcut-custom': string;
100
112
  };
101
113
  export default _default;
@@ -124,5 +124,18 @@ var zh_CN_default = {
124
124
  "table-action-export-import-log-err-log": "失败日志",
125
125
  "table-action-export-import-log-copy": "复制",
126
126
  "table-action-export-import-table-success-copy": "复制成功",
127
- "drag-sort-tree-unavailable-today-tip": "今日不可用"
127
+ "drag-sort-tree-unavailable-today-tip": "今日不可用",
128
+ // 日期组件
129
+ "date-picker-today": "今天",
130
+ "date-picker-yesterday": "昨天",
131
+ "date-picker-tomorrow": "明天",
132
+ "date-picker-next_monday": "下个星期一",
133
+ "date-picker-last_friday": "上个星期五",
134
+ "date-picker-first_day_of_this_month": "本月的第一天",
135
+ "date-picker-last_day_of_this_month": "本月的最后一天",
136
+ "date-picker-first_day_of_next_month": "下个月的第一天",
137
+ "date-picker-last_day_of_last_month": "上个月的最后一天",
138
+ "date-picker-invalid-date": "无效日期",
139
+ "date-picker-apply": "确定",
140
+ "date-picker-shortcut-custom": "自定义"
128
141
  };
@@ -97,5 +97,17 @@ declare const _default: {
97
97
  'table-action-export-import-log-copy': string;
98
98
  'table-action-export-import-table-success-copy': string;
99
99
  'drag-sort-tree-unavailable-today-tip': string;
100
+ 'date-picker-today': string;
101
+ 'date-picker-yesterday': string;
102
+ 'date-picker-tomorrow': string;
103
+ 'date-picker-next_monday': string;
104
+ 'date-picker-last_friday': string;
105
+ 'date-picker-first_day_of_this_month': string;
106
+ 'date-picker-last_day_of_this_month': string;
107
+ 'date-picker-first_day_of_next_month': string;
108
+ 'date-picker-last_day_of_last_month': string;
109
+ 'date-picker-invalid-date': string;
110
+ "date-picker-apply": string;
111
+ 'date-picker-shortcut-custom': string;
100
112
  };
101
113
  export default _default;
@@ -124,5 +124,18 @@ var zh_TW_default = {
124
124
  "table-action-export-import-log-err-log": "失敗日誌",
125
125
  "table-action-export-import-log-copy": "復製",
126
126
  "table-action-export-import-table-success-copy": "復製成功",
127
- "drag-sort-tree-unavailable-today-tip": "今日不可用"
127
+ "drag-sort-tree-unavailable-today-tip": "今日不可用",
128
+ // 日期组件
129
+ "date-picker-today": "今天",
130
+ "date-picker-yesterday": "昨天",
131
+ "date-picker-tomorrow": "明天",
132
+ "date-picker-next_monday": "下個星期一",
133
+ "date-picker-last_friday": "上個星期五",
134
+ "date-picker-first_day_of_this_month": "本月的第一天",
135
+ "date-picker-last_day_of_this_month": "本月的最後一天",
136
+ "date-picker-first_day_of_next_month": "下個月的第一天",
137
+ "date-picker-last_day_of_last_month": "上個月的最後一天",
138
+ "date-picker-invalid-date": "無效日期",
139
+ "date-picker-apply": "确定",
140
+ "date-picker-shortcut-custom": "自定義"
128
141
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pisell/materials",
3
- "version": "1.0.352",
3
+ "version": "1.0.353",
4
4
  "main": "./lib/index.js",
5
5
  "module": "./es/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -62,9 +62,9 @@
62
62
  "react-window": "^1.8.10",
63
63
  "react-virtualized-auto-sizer": "^1.0.20",
64
64
  "crypto-js": "^4.2.0",
65
- "@pisell/utils": "1.0.27",
66
65
  "@pisell/icon": "0.0.10",
67
- "@pisell/date-picker": "1.0.86"
66
+ "@pisell/date-picker": "1.0.86",
67
+ "@pisell/utils": "1.0.27"
68
68
  },
69
69
  "peerDependencies": {
70
70
  "react": "^18.0.0",