@pairbo/ui-kit 0.0.5 → 0.0.6

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,98 +1,3 @@
1
- # Custom Integration Components
1
+ # Pairbo Custom Integration
2
2
 
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
41
-
42
- ## Roadmap
43
-
44
- ### Preprepare
45
-
46
- - [ ] **Live Documentation for Development and Future Reference**
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.
48
-
49
- ---
50
-
51
- ### Phase 1: Core Card Editor
52
-
53
- - [ ] **Font Dropdown Selector**
54
- - [ ] **Editor Dropdown Selector**
55
- - [x] **Text Alignment Button Group**
56
- - [x] **Text Color Block**
57
- - [ ] **Live Preview (Zoomed View)**
58
- - [x] **Typing Live Preview**
59
- - [ ] **Handwritten Live Preview**
60
- - [x] **Image Slider**
61
- - [ ] **CTA Button**
62
- - [ ] **Handwritten Description Section**
63
-
64
- ---
65
-
66
- ### Phase 2: Core Card Selection
67
-
68
- - [x] **Image Slider for Card Covers**
69
- _(4 columns on desktop, 2 columns on mobile)_
70
- - [x] **Category Selection**
71
- - [ ] **Image Components (Optional)**
72
-
73
- ---
74
-
75
- ### Phase 3: Integration Components
76
-
77
- - [x] **Card Selection - Main Content**
78
- - [x] **Card Editor (Typing) - Right Content Group**
79
- - [ ] **Card Editor (Handwritten) - Right Content Group**
80
- - [ ] **Card Editor (Handwritten) - Content Section**
81
- - [x] **Card Editor (Typing) - Content Section**
82
-
83
- ---
84
-
85
- ### Phase 4: Modal/Pop-up
86
-
87
- - [ ] **Checkboxes**
88
- - [x] **Basic Modal Implementation**
89
- - [x] **Sectioned Form in Modal**
90
- - [ ] **Modal Submission API**
91
-
92
- ---
93
-
94
- ### Phase 5: Abstract Internal Logic
95
-
96
- - **TBD** _(Detailed planning will be decided later.)_
97
-
98
- This phase will focus on abstracting internal logic, such as retrieving card data and synchronizing editing information across different components.
3
+ Custom integration module for Pairbo platform.