diff --git a/docs/components/input.md b/docs/components/input.md
index b9730bb9c4..7f5b27f21a 100644
--- a/docs/components/input.md
+++ b/docs/components/input.md
@@ -48,7 +48,7 @@ Use the `labelAttributes` prop to configure the KLabel's [props](/components/lab
You can add `tooltipAttributes` to configure the KTooltip's [props](/components/tooltip)
-
@@ -56,7 +56,7 @@ maxWidth: '150px'
Input Title
-
-```html
-Input Title
-```
-
-Long Input Title
-
-```html
-
- Long Input Title
-
-```
-
### info
Use the `info` prop to display information help text.
-Input Title
+Input title
```html
-Input Title
+Input title
```
### required
-Use the `required` prop to indicate requiredness of a field by displaying an `*` after the label.
+Use this prop on labels for required fields. Adds a red dot in front of a label.
Name
@@ -50,14 +32,14 @@ Use the `required` prop to indicate requiredness of a field by displaying an `*`
### tooltipAttributes
-Use the `tooltipAttributes` prop to configure the **KTooltip's** [props](/components/tooltip) if using the `help` or `info` props.
+Use the `tooltipAttributes` prop to configure the KTooltip's [props](/components/tooltip) if using the `info` prop.
-With Tooltip Attributes
+With Tooltip Attributes
```html
With Tooltip Attributes
@@ -69,30 +51,28 @@ Use the `tooltipAttributes` prop to configure the **KTooltip's** [props](/compon
Use the `for` attribute to bind a label to an input element for accessibility.
-Service Name
+Service name
```html
-Service Name
+Service name
```
## Slots
-- `tooltip` - Rather than using the `help` or `info` props, if you need to utilize HTML in the tooltip, you may use the `tooltip` slot.
+### tooltip
-:::tip Note:
-When utilizing the `label-tooltip` slot, the `info` `KIcon` will be shown by default. To utilize the the `help` icon instead, set the `label-attributes` `help` property to any non-empty string value.
-:::
+Should you need to utilize HTML in the tooltip, you may use the `tooltip` slot.
-
+
My Tooltip
Brings all the devs to the yard
```html
-
+
My Tooltip
Brings all the devs to the yard
diff --git a/docs/guide/migrating-to-version-9.md b/docs/guide/migrating-to-version-9.md
index d0c839169a..e17787f8bf 100644
--- a/docs/guide/migrating-to-version-9.md
+++ b/docs/guide/migrating-to-version-9.md
@@ -153,6 +153,16 @@ Kongponents styles are no longer designed to be utilized standalone, separately
### KLabel
+#### Structure
+
+* `k-input-label` class has been renamed to `k-label`
+
+#### Constants, Types & Interfaces
+
+#### Props
+
+* `help` prop has been removed
+* `testMode` prop has been removed
### KMenu
diff --git a/package.json b/package.json
index 47a7d04350..9099a06573 100644
--- a/package.json
+++ b/package.json
@@ -78,7 +78,7 @@
"@cypress/vite-dev-server": "^5.0.6",
"@digitalroute/cz-conventional-changelog-for-jira": "^8.0.1",
"@evilmartians/lefthook": "^1.5.1",
- "@kong/design-tokens": "^1.11.3",
+ "@kong/design-tokens": "^1.11.4",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@types/inquirer": "^9.0.3",
diff --git a/sandbox/components/SandboxNavComponent.vue b/sandbox/components/SandboxNavComponent.vue
index 1534002499..6e29088296 100644
--- a/sandbox/components/SandboxNavComponent.vue
+++ b/sandbox/components/SandboxNavComponent.vue
@@ -32,9 +32,10 @@ const links = computed((): SandboxNavItem[] => (
{ name: 'KButton', to: { name: 'button' } },
{ name: 'KCatalog', to: { name: 'catalog' } },
{ name: 'KInput', to: { name: 'input' } },
- { name: 'KTabs', to: { name: 'tabs' } },
- { name: 'KTable', to: { name: 'table' } },
+ { name: 'KLabel', to: { name: 'label' } },
{ name: 'KMultiselect', to: { name: 'multiselect' } },
+ { name: 'KTable', to: { name: 'table' } },
+ { name: 'KTabs', to: { name: 'tabs' } },
]
))
diff --git a/sandbox/components/SandboxSectionComponent.vue b/sandbox/components/SandboxSectionComponent.vue
index 5244163a0e..43dda6645f 100644
--- a/sandbox/components/SandboxSectionComponent.vue
+++ b/sandbox/components/SandboxSectionComponent.vue
@@ -55,10 +55,21 @@ const hasDescription = computed((): boolean => !!(props.description || slots.des
.section-title {
color: $kui-color-text;
margin: $kui-space-0;
+ margin-left: $kui-space-50;
+ position: relative;
& + .section-description {
margin-top: $kui-space-50;
}
+
+ &::before {
+ bottom: 2px;
+ color: $kui-color-text-neutral;
+ content: '#';
+ font-size: $kui-font-size-20;
+ left: -12px;
+ position: absolute;
+ }
}
.section-description {
diff --git a/sandbox/components/SandboxTitleComponent.vue b/sandbox/components/SandboxTitleComponent.vue
index 04fee45e3c..d0eef2f7c6 100644
--- a/sandbox/components/SandboxTitleComponent.vue
+++ b/sandbox/components/SandboxTitleComponent.vue
@@ -3,6 +3,7 @@
{{ title }}
@@ -52,6 +53,20 @@ const hasDescription = computed((): boolean => !!(props.description || slots.des
& + .description {
margin-top: $kui-space-50;
}
+
+ &.subtitle {
+ margin-left: $kui-space-50;
+ position: relative;
+
+ &::before {
+ bottom: 2px;
+ color: $kui-color-text-primary;
+ content: '#';
+ font-size: $kui-font-size-30;
+ left: -12px;
+ position: absolute;
+ }
+ }
}
.description {
diff --git a/sandbox/pages/SandboxInput.vue b/sandbox/pages/SandboxInput.vue
index 6007fda84a..d1247d9f3e 100644
--- a/sandbox/pages/SandboxInput.vue
+++ b/sandbox/pages/SandboxInput.vue
@@ -159,7 +159,11 @@
-
+
+
+ Brings all the devs to the yard
+
+
+