@bojantest/ui 0.1.1 → 0.1.2

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.
Files changed (2) hide show
  1. package/README.md +11 -6
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,17 +1,22 @@
1
- # @milram/ui
1
+ # @bojantest/ui
2
2
 
3
3
  MILRAM design system package — CSS, JS modules, and HTML snippets.
4
4
 
5
5
  ## Install
6
6
 
7
7
  ```bash
8
- npm install @milram/ui swiper
8
+ npm install @bojantest/ui swiper
9
9
  ```
10
10
 
11
+ This installs **both** packages:
12
+
13
+ - `@bojantest/ui` — component CSS, JS modules, and HTML snippets
14
+ - `swiper` — required peer dependency for slider components (recipe slider, news teasers, etc.)
15
+
11
16
  ## CSS
12
17
 
13
18
  ```html
14
- <link rel="stylesheet" href="node_modules/@milram/ui/dist/index.css">
19
+ <link rel="stylesheet" href="node_modules/@bojantest/ui/dist/index.css">
15
20
  ```
16
21
 
17
22
  ## HTML
@@ -22,15 +27,15 @@ Copy markup from `src/html/` or browse Storybook for live examples.
22
27
 
23
28
  ```html
24
29
  <script type="module">
25
- import { initRecipeSlider } from '@milram/ui/js/recipe-slider.mjs';
30
+ import { initRecipeSlider } from '@bojantest/ui/js/recipe-slider.js';
26
31
  initRecipeSlider();
27
32
  </script>
28
33
  ```
29
34
 
30
- Swiper is a peer dependency for slider modules.
35
+ Swiper is a peer dependency for slider modules — install it alongside this package.
31
36
 
32
37
  ## Build (maintainers)
33
38
 
34
39
  ```bash
35
- npm run build -w @milram/ui
40
+ npm run build -w @bojantest/ui
36
41
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bojantest/ui",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "MILRAM design system — HTML/SCSS components",
5
5
  "author": "Bojan Stojanovic",
6
6
  "license": "ISC",