style-xlsx-m 0.1.13 → 0.1.14

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 +7 -9
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -65,6 +65,7 @@ XLSX.writeFile(wb, "style-xlsx-m-example.xlsm");
65
65
  ## 🗒 Style API
66
66
  -- Method to export file in excel with style get from [xlsx-js-style](https://www.npmjs.com/package/xlsx-js-style) (only function writeFile)
67
67
 
68
+
68
69
  ### Cell Style JSON structure
69
70
 
70
71
  - Cell styles are specified by a style object that roughly parallels the OpenXML structure.
@@ -156,7 +157,6 @@ XLSX.utils.book_append_sheet(wb, ws, "readme demo");
156
157
  // STEP 4: Write Excel file to browser
157
158
  XLSX.writeFile(wb, "xlsx-js-style-demo.xlsx");
158
159
  ```
159
-
160
160
  <!-- | Style Prop | Sub Prop | Default | Description/Values |
161
161
  | :---------- | :------------- | :---------- | ------------------------------------------------------------------------------------------------- |
162
162
  | `alignment` | `vertical` | `bottom` | `"top"` or `"center"` or `"bottom"` |
@@ -185,6 +185,7 @@ XLSX.writeFile(wb, "xlsx-js-style-demo.xlsx");
185
185
  | | | | Ex: `"0.00%;\\(0.00%\\);\\-;@"` // string specifying a custom format, escaping special characters |
186
186
  | | | | Ex: `"m/dd/yy"` // string a date format using Excel's format notation | -->
187
187
 
188
+
188
189
  ### `COLOR_STYLE` {object} Properties
189
190
 
190
191
  Colors for `border`, `fill`, `font` are specified as an name/value object - use one of the following:
@@ -203,27 +204,24 @@ Colors for `border`, `fill`, `font` are specified as an name/value object - use
203
204
  tint: 0.4 // ("Blue, Accent 1, Lighter 40%")
204
205
  }
205
206
  ```
206
-
207
207
  <!-- | Color Prop | Description | Example |
208
208
  | :--------- | ----------------- | --------------------------------------------------------------- |
209
209
  | `rgb` | hex RGB value | `{rgb: "FFCC00"}` |
210
210
  | `theme` | theme color index | `{theme: 4}` // (0-n) // Theme color index 4 ("Blue, Accent 1") |
211
211
  | `tint` | tint by percent | `{theme: 1, tint: 0.4}` // ("Blue, Accent 1, Lighter 40%") | -->
212
212
 
213
+
213
214
  ### `BORDER_STYLE` {string} Properties
214
215
 
215
216
  Border style property is one of the following values:
216
217
 
217
218
  `dashDotDot`, `dashDot`, `dashed`, `dotted`, `hair`, `mediumDashDotDot`, `mediumDashDot`, `mediumDashed`, `medium`, `slantDashDot`, `thick`, `thin`
218
219
 
219
- **Border Notes**
220
-
221
- Borders for merged areas are specified for each cell within the merged area. For example, to apply a box border to a merged area of 3x3 cells, border styles would need to be specified for eight different cells:
222
220
 
223
- - left borders (for the three cells on the left)
224
- - right borders (for the cells on the right)
225
- - top borders (for the cells on the top)
226
- - bottom borders (for the cells on the left)
221
+ ## 🗒 TODO
222
+ - optimize the project
223
+ - add new features for tasks and libraries (for example: spreadsheet)
224
+ - (If you have any ideas and/or suggestions write in my [email](hp.sh.shahrom@gmail.com) or [github](https://github.com/MOR8T))
227
225
 
228
226
  ## 🙏 Thanks
229
227
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "style-xlsx-m",
3
- "version": "0.1.13",
3
+ "version": "0.1.14",
4
4
  "author": "mor8t (Shukurov Shahrom)",
5
5
  "description": "style-xlsx-m is a custom xlsx and xlsx-js-style version library",
6
6
  "keywords": [