@pairbo/ui-kit 0.0.4 → 0.0.5

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/README.md CHANGED
@@ -1,13 +1,50 @@
1
1
  # Custom Integration Components
2
2
 
3
- This directory contains custom elements and integrations for the **Pairbo** project.
3
+ This project is the @pairbo/ui-kit, for the user integration Pairbo into the merchant frontend website.
4
+
5
+ ## Current States
6
+
7
+ V0
8
+
9
+ ## To do list
10
+
11
+ - 11ty not fully set up.
12
+ - Mock API for the fetching and submitting cards, and getting processed handwritten image.
13
+
14
+ ### [Global Theme](src/themes)
15
+
16
+ - [ ] Setting up the global theme styles.
17
+
18
+ ### [drawer](src/components/drawer)
19
+
20
+ - [ ] Apply a window like title bar.
21
+ - [ ] Title bar will has
22
+ - Left: go back icon if no in the Card selection page
23
+ - Center current page name (Card Selection / Card Editing)
24
+ - Right: Close icon to close the drawer
25
+ - [ ] More flexible styles settings
26
+ - Top/bottom/left/right drawer
27
+ - Custom the space it takes on the screen (e.g. 30%/50%/60%/100%)
28
+ - Animation when open the drawer
29
+ - [ ] (Optional) Allow customize the theme like back ground etc.
30
+
31
+ ### [category](src/components/category) & [category image](src/components/category-image/)
32
+
33
+ Current category using the `SplideJs` to show the cards as slider.
34
+
35
+ - [ ] Set the image size to the fixed ratio. Right now the image ratio will changed responsively.
36
+ - [ ] The slider should be responsive
37
+ - Show 4 cards on desktop and 2 cards on mobile
38
+ - Don't show the arrows if no more than 4 (desktop) or 2 (mobile)
39
+ - Add hover animation and styles
40
+ - [ ] Title Styles
4
41
 
5
42
  ## Roadmap
6
43
 
7
44
  ### Preprepare
8
45
 
9
46
  - [ ] **Live Documentation for Development and Future Reference**
10
- _Status_: The basic structure has been initialized using **11ty**. However, the bundling process for `src/components` is not fully configured. Additionally, rendering inline `` `html` `` within Markdown to actual HTML in **11ty** is not yet fully functional.
47
+ _Status_: The basic structure has been initialized using **11ty**. However, the bundling process for `src/components` is not fully configured. Additionally, rendering inline `` `html` `` within Markdown to actual HTML in **11ty** is not yet fully functional.
11
48
 
12
49
  ---
13
50
 
@@ -15,12 +52,12 @@ This directory contains custom elements and integrations for the **Pairbo** proj
15
52
 
16
53
  - [ ] **Font Dropdown Selector**
17
54
  - [ ] **Editor Dropdown Selector**
18
- - [ ] **Text Alignment Button Group**
19
- - [ ] **Text Color Block**
55
+ - [x] **Text Alignment Button Group**
56
+ - [x] **Text Color Block**
20
57
  - [ ] **Live Preview (Zoomed View)**
21
- - [ ] **Typing Live Preview**
58
+ - [x] **Typing Live Preview**
22
59
  - [ ] **Handwritten Live Preview**
23
- - [ ] **Image Slider**
60
+ - [x] **Image Slider**
24
61
  - [ ] **CTA Button**
25
62
  - [ ] **Handwritten Description Section**
26
63
 
@@ -28,28 +65,28 @@ This directory contains custom elements and integrations for the **Pairbo** proj
28
65
 
29
66
  ### Phase 2: Core Card Selection
30
67
 
31
- - [ ] **Image Slider for Card Covers**
32
- _(4 columns on desktop, 2 columns on mobile)_
33
- - [ ] **Category Selection**
68
+ - [x] **Image Slider for Card Covers**
69
+ _(4 columns on desktop, 2 columns on mobile)_
70
+ - [x] **Category Selection**
34
71
  - [ ] **Image Components (Optional)**
35
72
 
36
73
  ---
37
74
 
38
75
  ### Phase 3: Integration Components
39
76
 
40
- - [ ] **Card Selection - Main Content**
41
- - [ ] **Card Editor (Typing) - Right Content Group**
77
+ - [x] **Card Selection - Main Content**
78
+ - [x] **Card Editor (Typing) - Right Content Group**
42
79
  - [ ] **Card Editor (Handwritten) - Right Content Group**
43
80
  - [ ] **Card Editor (Handwritten) - Content Section**
44
- - [ ] **Card Editor (Typing) - Content Section**
81
+ - [x] **Card Editor (Typing) - Content Section**
45
82
 
46
83
  ---
47
84
 
48
85
  ### Phase 4: Modal/Pop-up
49
86
 
50
87
  - [ ] **Checkboxes**
51
- - [ ] **Basic Modal Implementation**
52
- - [ ] **Sectioned Form in Modal**
88
+ - [x] **Basic Modal Implementation**
89
+ - [x] **Sectioned Form in Modal**
53
90
  - [ ] **Modal Submission API**
54
91
 
55
92
  ---