@20minutes/hela 2.8.2 → 2.8.4
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/dist/index.es.js +265 -261
- package/dist/index.umd.js +1 -1
- package/dist/js/scripts.es.js +488 -468
- package/dist/js/scripts.umd.js +3 -3
- package/dist/scss/abstracts/variables/_token-variables.scss +1 -1
- package/dist/scss/abstracts/variables/_variables.scss +1 -1
- package/dist/src/components/atoms/Slider/Slider.d.ts +1 -1
- package/dist/src/components/molecules/Breadcrumb/Breadcrumb.d.ts +2 -1
- package/dist/src/components/molecules/Breadcrumb/Breadcrumb.stories.d.ts +6 -3
- package/dist/style.css +1 -1
- package/package.json +10 -10
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { BoxProps, SliderOptions } from '../..';
|
|
3
|
-
import { LayoutType, ThemeColorType } from '../../../types';
|
|
3
|
+
import { ColorType, LayoutType, ThemeColorType } from '../../../types';
|
|
4
4
|
export interface BreadcrumbProps extends BoxProps, Pick<SliderOptions, 'buttonsBackground'> {
|
|
5
5
|
rubrics?: {
|
|
6
6
|
label: string;
|
|
@@ -12,5 +12,6 @@ export interface BreadcrumbProps extends BoxProps, Pick<SliderOptions, 'buttonsB
|
|
|
12
12
|
}[];
|
|
13
13
|
color?: ThemeColorType;
|
|
14
14
|
layout?: LayoutType;
|
|
15
|
+
arrowColor?: ColorType;
|
|
15
16
|
}
|
|
16
17
|
export declare const Breadcrumb: React.FC<BreadcrumbProps>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { LayoutType } from '../../../types';
|
|
3
|
-
import { StoryObj } from '@storybook/react';
|
|
3
|
+
import { StoryFn, StoryObj } from '@storybook/react';
|
|
4
4
|
declare const meta: {
|
|
5
5
|
title: string;
|
|
6
6
|
component: React.FC<import('./Breadcrumb').BreadcrumbProps>;
|
|
@@ -43,14 +43,17 @@ declare const meta: {
|
|
|
43
43
|
controls: {
|
|
44
44
|
exclude: string[];
|
|
45
45
|
};
|
|
46
|
+
viewport: {
|
|
47
|
+
defaultViewport: string;
|
|
48
|
+
};
|
|
46
49
|
};
|
|
50
|
+
decorators: ((Story: StoryFn) => React.JSX.Element)[];
|
|
47
51
|
};
|
|
48
52
|
export default meta;
|
|
49
53
|
type Story = StoryObj<typeof meta>;
|
|
50
54
|
export declare const Overview: Story;
|
|
51
|
-
export declare const RubricLimitMax: Story;
|
|
52
55
|
export declare const Color: Story;
|
|
53
56
|
export declare const Long: Story;
|
|
54
|
-
export declare const RubricLimitMaxVeryLong: Story;
|
|
55
57
|
export declare const VeryLong: Story;
|
|
58
|
+
export declare const VeryLongFor20MinutesTV: Story;
|
|
56
59
|
export declare const Mobile: Story;
|