@dhasdk/simple-ui 1.0.18 → 1.0.19

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
@@ -1317,7 +1317,7 @@ The **`Search`** component presents a responsive Input element styled with a sea
1317
1317
 
1318
1318
  This component is combined with a required input data file that the component uses to source its data. The data must match the SearchDataItem interface, shown below:
1319
1319
 
1320
- Note: to change the default **`placeholder`** text, you can pass any normal html input attributes to this prop, such as **`placeholder`**, and they will be applied.
1320
+ Note: you can pass any normal html input attributes to this prop, such as **`placeholder`**. This is how you can change standard published attributes, including **`placeholder`** for the Search component.
1321
1321
 
1322
1322
  Full list of props below
1323
1323
 
@@ -1326,8 +1326,9 @@ Full list of props below
1326
1326
  | Prop | Type | Optional | Default | Description |
1327
1327
  | ----------- | -------- | -------- | -------- | ----------- |
1328
1328
  | airaLabel | **`string`** | Yes | **`'Search'`** | The aria-label to assign to this Search component |
1329
- | className | **`string`** | Yes | see (1) below | alternate css classes to add/change styling of the div that wraps the input element. |
1330
- | classNameContainer | **`string`** | Yes | **`h-12 md:h-[50px] lg:h-14 flex items-center relative`** | alternate css classes to add/change styling of the span tag that wraps the search component. |
1329
+ | className | **`string`** | Yes | see (1) below | alternate css classes to add/change styling of
1330
+ the input element. |
1331
+ | classNameContainer | **`string`** | Yes | **`h-12 md:h-[50px] lg:h-14 flex items-center max-w-full relative`** | alternate css classes to add/change styling of the span tag that wraps the search component. |
1331
1332
  | classNameInputContainer | **`string`** | Yes | **`border-[#6a686b] w-[309px] md:w-[334px] lg:w-[350px] inline-flex bg-white items-center`** | alternate css classes to add/change styling of the span tag that wraps the search component. |
1332
1333
  | classNameListOutput | **`string`** | Yes | see (2) below | alternate css classes to add/change styling of the output list or search results box. |
1333
1334
  | iconLink | **`boolean`** | Yes | **`{false}`** | If set to true, a search icon is displayed that when clicked will expand into a wider Search component. |
@@ -1336,7 +1337,7 @@ Full list of props below
1336
1337
 
1337
1338
  1. Default className
1338
1339
 
1339
- **`grow appearance-none h-8 md:h-[32px] lg:h-14 py-2 lg:ps-[19px] rounded-tl rounded-bl rounded-br-none rounded-tr-none lg:border border-[#07192d] font-['Arial'] bg-white text-[#333234] text-base lg:text-lg hover:border-[#5992fa] focus:border-[#5992fa] outline-hidden`**
1340
+ **`grow shrink-1 appearance-none h-8 md:h-[32px] lg:h-14 py-2 lg:ps-[19px] rounded-tl rounded-bl rounded-br-none rounded-tr-none lg:border border-[#07192d] font-['Arial'] bg-white text-[#333234] text-base lg:text-lg hover:border-[#5992fa] focus:border-[#5992fa] outline-hidden`**
1340
1341
 
1341
1342
  2. Default classNameListOutput
1342
1343