@dhasdk/simple-ui 1.0.28 → 1.0.29
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 +17 -14
- package/lib/ExpandableText.d.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -49,6 +49,15 @@ Tooltip
|
|
|
49
49
|
<!-- ## Quick Notes: -->
|
|
50
50
|
|
|
51
51
|
|
|
52
|
+
<!-- C H A N G E L O G --------------------------------------------------------------- -->
|
|
53
|
+
|
|
54
|
+
## Changelog
|
|
55
|
+
|
|
56
|
+
1.0.29 - allow **`children`** type in **`ExpandableText`** to be **`string | null`**
|
|
57
|
+
1.0.28 - added an **`ExpandabledText`** component
|
|
58
|
+
1.0.26 - bug fix for **`DatePicker`** component on Safari
|
|
59
|
+
1.0.25 - bug fix for **`Search`** component positioning
|
|
60
|
+
|
|
52
61
|
|
|
53
62
|
<!-- I N S T A L L A T I O N ----------------------------------------------------------------------------------- -->
|
|
54
63
|
|
|
@@ -71,13 +80,6 @@ Tooltip
|
|
|
71
80
|
- Elsewhere in your file, use the component as documented below
|
|
72
81
|
|
|
73
82
|
|
|
74
|
-
<!-- C H A N G E L O G --------------------------------------------------------------- -->
|
|
75
|
-
|
|
76
|
-
## ChangeLog
|
|
77
|
-
|
|
78
|
-
1.0.28 - added an **`ExpandabledText`** component
|
|
79
|
-
|
|
80
|
-
|
|
81
83
|
<!-- A C C O R D I O N -------------------------------------------------------------- -->
|
|
82
84
|
|
|
83
85
|
## Accordion
|
|
@@ -847,13 +849,14 @@ buttons.
|
|
|
847
849
|
|
|
848
850
|
| Prop | Type | Optional | Default | Description |
|
|
849
851
|
| ----------- | -------- | -------- | -------- | -------------------------------------------- |
|
|
850
|
-
| buttonText | string | Yes | **`'more'`** | text label for the 'more' button
|
|
851
|
-
|
|
|
852
|
-
|
|
|
853
|
-
|
|
|
854
|
-
|
|
|
855
|
-
|
|
|
856
|
-
|
|
|
852
|
+
| buttonText | **`string`** | Yes | **`'more'`** | text label for the 'more' button |
|
|
853
|
+
| children | **`string \| null`** | No | **`''`** | text that this component truncates and displays |
|
|
854
|
+
| className | **`string`** | Yes | **`''`** | tailwind classes to style the component container with |
|
|
855
|
+
| classNameCollapseButton | **`string`** | Yes | **`ml-2 text-blue-600 underline hover:text-blue-800 focus:outline-none`** | tailwind classes to style the collapse button |
|
|
856
|
+
| classNameMoreButton | **`string`** | Yes | **`ml-2 text-blue-600 underline hover:text-blue-800 focus:outline-none`** | tailwind classes to style the collapse button |
|
|
857
|
+
| collapseButton | **`boolean`** | Yes | **`false`** | to display a collapse button or not |
|
|
858
|
+
| collapseText | **`string`** | Yes | **`'collapse'`** | text label for 'collapse' button |
|
|
859
|
+
| initialChars | **`integer`** | Yes | 40 | number of characters to display by default |
|
|
857
860
|
|
|
858
861
|
### Example Usage
|
|
859
862
|
|
package/lib/ExpandableText.d.ts
CHANGED