Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 0 additions & 19 deletions .storybook/main.js

This file was deleted.

28 changes: 28 additions & 0 deletions .storybook/main.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
import type { StorybookConfig } from '@storybook/react-vite';
import remarkGfm from 'remark-gfm';

const config: StorybookConfig = {
framework: '@storybook/react-vite',
stories: ['../src/**/*.mdx', '../src/**/*.stories.@(js|jsx|ts|tsx)'],
staticDirs: ['./public'],
addons: [
{
name: '@storybook/addon-docs',
options: {
mdxPluginOptions: {
mdxCompileOptions: {
remarkPlugins: [remarkGfm],
},
},
},
},
],
typescript: {
check: false,
},
docs: {
autodocs: true,
},
};

export default config;
8 changes: 0 additions & 8 deletions .storybook/manager.js

This file was deleted.

7 changes: 7 additions & 0 deletions .storybook/manager.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import { addons } from 'storybook/manager-api';

addons.setConfig({
sidebar: {
showRoots: false,
},
});
38 changes: 0 additions & 38 deletions .storybook/preview.jsx

This file was deleted.

17 changes: 17 additions & 0 deletions .storybook/preview.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import type { Preview } from '@storybook/react-vite';
import '@kibalabs/ui-react/dist/index.css';
import '../src/styles.scss';

const preview: Preview = {
parameters: {
layout: 'centered',
controls: {
matchers: {
color: /(background|color)$/i,
date: /Date$/i,
},
},
},
};

export default preview;
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,14 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
- [MAJOR] Converted package into an es-module

### Changed
- [MAJOR] Upgraded to Storybook 10
- [MAJOR] Updated to work with ui-react v0.11.3 and above (CSS-based theming)
- [MINOR] Updated Dockerfiles to Node 24 LTS

### Removed
- [MAJOR] Removed styled-components dependency
- [MAJOR] Removed `isFullWidth` and `isFullHeight` props (dropzone is now 100% width/height by default)
- [MAJOR] Removed theme prop and theming exports (`IDropzoneTheme`, `buildDropzoneThemes`, `DropzoneThemedStyle`)

## [0.2.1] - 2023-08-22

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Stage 1: build
FROM node:22.2.0 AS build
FROM node:24.11.1 AS build

WORKDIR /app
COPY makefile .
Expand Down
2 changes: 1 addition & 1 deletion docs.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Stage 1: build
FROM node:22.2.0 AS build
FROM node:24.11.1 AS build

WORKDIR /app
COPY makefile .
Expand Down
6 changes: 3 additions & 3 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ security-check-ci:
@ echo "Not Supported"

build:
@ npx build-module-rolldown
@ NODE_ENV=production npx build-module-rolldown

build-ssr:
@ echo "Not Supported"
Expand All @@ -42,10 +42,10 @@ build-docs:
@ npx storybook build --docs --output-dir dist

start:
@ npx build-module-rolldown --start --dev
@ NODE_ENV=production npx build-module-rolldown --start --dev

start-prod:
@ npx build-module-rolldown --start
@ NODE_ENV=production npx build-module-rolldown --start

start-docs:
@ npx storybook dev --docs --port 6006
Expand Down
Loading
Loading