@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 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="action" size="m" />;
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/fonts.css';
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 CalendarTitleProps {
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 CalendarTitle: FC<CalendarTitleProps>;
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.ts';
4
+ import { PopupAnchorElement } from '../../../../Popup/types';
5
5
  type RangeInputBadgeProps = {
6
6
  label: string;
7
7
  sizeStyles: RangeInputSizeStyles;