Skip to content

Commit 57973b3

Browse files
committed
Merge pull request #18 from BeeInventor/feat/calendar-dark-mode
feat: calendar dark mode
2 parents b307903 + 855926b commit 57973b3

File tree

5 files changed

+320
-54
lines changed

5 files changed

+320
-54
lines changed

package-lock.json

Lines changed: 252 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@beeinventor/dasiot-react-component-lib",
3-
"version": "1.1.5",
3+
"version": "1.1.6",
44
"module": "lib/index.js",
55
"types": "lib/index.d.ts",
66
"files": [

src/components/DatePicker/DatePicker.stories.tsx

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,18 @@ Default.args = {
5252
placeholder: 'Time',
5353
};
5454

55+
export const DefaultDark: Story<DatePickerProps> = Template.bind({});
56+
57+
DefaultDark.parameters = {
58+
backgrounds: {
59+
default: 'light',
60+
},
61+
};
62+
DefaultDark.args = {
63+
placeholder: 'Time',
64+
mode: 'dark',
65+
};
66+
5567
export const ZhTW: Story<DatePickerProps> = Template.bind({});
5668

5769
ZhTW.args = {

0 commit comments

Comments
 (0)