Skip to content

Commit

Permalink
Merge branch 'develop' of github.com:public-ui/kolibri into zv2-updates
Browse files Browse the repository at this point in the history
* 'develop' of github.com:public-ui/kolibri:
  style(KolInputCheckbox): change switch icon
  chore: update snapshots
  Fix expert slot activation with empty label string for button and link.
  • Loading branch information
sdvg committed Oct 17, 2023
2 parents 2471a3b + a4d7be4 commit d5c7575
Show file tree
Hide file tree
Showing 44 changed files with 16 additions and 10 deletions.
2 changes: 1 addition & 1 deletion packages/components/src/components/button/component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ export class KolButtonWc implements API {
this.validateIcons(this._icons || this._icon);
this.validateIconAlign(this._iconAlign);
this.validateId(this._id);
this.validateLabel(this._label || this._ariaLabel);
this.validateLabel(this._label ?? this._ariaLabel); // explicitly allow empty string labels
this.validateName(this._name);
this.validateOn(this._on);
this.validateRole(this._role);
Expand Down
2 changes: 1 addition & 1 deletion packages/components/src/components/link/component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ export class KolLinkWc implements API {
this.validateHref(this._href);
this.validateIcon(this._icons || this._icon);
this.validateIconAlign(this._iconAlign);
this.validateLabel(this._label || this._ariaLabel);
this.validateLabel(this._label ?? this._ariaLabel); // explicitly allow empty string labels
this.validateListenAriaCurrent(this._listenAriaCurrent);
this.validateOn(this._on);
this.validateRole(this._role);
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 14 additions & 8 deletions packages/themes/bmf/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1963,27 +1963,37 @@ export const BMF = KoliBri.createTheme('bmf', {
height: 1.25em;
left: 2px;
color: #000;
&::part(icon) {
font-family: "Font Awesome 6 Free";
font-weight: 900;
}
&::part(icon)::before {
content: "\\2b";
}
}
&:has(input:checked) .icon {
transform: translate(2em, -50%);
&::part(icon)::before {
content: "\\f00c";
}
}
&:has(input:indeterminate) .icon {
transform: translate(1em, -50%);
&::part(icon)::before {
content: "\\f068";
}
}
}
:host .disabled {
opacity: 0.33;
}
:host kol-input.button {
row-gap: 0.5rem;
}
:host kol-input.button.checked > .input,
:host kol-input.button.checked > label {
background-color: var(--color-ice);
}
:host kol-input.button > label {
background-color: var(--color-silver);
border-top-right-radius: var(--border-radius);
Expand All @@ -1994,7 +2004,6 @@ export const BMF = KoliBri.createTheme('bmf', {
padding-right: 12px;
width: 100%;
}
:host kol-input.button > .input {
background-color: var(--color-silver);
border-top-left-radius: var(--border-radius);
Expand All @@ -2003,15 +2012,12 @@ export const BMF = KoliBri.createTheme('bmf', {
min-width: 32px;
place-content: center;
}
:host kol-input.button > .input > div {
display: flex;
}
:host kol-input.button .icon {
height: auto;
}
`,
}`,
'KOL-INPUT-RADIO': `/* INPUT */
kol-input {
display: grid;
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit d5c7575

Please sign in to comment.