@dhasdk/simple-ui 1.0.34 → 1.0.36
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 +6 -3
- package/index.css +1 -1
- package/index.js +23 -20
- package/index.mjs +783 -774
- package/lib/SideBarNav.d.ts +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -53,6 +53,8 @@ Tooltip
|
|
|
53
53
|
|
|
54
54
|
## Changelog
|
|
55
55
|
|
|
56
|
+
1.0.36 - bug fix on layout + classNameContainer prop for **`SideBarNav`**
|
|
57
|
+
1.0.35 - bug fix for animation on **`SideBarNav`**
|
|
56
58
|
1.0.34 - accessibility and layout fixes for **`SideBarNav`**
|
|
57
59
|
1.0.33 - update to **`Search`** & **`BreadCrumbs`** to fix a11y errors
|
|
58
60
|
1.0.32 - update to **`Search`** component such that results do not extend past bottom of viewable page
|
|
@@ -856,10 +858,10 @@ buttons.
|
|
|
856
858
|
| children | **`string \| undefined`** | No | **`''`** | text that this component truncates and displays |
|
|
857
859
|
| className | **`string`** | Yes | **`''`** | tailwind classes to style the component container with |
|
|
858
860
|
| classNameCollapseButton | **`string`** | Yes | **`ml-2 text-blue-600 underline hover:text-blue-800 focus:outline-none`** | tailwind classes to style the collapse button |
|
|
859
|
-
| classNameMoreButton | **`string`** | Yes | **`ml-2 text-blue-600 underline hover:text-blue-800 focus:outline-none`** | tailwind classes to style the
|
|
861
|
+
| classNameMoreButton | **`string`** | Yes | **`ml-2 text-blue-600 underline hover:text-blue-800 focus:outline-none`** | tailwind classes to style the more button |
|
|
860
862
|
| collapseButton | **`boolean`** | Yes | **`false`** | to display a collapse button or not |
|
|
861
863
|
| collapseText | **`string`** | Yes | **`'collapse'`** | text label for 'collapse' button |
|
|
862
|
-
| initialChars | **`
|
|
864
|
+
| initialChars | **`number`** | Yes | 40 | number of characters to display by default in collapsed state |
|
|
863
865
|
|
|
864
866
|
### Example Usage
|
|
865
867
|
|
|
@@ -1734,7 +1736,8 @@ Full list of props below
|
|
|
1734
1736
|
| ----------- | -------- | -------- | -------- | ----------- |
|
|
1735
1737
|
| appName | string | No | undefined | The application name to dispilay |
|
|
1736
1738
|
| children | ReactNode | Yes | undefined | This prop takes in any children and displays them between the horizontal rule and the list of menu items. It is intended for to allow developers to add a Search component. See usage example above. |
|
|
1737
|
-
| className | string | Yes | (1) below | a group of alternate css classes that can be specified by the developer and applied to the outer **`
|
|
1739
|
+
| className | string | Yes | (1) below | a group of alternate css classes that can be specified by the developer and applied to the outer **`dialog`** element. |
|
|
1740
|
+
| classNameContainer | string | Yes | **`fixed inset-y-0 right-0 flex flex-col px-4 pb-4 pt-10 bg-white overflow-y-auto h-full min-h-0 w-56 md:w-[328px] lg:w-[432px] transition-transform duration-200 ease-in-out`** | a group of alternate css classes that can be specified by the developer and applied to the outer **`div`** element just inside the dialog element. |
|
|
1738
1741
|
| classNameBackgroundShadow | string | Yes | **`absolute inset-0 bg-black/70 z-10`** | a group of alternate css classes that can be specified by the developer and applied to the outer **`div`** element. |
|
|
1739
1742
|
| classNameBackButton | string | Yes | **`-mt-8 w-full relative hover:cursor-pointer`** | alternative CSS classes that are applied to the **`button`** (container) that contains the back arrow image and 'Back' text.|
|
|
1740
1743
|
| classNameImage | string | Yes | (2) below | a group of alternate classes that can be specified for the logo image, and applied to the **`img`** element |
|