Skip to content

Commit

Permalink
fix(text-field)!: rename prop input to input-disabled to avoid co…
Browse files Browse the repository at this point in the history
…nflict with lp
  • Loading branch information
djcouto committed May 10, 2024
1 parent 60732f8 commit 4ae3316
Show file tree
Hide file tree
Showing 36 changed files with 228 additions and 174 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const BaseInputTemplate = <T, S extends StrictRJSFSchema = RJSFSchema, F extends
id={id}
size={optionComponentSize ?? componentSize}
examples={examples}
disabled={disabled || readonly}
inputDisabled={disabled || readonly}
readonly={readonly}
maxLength={schema.maxLength ?? maxLength}
minLength={schema.minLength ?? minLength}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const WrapIfAdditionalTemplate = <T, S extends StrictRJSFSchema = RJSFSchema, F
<KvTextField
id={`${id}-key`}
label={keyLabel}
disabled={disabled || readonly}
inputDisabled={disabled || readonly}
required={required}
type={EInputFieldType.Text}
value={label}
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

14 changes: 14 additions & 0 deletions packages/ui-components/src/components/badge/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,19 +73,33 @@ export const BadgeExample: React.FC = () => (
| Name | Description |
| ---------------------------------- | ----------------------------------------------- |
| `--badge-background-color-error` | Badge's background color when state is error. |
| `--badge-background-color-error` | Badge's background color when state is error. |
| `--badge-background-color-info` | Badge's background color when state is info. |
| `--badge-background-color-info` | Badge's background color when state is info. |
| `--badge-background-color-none` | Badge's background color when state is none. |
| `--badge-background-color-none` | Badge's background color when state is none. |
| `--badge-background-color-success` | Badge's background color when state is success. |
| `--badge-background-color-success` | Badge's background color when state is success. |
| `--badge-background-color-warning` | Badge's background color when state is warning. |
| `--badge-background-color-warning` | Badge's background color when state is warning. |
| `--badge-height` | Badge's height. |
| `--badge-height` | Badge's height. |
| `--badge-max-width` | Badge's maximum width. |
| `--badge-max-width` | Badge's maximum width. |
| `--badge-min-width` | Badge's minimum width. |
| `--badge-min-width` | Badge's minimum width. |
| `--badge-text-color-error` | Badge's text color when state is error. |
| `--badge-text-color-error` | Badge's text color when state is error. |
| `--badge-text-color-info` | Badge's text color when state is info. |
| `--badge-text-color-info` | Badge's text color when state is info. |
| `--badge-text-color-none` | Badge's text color when state is none. |
| `--badge-text-color-none` | Badge's text color when state is none. |
| `--badge-text-color-success` | Badge's text color when state is success. |
| `--badge-text-color-success` | Badge's text color when state is success. |
| `--badge-text-color-warning` | Badge's text color when state is warning. |
| `--badge-text-color-warning` | Badge's text color when state is warning. |
| `--badge-warning-text-color` | Badge's text color when state is warning. |
| `--badge-warning-text-color` | Badge's text color when state is warning. |


## Dependencies
Expand Down
14 changes: 14 additions & 0 deletions packages/ui-components/src/components/calendar-day/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,19 +81,33 @@ export const KvCalendarDayExample: React.FC = () => (
| Name | Description |
| ---------------------------------------------- | ------------------------------------------------------------- |
| `--calendar-day-background-color-active` | Background color when state is active. |
| `--calendar-day-background-color-active` | Background color when state is active. |
| `--calendar-day-background-color-active-hover` | Background color when state is active and cursor is on hover. |
| `--calendar-day-background-color-active-hover` | Background color when state is active and cursor is on hover. |
| `--calendar-day-background-color-default` | Background color when state is default. |
| `--calendar-day-background-color-default` | Background color when state is default. |
| `--calendar-day-background-color-disabled` | Background color when state is disabled. |
| `--calendar-day-background-color-disabled` | Background color when state is disabled. |
| `--calendar-day-background-color-hover` | Background color when state is hover. |
| `--calendar-day-background-color-hover` | Background color when state is hover. |
| `--calendar-day-background-color-in-range` | Background color when state is in range. |
| `--calendar-day-background-color-in-range` | Background color when state is in range. |
| `--calendar-day-height` | The calendar container height. |
| `--calendar-day-height` | The calendar container height. |
| `--calendar-day-text-color-active` | Text color when state is active. |
| `--calendar-day-text-color-active` | Text color when state is active. |
| `--calendar-day-text-color-active-hover` | Text color when state is active and cursor is on hover. |
| `--calendar-day-text-color-active-hover` | Text color when state is active and cursor is on hover. |
| `--calendar-day-text-color-default` | Text color when state is default. |
| `--calendar-day-text-color-default` | Text color when state is default. |
| `--calendar-day-text-color-disabled` | Text color when state is disabled. |
| `--calendar-day-text-color-disabled` | Text color when state is disabled. |
| `--calendar-day-text-color-hover` | Text color when state is hover. |
| `--calendar-day-text-color-hover` | Text color when state is hover. |
| `--calendar-day-text-color-in-range` | Text color when state is in-range. |
| `--calendar-day-text-color-in-range` | Text color when state is in-range. |
| `--calendar-day-width` | The calendar container width. |
| `--calendar-day-width` | The calendar container width. |


## Dependencies
Expand Down
6 changes: 6 additions & 0 deletions packages/ui-components/src/components/calendar/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,17 @@ export const KvCalendarExample: React.FC = () => (
| Name | Description |
| ------------------------------------- | ------------------------------------------ |
| `--calendar-background-color` | The calendar background color. |
| `--calendar-background-color` | The calendar background color. |
| `--calendar-horizontal-padding` | The calendar container horizontal padding. |
| `--calendar-horizontal-padding` | The calendar container horizontal padding. |
| `--calendar-month-title-text-color` | The calendar month text color. |
| `--calendar-month-title-text-color` | The calendar month text color. |
| `--calendar-month-weekday-text-color` | The calendar week day text color. |
| `--calendar-month-weekday-text-color` | The calendar week day text color. |
| `--calendar-vertical-padding` | The calendar container vertical padding. |
| `--calendar-vertical-padding` | The calendar container vertical padding. |
| `--calendar-width` | The calendar container width. |
| `--calendar-width` | The calendar container width. |


## Dependencies
Expand Down

0 comments on commit 4ae3316

Please sign in to comment.