@prijsvrijtechsupport/ui 0.0.28 → 0.0.30
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/components/stepper/Stepper.stories.d.ts +1 -4
- package/dist/components/stepper/index.d.ts +12 -2
- package/dist/components/weather/Weather.stories.d.ts +1 -0
- package/dist/components/weather/icons/cloud_01.d.ts +2 -0
- package/dist/components/weather/icons/cloud_02.d.ts +2 -0
- package/dist/components/weather/icons/cloud_03.d.ts +2 -0
- package/dist/components/weather/icons/cloud_lightning.d.ts +2 -0
- package/dist/components/weather/icons/cloud_moon.d.ts +2 -0
- package/dist/components/weather/icons/cloud_off.d.ts +2 -0
- package/dist/components/weather/icons/cloud_raining_01.d.ts +2 -0
- package/dist/components/weather/icons/cloud_raining_02.d.ts +2 -0
- package/dist/components/weather/icons/cloud_raining_03.d.ts +2 -0
- package/dist/components/weather/icons/cloud_raining_04.d.ts +2 -0
- package/dist/components/weather/icons/cloud_raining_05.d.ts +2 -0
- package/dist/components/weather/icons/cloud_raining_06.d.ts +2 -0
- package/dist/components/weather/icons/cloud_snowing_01.d.ts +2 -0
- package/dist/components/weather/icons/cloud_snowing_02.d.ts +2 -0
- package/dist/components/weather/icons/cloud_sun_01.d.ts +2 -0
- package/dist/components/weather/icons/cloud_sun_02.d.ts +2 -0
- package/dist/components/weather/icons/cloud_sun_03.d.ts +2 -0
- package/dist/components/weather/icons/droplets_01.d.ts +2 -0
- package/dist/components/weather/icons/droplets_02.d.ts +2 -0
- package/dist/components/weather/icons/droplets_03.d.ts +2 -0
- package/dist/components/weather/icons/hurricane_01.d.ts +2 -0
- package/dist/components/weather/icons/hurricane_02.d.ts +2 -0
- package/dist/components/weather/icons/hurricane_03.d.ts +2 -0
- package/dist/components/weather/icons/lightning_01.d.ts +2 -0
- package/dist/components/weather/icons/lightning_02.d.ts +2 -0
- package/dist/components/weather/icons/moon_01.d.ts +2 -0
- package/dist/components/weather/icons/moon_02.d.ts +2 -0
- package/dist/components/weather/icons/moon_eclipse.d.ts +2 -0
- package/dist/components/weather/icons/moon_star.d.ts +2 -0
- package/dist/components/weather/icons/snowflake_01.d.ts +2 -0
- package/dist/components/weather/icons/snowflake_02.d.ts +2 -0
- package/dist/components/weather/icons/stars_01.d.ts +2 -0
- package/dist/components/weather/icons/stars_02.d.ts +2 -0
- package/dist/components/weather/icons/stars_03.d.ts +2 -0
- package/dist/components/weather/icons/sun.d.ts +2 -0
- package/dist/components/weather/icons/sun_setting_01.d.ts +2 -0
- package/dist/components/weather/icons/sun_setting_02.d.ts +2 -0
- package/dist/components/weather/icons/sun_setting_03.d.ts +2 -0
- package/dist/components/weather/icons/sunrise.d.ts +2 -0
- package/dist/components/weather/icons/sunset.d.ts +2 -0
- package/dist/components/weather/icons/thermometer_01.d.ts +2 -0
- package/dist/components/weather/icons/thermometer_02.d.ts +2 -0
- package/dist/components/weather/icons/thermometer_03.d.ts +2 -0
- package/dist/components/weather/icons/thermometer_cold.d.ts +2 -0
- package/dist/components/weather/icons/thermometer_warm.d.ts +2 -0
- package/dist/components/weather/icons/umbrella_01.d.ts +2 -0
- package/dist/components/weather/icons/umbrella_02.d.ts +2 -0
- package/dist/components/weather/icons/umbrella_03.d.ts +2 -0
- package/dist/components/weather/icons/waves.d.ts +2 -0
- package/dist/components/weather/icons/wind_01.d.ts +2 -0
- package/dist/components/weather/icons/wind_02.d.ts +2 -0
- package/dist/components/weather/icons/wind_03.d.ts +2 -0
- package/dist/components/weather/index.d.ts +10 -1
- package/dist/dist/index.css +4 -0
- package/dist/dist/index.css.map +1 -1
- package/dist/index.cjs +115 -129
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +1 -2
- package/dist/index.js +115 -127
- package/dist/index.js.map +1 -1
- package/dist/styles/variables.css +4 -0
- package/package.json +1 -1
- package/dist/components/pvStepper/PvStepper.stories.d.ts +0 -6
- package/dist/components/pvStepper/index.d.ts +0 -12
- package/dist/components/stepper/NumberedStepper.d.ts +0 -13
- package/dist/components/stepper/NumberedStepper.stories.d.ts +0 -8
- package/dist/components/stepper/Stepper.d.ts +0 -16
- /package/dist/components/{stepper/NumberedStepper.test.d.ts → weather/weather.test.d.ts} +0 -0
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
import type { Meta, StoryObj } from "@storybook/react-vite";
|
|
2
|
-
import { Stepper } from "./
|
|
2
|
+
import { Stepper } from "./index";
|
|
3
3
|
declare const meta: Meta<typeof Stepper>;
|
|
4
4
|
export default meta;
|
|
5
5
|
type Story = StoryObj<typeof Stepper>;
|
|
6
6
|
export declare const Default: Story;
|
|
7
|
-
export declare const SmallVariant: Story;
|
|
8
|
-
export declare const WithCompletedSteps: Story;
|
|
9
|
-
export declare const CustomClassNameStepper: Story;
|
|
@@ -1,2 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
interface Step {
|
|
2
|
+
name: string;
|
|
3
|
+
number: number;
|
|
4
|
+
state: "active" | "completed" | "upcoming";
|
|
5
|
+
}
|
|
6
|
+
interface StepperProps {
|
|
7
|
+
"data-testid"?: string;
|
|
8
|
+
className?: string;
|
|
9
|
+
steps: Step[];
|
|
10
|
+
}
|
|
11
|
+
export declare const Stepper: ({ className, steps, ...props }: StepperProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export {};
|
|
@@ -1,6 +1,15 @@
|
|
|
1
|
+
interface WeatherItem {
|
|
2
|
+
icon: React.ReactNode;
|
|
3
|
+
temperature: string;
|
|
4
|
+
temperature_percent: number;
|
|
5
|
+
month: number;
|
|
6
|
+
}
|
|
1
7
|
interface WeatherProps {
|
|
2
8
|
"data-testid"?: string;
|
|
3
9
|
className?: string;
|
|
10
|
+
weatherItems: WeatherItem[];
|
|
11
|
+
title: string;
|
|
12
|
+
direction?: 'horizontal' | 'vertical';
|
|
4
13
|
}
|
|
5
|
-
export declare const Weather: ({ className, ...props }: WeatherProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export declare const Weather: ({ className, weatherItems, title, direction, ...props }: WeatherProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
15
|
export {};
|
package/dist/dist/index.css
CHANGED
|
@@ -143,6 +143,10 @@
|
|
|
143
143
|
@theme {
|
|
144
144
|
/* Base colors */
|
|
145
145
|
--color-primary: #fff;
|
|
146
|
+
--color-primary-dark-50: #fff;
|
|
147
|
+
--color-primary-dark-25: #fff;
|
|
148
|
+
--color-primary-light-25: #fff;
|
|
149
|
+
--color-primary-light-50: #fff;
|
|
146
150
|
--color-primary-light-75: #eff8fe;
|
|
147
151
|
--color-secondary: #fff;
|
|
148
152
|
--color-black: #1b1c1e;
|