@dhasdk/simple-ui 1.0.70 → 1.0.71
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 +9 -0
- package/index.js +15 -15
- package/index.mjs +632 -622
- package/lib/RadioGroup.d.ts +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -54,6 +54,8 @@ Tooltip
|
|
|
54
54
|
|
|
55
55
|
## Changelog
|
|
56
56
|
|
|
57
|
+
1.0.71 - added the **`classNameIconContainer`** prop to allow for sizing of the icons used for the **`RadioGroup`** component.
|
|
58
|
+
|
|
57
59
|
1.0.70 - bug fix for **`onExpand`** handler in **`Accordion`**, added a separate **`onExpand`** handler to **`AccordionParent`** that is called with an index + boolean expanded.
|
|
58
60
|
|
|
59
61
|
1.0.69 - added a **`classNameIcon`** prop to **`RadioGroup`** to style the SVG icon used for radio input items. Also added the **`TextArea`** component and documentation.
|
|
@@ -1449,6 +1451,7 @@ Full list of props below
|
|
|
1449
1451
|
| classNameContainer | **`string`** | Yes | **`undefined`** | a group of alternate css classes that can be specified by the developer for use in the container (fieldset) element. |
|
|
1450
1452
|
| classNameInput | **`string`** | Yes | see below | a group of alternate css classes that can be specified by the developer for use in the input element of the component. |
|
|
1451
1453
|
| classNameIcon | **`string`** | Yes | | TailwindCSS classes that can be applied to the SVG icon, affects the fill regon. |
|
|
1454
|
+
| classNameIconContainer | **`string`** | Yes | see below | TailwindCSS classes that can be applied to the **`span`** element that wraps the icon. This can be used to re-size the **SVG** icon. |
|
|
1452
1455
|
| classNameLabel | **`string`** | Yes | see below | a group of alternate css classes that can be specified by the developer for use in the label element of the component. |
|
|
1453
1456
|
| classNameLabelText | **`string`** | Yes | **`ml-1`** | a group of alternate css classes that can be specified by the developer for use in the text portion of label inside the component. |
|
|
1454
1457
|
| dataTestId | string | Yes | undefined | A **'data-testid'** value that is applied to the fieldset element that wraps RadioGroup for testing purposes |
|
|
@@ -1477,6 +1480,12 @@ twMerge(
|
|
|
1477
1480
|
checked:bg-black checked:p-[2.5px] checked:border-black
|
|
1478
1481
|
```
|
|
1479
1482
|
|
|
1483
|
+
- classNameIconContainer
|
|
1484
|
+
|
|
1485
|
+
```tsx
|
|
1486
|
+
rounded-full size-4 border border-black flex items-center justify-center
|
|
1487
|
+
```
|
|
1488
|
+
|
|
1480
1489
|
|
|
1481
1490
|
2. Options interface
|
|
1482
1491
|
|