@odeyalo/uikit 0.0.13 → 0.0.15
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 +2 -3
- package/dist/components/date/Calendar/components/{CalendarTitle/CalendarTitle.d.ts → SwitchViewModeButton/SwitchViewModeButton.d.ts} +2 -2
- package/dist/components/date/Calendar/components/index.d.ts +1 -1
- package/dist/components/fields/RangeInput/components/RangeInputBadge/RangeInputBadge.d.ts +1 -1
- package/dist/main.js +5476 -5509
- package/dist/styles.css +1 -0
- package/package.json +2 -3
- package/dist/main.css +0 -1
- package/styles/fonts.css +0 -1
- package/styles/fonts.scss +0 -39
- package/styles/reset.css +0 -93
- package/styles/reset.scss +0 -99
- package/styles/styles.css +0 -192
- package/styles/styles.scss +0 -12
- package/styles/theme/colors.css +0 -1
- package/styles/theme/colors.scss +0 -35
- package/styles/theme/index.css +0 -7
- package/styles/theme/index.scss +0 -7
- package/styles/theme/typography.css +0 -7
- package/styles/theme/typography.scss +0 -77
package/README.md
CHANGED
|
@@ -12,7 +12,7 @@ npm install @odeyalo/uikit
|
|
|
12
12
|
```jsx
|
|
13
13
|
import { Button } from '@odeyalo/uikit';
|
|
14
14
|
|
|
15
|
-
const SubmitButton = <Button view="
|
|
15
|
+
const SubmitButton = <Button view="primary" size="m" />;
|
|
16
16
|
```
|
|
17
17
|
|
|
18
18
|
### Styles
|
|
@@ -22,8 +22,7 @@ Include base CSS styles at the top of your entry file:
|
|
|
22
22
|
```js
|
|
23
23
|
// index.js
|
|
24
24
|
|
|
25
|
-
import '@odeyalo/uikit/styles
|
|
26
|
-
import '@odeyalo/uikit/styles/styles.css';
|
|
25
|
+
import '@odeyalo/uikit/styles.css';
|
|
27
26
|
|
|
28
27
|
// ...
|
|
29
28
|
```
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
2
|
import { CalendarViewMode } from '../../types';
|
|
3
|
-
interface
|
|
3
|
+
interface SwitchViewModeButtonProps {
|
|
4
4
|
currentDate: Date;
|
|
5
5
|
viewMode: CalendarViewMode;
|
|
6
6
|
disabled?: boolean;
|
|
7
7
|
changeViewModeHandler: () => void;
|
|
8
8
|
}
|
|
9
|
-
export declare const
|
|
9
|
+
export declare const SwitchViewModeButton: FC<SwitchViewModeButtonProps>;
|
|
10
10
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { CalendarTitle } from './CalendarTitle/CalendarTitle';
|
|
2
1
|
export { DaysViewMode } from './DaysViewMode/DaysViewMode';
|
|
3
2
|
export { MonthsViewMode } from './MonthsViewMode/MonthsViewMode';
|
|
3
|
+
export { SwitchViewModeButton } from './SwitchViewModeButton/SwitchViewModeButton';
|
|
4
4
|
export { YearsViewMode } from './YearsViewMode/YearsViewMode';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Boundary } from '@floating-ui/dom';
|
|
2
2
|
import { FC } from 'react';
|
|
3
3
|
import { RangeInputSizeStyles } from '../../types.ts';
|
|
4
|
-
import { PopupAnchorElement } from '../../../../Popup/types
|
|
4
|
+
import { PopupAnchorElement } from '../../../../Popup/types';
|
|
5
5
|
type RangeInputBadgeProps = {
|
|
6
6
|
label: string;
|
|
7
7
|
sizeStyles: RangeInputSizeStyles;
|