2.0.418 • Published 7 months ago

hr-react-ui v2.0.418

Weekly downloads
-
License
©Copyright HotelR...
Repository
-
Last release
7 months ago

🛫 HotelRunner Design System

Folder Structure

🛡️ Bulletproof React


Development

📚 Storybook

🐜 Ant Design

⚡️ Vite

🤖 TypeScript

💡 Plop

📦 Yarn

📦 Prettier

📦 Eslint

📦 Husky


📦 Install the packages

In this template react@18.2.0 is being used and it might cause some peer dependency mismatches among the template dependencies If you prefer to use npm, you might need to call npm i --legacy-peer-deps to ignore resolution errors

  • To use the design system, you should use the HotelRunnerProvider and HotelRunnerDesignProvider components.
  • HotelRunnerProvider is a context provider for the design system. It provides the theme and the language context to the design system.
  • HotelRunnerDesignProvider is a context provider for the design system. It provides the design system components to the application.

:warning: You should use the HotelRunnerDesignProvider under the HotelRunnerProvider.

⚡️ Start the development server

yarn dev

⚡️ Start the test server

yarn dev:test

⚡️ For Storybook

yarn storybook

📝 Generate a new component

yarn generate component
# it will create a new component in the components folder

🚚 Build for production

yarn build
# it will create a dist folder and tgz file and set the version in the test-project package.json
# After that you can test it with `yarn dev:test`
yarn build-only
# if you want to get only build dist folder use:
2.0.409

8 months ago

2.0.408

8 months ago

2.0.407

8 months ago

2.0.406

8 months ago

2.0.416

7 months ago

2.0.415

8 months ago

2.0.414

8 months ago

2.0.410

8 months ago

2.0.418

7 months ago

2.0.389

8 months ago

2.0.388

8 months ago

2.0.387

8 months ago

2.0.386

8 months ago

2.0.385

8 months ago

2.0.383

8 months ago

2.0.381

8 months ago

2.0.380

8 months ago

2.0.399

8 months ago

2.0.398

8 months ago

2.0.397

8 months ago

2.0.396

8 months ago

2.0.395

8 months ago

2.0.394

8 months ago

2.0.393

8 months ago

2.0.392

8 months ago

2.0.391

8 months ago

2.0.390

8 months ago

2.0.400

8 months ago

2.0.379

9 months ago

2.0.377

9 months ago

2.0.376

9 months ago

2.0.374

9 months ago

2.0.339

10 months ago

2.0.338

10 months ago

2.0.336

10 months ago

2.0.335

10 months ago

2.0.356

9 months ago

2.0.355

9 months ago

2.0.354

9 months ago

2.0.332

10 months ago

2.0.353

9 months ago

2.0.331

10 months ago

2.0.352

9 months ago

2.0.330

10 months ago

2.0.351

9 months ago

2.0.372

9 months ago

2.0.349

9 months ago

2.0.348

9 months ago

2.0.369

9 months ago

2.0.347

9 months ago

2.0.368

9 months ago

2.0.367

9 months ago

2.0.345

10 months ago

2.0.366

9 months ago

2.0.344

10 months ago

2.0.365

9 months ago

2.0.343

10 months ago

2.0.364

9 months ago

2.0.342

10 months ago

2.0.363

9 months ago

2.0.341

10 months ago

2.0.362

9 months ago

2.0.340

10 months ago

2.0.361

9 months ago

0.0.17

12 months ago

0.0.16

12 months ago

0.0.15

12 months ago

0.0.10

12 months ago

0.0.9

1 year ago

0.0.8

1 year ago

0.0.7

1 year ago

0.0.3

1 year ago

0.0.1

1 year ago

0.0.0

1 year ago