@symbo.ls/datepicker 1.0.5 → 1.1.0

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/index.js CHANGED
@@ -3,13 +3,10 @@
3
3
  import style from './style'
4
4
 
5
5
  import { Icon } from '@symbo.ls/icon'
6
- import { Shape } from '@symbo.ls/shape'
7
- import { Block } from '@symbo.ls/block'
8
6
 
9
7
  export const DatePicker = {
10
8
  style,
11
9
 
12
- extends: [Shape, Block],
13
10
  props: {
14
11
  theme: 'lightDark',
15
12
  padding: 'A',
@@ -21,14 +18,7 @@ export const DatePicker = {
21
18
  childExtends: { tag: 'button' },
22
19
  ...[
23
20
  { text: '2020' },
24
- { text: '2021' },
25
- { text: '2022' },
26
- { text: '2023' },
27
- { text: '2024' },
28
- { text: '2025' },
29
- { text: '2026' },
30
- { text: '2026' },
31
- { text: '2026' }
21
+ // ...
32
22
  ]
33
23
  },
34
24
 
@@ -42,17 +32,7 @@ export const DatePicker = {
42
32
  childExtends: { tag: 'span' },
43
33
  ...[
44
34
  { text: 'january' },
45
- { text: 'february' },
46
- { text: 'march' },
47
- { text: 'april' },
48
- { text: 'may' },
49
- { text: 'june' },
50
- { text: 'july' },
51
- { text: 'august' },
52
- { text: 'september' },
53
- { text: 'october' },
54
- { text: 'november' },
55
- { text: 'december' }
35
+ // ...
56
36
  ]
57
37
  },
58
38
  icon2: {
@@ -66,48 +46,14 @@ export const DatePicker = {
66
46
  childExtends: { tag: 'span' },
67
47
  ...[
68
48
  { text: 'Mo' },
69
- { text: 'Tu' },
70
- { text: 'We' },
71
- { text: 'Th' },
72
- { text: 'Fr' },
73
- { text: 'Sa' },
74
- { text: 'Su' }
49
+ // ...
75
50
  ]
76
51
  },
77
52
  content: {
78
53
  childExtends: { tag: 'button' },
79
54
  ...[
80
55
  { text: '1' },
81
- { text: '2' },
82
- { text: '3' },
83
- { text: '4' },
84
- { text: '5' },
85
- { text: '6' },
86
- { text: '7' },
87
- { text: '8' },
88
- { text: '9' },
89
- { text: '10' },
90
- { text: '11' },
91
- { text: '12' },
92
- { text: '13' },
93
- { text: '14' },
94
- { text: '15' },
95
- { text: '16' },
96
- { text: '17' },
97
- { text: '18' },
98
- { text: '19' },
99
- { text: '20' },
100
- { text: '21' },
101
- { text: '22' },
102
- { text: '23' },
103
- { text: '24' },
104
- { text: '25' },
105
- { text: '26' },
106
- { text: '27' },
107
- { text: '28' },
108
- { text: '29' },
109
- { text: '30' },
110
- { text: '31' }
56
+ // ...
111
57
  ]
112
58
  }
113
59
  }
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@symbo.ls/datepicker",
3
- "version": "1.0.5",
3
+ "version": "1.1.0",
4
4
  "main": "index.js",
5
5
  "license": "MIT",
6
- "gitHead": "09537187e26571dc2b03524bed0de775c9f66fa8",
6
+ "gitHead": "f70e3ed520d8f5419235b2ad355ed579e4df3435",
7
7
  "dependencies": {
8
8
  "@symbo.ls/block": "latest",
9
9
  "@symbo.ls/icon": "latest",
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@symbo.ls/react-datepicker",
3
- "version": "1.0.5",
3
+ "version": "1.1.0",
4
4
  "main": "dist/index.js",
5
5
  "license": "MIT",
6
- "gitHead": "09537187e26571dc2b03524bed0de775c9f66fa8",
6
+ "gitHead": "f70e3ed520d8f5419235b2ad355ed579e4df3435",
7
7
  "dependencies": {
8
8
  "@symbo.ls/datepicker": "latest",
9
9
  "@symbo.ls/transform-react": "latest"