@dhasdk/simple-ui 1.0.55 → 1.0.57

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
@@ -53,6 +53,11 @@ Tooltip
53
53
 
54
54
  ## Changelog
55
55
 
56
+ 1.0.57 - added **`className`** prop to **`ProgressBar`** to style the outer div that is the container
57
+ for the ProgressBar component.
58
+
59
+ 1.0.56 - **`ProgressBar`** fix for z-level when **`showMarkers`** is false
60
+
56
61
  1.0.55 - added **`classNameLabel`** to **GroupCheckBox** and **CheckBox**, added remaining **`className...`** props to **ChecKBoxGroup**, added **`customIcons`** prop to both **CheckBox** and **CheckBoxGroup** components.
57
62
 
58
63
  1.0.54 - added **`showMarkers`** and **`classNameMarkerFalse`** to the **ProgressBar** component
@@ -1335,13 +1340,14 @@ Full list of props below
1335
1340
  | totalSteps | **`number`** | No | **`undefined`** | Total number of steps to be displayed in the progress bar. |
1336
1341
  | currentStep | **`number`** | No | **`undefined`** | Current (active) step. |
1337
1342
  | isStep | **`boolean`** | Yes | **`true`** | Controls whether steps inside the circle are displayed as numbers, or if false, displayed as checkmarks/dashes. |
1343
+ | className | **`string`** | Yes | **`flex items-center w-full`** | Alternate CSS classes to apply to the <strong>div</strong> that is the container for the **ProgressBar** component. |
1338
1344
  | classNameArrowColor | **`string`** | Yes | **`fill-[#305B25]`** | Controls the color of the arrow that points from last completed step to current step. |
1339
1345
  | classNameBorderColor | **`string`** | Yes | **`border-[#305B25]`** | Controls the color of the border around each completed step's circle. |
1340
1346
  | classNameFillColor | **`string`** | Yes | **`bg-green-500`**, see notes for **showMarkers** below | Controls the fill color of each completed step's circle. |
1341
1347
  | classNameGradient | **`string`** | Yes | **`from-[#305B25] to-[#5AAB46]`** | Controls the colors used in the gradient for the bars between each completed step. |
1342
- | classNameMarkerFalse | **`string`** | Yes | **`-z-10 -mx-[0.1em] w-full h-2 bg-gray-300 rounded-full`** | The classNames applied to the base div that provides the background (shape and color) to the progress bar. |
1348
+ | classNameMarkerFalse | **`string`** | Yes | **`z-0 -mx-[0.1em] w-full h-2 bg-gray-300 rounded-full`** | The classNames applied to the base div that provides the background (shape and color) to the progress bar. |
1343
1349
  | dataTestId | string | Yes | undefined | A **'data-testid'** value that is applied to the div element that wraps ProgressBar for testing purposes |
1344
- | showMarkers | boolean | Yes | true | Sets whether progress markers or checkboxes are displayed. If set to false, a single long bar w/o individual steps is presented, with the progress indicated by a 2nd bar overlaying the 1st. The overlaying progress bar styling can be changed via the **`classNameFillColor`** prop. Default values for **classNameFillColor** in this use case are **`z-0 -mx-[0.1em] h-2 bg-blue-300 rounded-full`** |
1350
+ | showMarkers | boolean | Yes | true | Sets whether progress markers or checkboxes are displayed. If set to false, a single long bar w/o individual steps is presented, with the progress indicated by a 2nd bar overlaying the 1st. The overlaying progress bar styling can be changed via the **`classNameFillColor`** prop. Default values for **classNameFillColor** in this use case is **`z-10 -mx-[0.1em] h-2 bg-blue-300 rounded-full`** |
1345
1351
 
1346
1352
  1. Base CSS Classes
1347
1353