Skip to content

Commit

Permalink
chore: update version
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas H. Kelch committed Dec 13, 2023
1 parent 6c7af66 commit b3c8933
Show file tree
Hide file tree
Showing 6 changed files with 63 additions and 54 deletions.
14 changes: 0 additions & 14 deletions docs/assets/styles/docs.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,6 @@
/* Light theme */
:root {
color-scheme: normal;

/* Gray scale */
--ignt-color-gray-50: color-mix(in srgb, var(--ignt-color-gray), var(--ignt-mix-color-down) 95%);
--ignt-color-gray-100: color-mix(in srgb, var(--ignt-color-gray), var(--ignt-mix-color-down) 90%);
--ignt-color-gray-200: color-mix(in srgb, var(--ignt-color-gray), var(--ignt-mix-color-down) 75%);
--ignt-color-gray-300: color-mix(in srgb, var(--ignt-color-gray), var(--ignt-mix-color-down) 60%);
--ignt-color-gray-400: color-mix(in srgb, var(--ignt-color-gray), var(--ignt-mix-color-down) 25%);
--ignt-color-gray-500: var(--ignt-color-gray);
--ignt-color-gray-600: color-mix(in srgb, var(--ignt-color-gray), var(--ignt-mix-color-up) 15%);
--ignt-color-gray-700: color-mix(in srgb, var(--ignt-color-gray), var(--ignt-mix-color-up) 40%);
--ignt-color-gray-800: color-mix(in srgb, var(--ignt-color-gray), var(--ignt-mix-color-up) 60%);
--ignt-color-gray-900: color-mix(in srgb, var(--ignt-color-gray), var(--ignt-mix-color-up) 70%);
--ignt-color-gray-950: color-mix(in srgb, var(--ignt-color-gray), var(--ignt-mix-color-up) 80%);

/*
--sl-color-primary-50: var(--sl-color-sky-50);
--sl-color-primary-100: var(--sl-color-sky-100);
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@viur/shoelace",
"description": "A forward-thinking library of web components.",
"version": "0.7.0-v2.12.0",
"version": "1.0.0-v2.12.0",
"homepage": "https://github.com/viur-framework/viur-shoelace",
"author": "Cory LaViska",
"contributors": [
Expand Down
6 changes: 3 additions & 3 deletions src/components/button/button.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { property, query, state } from 'lit/decorators.js';
import { watch } from '../../internal/watch.js';
import ShoelaceElement from '../../internal/shoelace-element.js';
import SlIcon from '../icon/icon.component.js';
import SlSpinnerViur from '../spinner-viur/spinner-viur.component.js';
import SlSpinner from '../spinner/spinner.component.js';
import styles from './button.styles.js';
import type { CSSResultGroup } from 'lit';
import type { ShoelaceFormControl } from '../../internal/shoelace-element.js';
Expand Down Expand Up @@ -41,7 +41,7 @@ export default class SlButton extends ShoelaceElement implements ShoelaceFormCon
static styles: CSSResultGroup = styles;
static dependencies = {
'sl-icon': SlIcon,
'sl-spinner-viur': SlSpinnerViur
'sl-spinner': SlSpinner
};

private readonly formControlController = new FormControlController(this, {
Expand Down Expand Up @@ -324,7 +324,7 @@ export default class SlButton extends ShoelaceElement implements ShoelaceFormCon
${
this.caret ? html` <sl-icon part="caret" class="button__caret" library="system" name="caret"></sl-icon> ` : ''
}
${this.loading ? html`<sl-spinner-viur part="spinner"></sl-spinner-viur>` : ''}
${this.loading ? html`<sl-spinner part="spinner"></sl-spinner>` : ''}
</${tag}>
`;
/* eslint-enable lit/no-invalid-html */
Expand Down
2 changes: 1 addition & 1 deletion src/components/button/button.styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@ export default css`
visibility: hidden;
}
.button--loading sl-spinner-viur {
.button--loading sl-spinner {
--indicator-color: currentColor;
position: absolute;
font-size: 1em;
Expand Down
15 changes: 15 additions & 0 deletions src/themes/_viur.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@

:root {
/* Gray scale */
--ignt-color-gray-50: color-mix(in srgb, var(--ignt-color-gray), var(--ignt-mix-color-down) 95%);
--ignt-color-gray-100: color-mix(in srgb, var(--ignt-color-gray), var(--ignt-mix-color-down) 90%);
--ignt-color-gray-200: color-mix(in srgb, var(--ignt-color-gray), var(--ignt-mix-color-down) 75%);
--ignt-color-gray-300: color-mix(in srgb, var(--ignt-color-gray), var(--ignt-mix-color-down) 60%);
--ignt-color-gray-400: color-mix(in srgb, var(--ignt-color-gray), var(--ignt-mix-color-down) 25%);
--ignt-color-gray-500: var(--ignt-color-gray);
--ignt-color-gray-600: color-mix(in srgb, var(--ignt-color-gray), var(--ignt-mix-color-up) 15%);
--ignt-color-gray-700: color-mix(in srgb, var(--ignt-color-gray), var(--ignt-mix-color-up) 40%);
--ignt-color-gray-800: color-mix(in srgb, var(--ignt-color-gray), var(--ignt-mix-color-up) 60%);
--ignt-color-gray-900: color-mix(in srgb, var(--ignt-color-gray), var(--ignt-mix-color-up) 70%);
--ignt-color-gray-950: color-mix(in srgb, var(--ignt-color-gray), var(--ignt-mix-color-up) 80%);
}
/* VIUR CUSTOMS*/
.form-control--unwrapped .input {
flex: 1 1 auto;
Expand Down
78 changes: 43 additions & 35 deletions src/themes/viur.css

Large diffs are not rendered by default.

0 comments on commit b3c8933

Please sign in to comment.