Skip to content

Commit

Permalink
feat(kmultiselect): reskin component [KHCP-8992] (#1874)
Browse files Browse the repository at this point in the history
* feat(kbadge): component reskin [KHCP-8968] (#1800)

* feat(kbadge): reskin component - wip [KHCP-8968]

* feat(kbadge): reskin component - wip [KHCP-8968]

* fix(kbadge): styling fix [KHCP-8968]

* chore(sandbox): comment out tooltips [KHCP-8968]

* fix(kbadge): method styling [KHCP-8968]

* fix(kbadge): icon slot [KHCP-8968]

* fix(kbadge): tooltip props [KHCP-8968]

* fix(kmethodbadge): remove type [KHCP-8968]

* test(kbadge): fix component tests [KHCP-8968]

* test(kbadge): test icon slot [KHCP-8968]

* test(kmultiselect): fix component tests [KHCP-8968]

* fix(kmultiselect): minor fix [KHCP-8968]

* fix(*): misc kbadge fixes [KHCP-8968]

* docs(badge): update component docs [KHCP-8968]

* fix(kmultiselect): undo changes [KHCP-8968]

* fix(kmultiselect): fix component [KHCP-8968]

* fix(kbadge): fix neutral appearance [KHCP-8968]

* fix(kbadge): misc fixes [KHCP-8968]

* fix(kbadge): method badge min width [KHCP-8968]

* fix(kbadge): minor fix [KHCP-8968]

* fix(kmultiselect): component tests [KHCP-8968]

* fix(kmultiselect): fix kbadge props [KHCP-8968]

* fix(*): rebase [KHCP-8968]

* fix: address PR feedback

Co-authored-by: Adam DeHaven <[email protected]>

* fix(kbadge): address PR feedback [KHCP-8968]

* fix(kbadge): address PR feedback

Co-authored-by: Adam DeHaven <[email protected]>

* fix(kbadge): add decorative appearance [KHCP-8968]

* docs(badge): minor tweak [KHCP-8968]

* fix(kbadge): remove custom colors props [KHCP-8968]

* test(kbadge): fix component tests [KHCP-8968]

* fix: address PR feedback

Co-authored-by: Adam DeHaven <[email protected]>

* fix(kbadge): address PR feedback [KHCP-8968]

* fix(kbadge): remove legacy prop support [KHCP-8968]

* fix(kbadge): component mixins [KHCP-8968]

* docs(*): small tweaks [KHCP-8968]

* fix(kbadge): small tweak [KHCP-8968]

---------

Co-authored-by: Adam DeHaven <[email protected]>

* feat(kbadge): reskin component - wip [KHCP-8968]

* feat(kbadge): reskin component - wip [KHCP-8968]

* fix(kbadge): styling fix [KHCP-8968]

* fix(kbadge): icon slot [KHCP-8968]

* fix(kbadge): tooltip props [KHCP-8968]

* test(kbadge): fix component tests [KHCP-8968]

* fix(kmultiselect): minor fix [KHCP-8968]

* fix(*): misc kbadge fixes [KHCP-8968]

* fix(kmultiselect): undo changes [KHCP-8968]

* fix(*): rebase [KHCP-8968]

* fix(kbadge): address PR feedback [KHCP-8968]

* fix(kbadge): add decorative appearance [KHCP-8968]

* chore(sandbox): setup component sandbox [KHCP-8992]

* feat(kmultiselect): reskin component - wip [KHCP-8992]

* feat(kmultiselect): reskin component - wip [KHCP-8992]

* feat(kmultiselect): reskin component - wip [KHCP-8992]

* feat(kmultiselect): reskin component [KHCP-8992]

* fix(kmultiselect): misc fixes [KHCP-8992]

* test(kmultiselect): fix component tests [KHCP-8992]

* fix(kmultiselect): misc fixes [KHCP-8992]

* fix(kmultiselect): misc fixes [KHCP-8992]

* docs(kmultiselect): update component docs [KHCP-8992]

* docs(multiselect): add help and error props sections [KHCP-8992]

* fix(kmultiselect): bug fix [KHCP-8992]

* fix(kmultiselect): address PR feedback

Co-authored-by: Adam DeHaven <[email protected]>

* fix(kmultiselect): address PR feedback [KHCP-8992]

* fix(kmultiselect): address PR feedback [KHCP-8992]

* fix: bad rebase

* fix(kbadge): remove hidden prop [KHCP-8992]

* fix(kmultiselect): refactor input field [KHCP-8992]

* fix(kmultiselect): misc tweaks and fixes [KHCP-8992]

* test(kmultiselect): update component tests [KHCP-8992]

* fix(kmultiselect): minor tweaks [KHCP-8992]

* fix(kmultiselect): add key to badge instead of container

* test(kmultiselect): fix component tests [KHCP-8992]

* fix(kmultiselect): minor styling tweaks [KHCP-8992]

* fix(kmultiselect): prevent scroll jump [KHCP-8992]

* docs(multiselect): minor tweak [KHCP-8992]

* fix(kmultiselect): address PR feedback [KHCP-8992]

* test(kmultiselect): fix component test [KHCP-8992]

* fix(kmultiselect): address PR feedback [KHCP-8992]

* fix(kmultiselect): address PR feedback [KHCP-8992]

* fix(kmultiselect): sanitize use input [KHCP-8992]

* fix(kmultiselect): update component min width [KHCP-8992]

---------

Co-authored-by: Adam DeHaven <[email protected]>
Co-authored-by: Adam DeHaven <[email protected]>
  • Loading branch information
3 people authored Jan 9, 2024
1 parent eb6472d commit 79f66a7
Show file tree
Hide file tree
Showing 13 changed files with 1,365 additions and 1,137 deletions.
716 changes: 344 additions & 372 deletions docs/components/multiselect.md

Large diffs are not rendered by default.

47 changes: 42 additions & 5 deletions docs/guide/migrating-to-version-9.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ Kongponents styles are no longer designed to be utilized standalone, separately
* `hoverColor` prop has been removed
* `truncationTooltip` prop has been changed to `boolean`. When used in conjunction with new `tooltip` prop, KBadge will only show the tooltip when content passed through the `default` slot needs truncation. Otherwise, if `tooltip` prop is used without `truncationTooltip` prop - tooltip will be shown regardless of whether truncation is needed
* `forceTooltip` prop has been removed
* `hidden` prop has been removed

#### Structure

Expand Down Expand Up @@ -195,17 +196,17 @@ Component has been renamed to `KDropdown`
#### Structure

* `k-dropdown-menu` class has been removed (`k-dropdown` class remains)
* `k-dropdown-menu-popover` `testid` data attribute has been renamed to `k-dropdown-popover`
* `k-dropdown-menu-popover` `data-testid` attribute has been renamed to `k-dropdown-popover`
* `k-dropdown-trigger` class has been removed
* `k-dropdown-trigger` `testid` data attribute has been renamed to `dropdown-trigger`
* `k-dropdown-trigger` `data-testid` attribute has been renamed to `dropdown-trigger`
* `k-dropdown-btn` class has been renamed to `dropdown-trigger-button`
* `k-dropdown-btn` `testid` data attribute has been renamed to `dropdown-trigger-button`
* `k-dropdown-btn` `data-testid` attribute has been renamed to `dropdown-trigger-button`
* `k-dropdown-list` class has been removed
* `k-dropdown-list` `testid` data attribute has been renamed to `dropdown-list`
* `k-dropdown-list` `data-testid` attribute has been renamed to `dropdown-list`
* `k-dropdown-selected-option` class has been renamed to `dropdown-selected-option`
* `k-dropdown-item-trigger` class has been renamed to `dropdown-item-trigger`
* `k-dropdown-item-trigger-label` class has been renamed to `dropdown-item-trigger-label`
* dynamic `k-dropdown-item` `testid` data attribute has been renamed to `dropdown-item`
* dynamic `k-dropdown-item` `data-testid` attribute has been renamed to `dropdown-item`

#### Constants, Types & Interfaces

Expand Down Expand Up @@ -313,6 +314,42 @@ This component has been removed. Please refer to KBadge component which has been

### KMultiselect

#### Props

* `testMode` prop has been removed
* `filterFunc` prop name has been changed to `filterFunction`
* `disabledTooltipText` property of object passed through `items` prop is no longer supported
* default value of `collapsedContext` prop has changed to `true`
* default value of `selectedRowCount` prop has changed to `1`
* `expandSelected` prop has been removed

#### Events

* `item:added` event was renamed to `item-added`
* `item:removed` event was renamed to `item-removed`

#### Structure

* `k-multiselect-item` class has been changed to `multiselect-item`
* `k-multiselect-item-container` class has been changed to `multiselect-item-container`
* `k-multiselect-item-label` class has been changed to `multiselect-item-label`
* `k-multiselect-group-container` class has been changed to `multiselect-group-container`
* `k-multiselect-group-title` class has been changed to `multiselect-group-title`
* `k-multiselect-label` `data-testid` attribute has been changed to `multiselect-label`
* `k-multiselect-container` `data-testid` attribute has been changed to `multiselect-container`
* `k-multiselect-wrapper` class has been changed to `multiselect-wrapper`
* `k-multiselect-trigger` class and `data-testid` attribute has been changed to `multiselect-trigger`
* `k-multiselect-selections` class and `data-testid` attribute has been changed to `selection-badges-container`
* `k-multiselect-selection-badge` class has been changed to `multiselect-selection-badge`
* `k-multiselect-icon` class has been changed to `multiselect-icons-container`
* `k-multiselect-clear-icon` class and `data-testid` attribute has been changed to `multiselect-clear-icon`
* `k-multiselect-input` class and `data-testid` attribute has been changed to `multiselect-input`
* `k-multiselect-list` class has been changed to `multiselect-list`
* `k-multiselect-new-item` class has been changed to `multiselect-add-item`
* `k-multiselect-empty-item` class and `data-testid` attribute has been changed to `multiselect-empty-item`
* `k-multiselect-dropdown-footer-text` class has been changed to `dropdown-footer`
* `k-multiselect-popover` class has been changed to `multiselect-popover`
* `k-multiselect-chevron-icon` class has been changed to `multiselect-chevron-icon`

### KPagination

Expand Down
14 changes: 11 additions & 3 deletions sandbox/pages/SandboxInput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,17 @@
is-subtitle
title="Figma"
/>
<KExternalLink href="https://www.figma.com/file/Yze0SWXl5nKjR0rFdilljK/Components?type=design&node-id=218%3A646&mode=dev">
Figma
</KExternalLink>
<SandboxSectionComponent>
<div>
<KExternalLink href="https://www.figma.com/file/Yze0SWXl5nKjR0rFdilljK/Components?type=design&node-id=218%3A646&mode=dev">
Figma
</KExternalLink>
</div>

<div>
<KInput />
</div>
</SandboxSectionComponent>

<!-- Props -->
<SandboxTitleComponent
Expand Down
Loading

0 comments on commit 79f66a7

Please sign in to comment.