Skip to content

Commit

Permalink
Fix toggle button legend margins and ignore all things __tests__ (#408)
Browse files Browse the repository at this point in the history
  • Loading branch information
DTCurrie authored Oct 13, 2023
1 parent 20b278e commit afd3268
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
7 changes: 3 additions & 4 deletions packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@viamrobotics/prime-core",
"version": "0.0.48",
"version": "0.0.49",
"publishConfig": {
"access": "public"
},
Expand Down Expand Up @@ -29,10 +29,9 @@
},
"files": [
"dist",
"!dist/**/*.test.*",
"!dist/**/*.spec.*",
"theme.ts",
"prime.css"
"prime.css",
"!__tests__"
],
"peerDependencies": {
"svelte": ">=4.0.0 <5"
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/lib/radio.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ $: getIcon = (option: string): IconName =>
{#if $$slots.legend}
<legend
class={cx(
cx('flex text-xs', {
cx('mb-1 flex text-xs', {
'text-subtle-1': !disabled,
'cursor-not-allowed text-disabled-dark': disabled,
'after:ml-1 after:text-danger-dark after:content-["*"]': required,
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/lib/toggle-buttons.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ const handleClick = (value: string) => {
{#if $$slots.legend}
<legend
class={cx(
cx('flex text-xs', {
cx('mb-1 flex text-xs', {
'text-subtle-1': !disabled,
'cursor-not-allowed text-disabled-dark': disabled,
})
Expand Down

0 comments on commit afd3268

Please sign in to comment.