Skip to content

Commit

Permalink
Styling updates for new components from merge
Browse files Browse the repository at this point in the history
  • Loading branch information
pavish committed Dec 29, 2021
1 parent 0bffb94 commit 42c00e0
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 30 deletions.
4 changes: 0 additions & 4 deletions mathesar_ui/src/component-library/checkbox/Checkbox.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,3 @@
{value}
on:change={onChange}
/>

<style global lang="scss">
@import "Checkbox.scss";
</style>
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,3 @@
{/each}
</ul>
</fieldset>

<style global lang="scss">
@import "FieldsetGroup.scss"
</style>
2 changes: 1 addition & 1 deletion mathesar_ui/src/component-library/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export { default as CancelOrProceedButtonPair } from './cancel-or-proceed-button
export { default as Checkbox } from './checkbox/Checkbox.svelte';
export { default as CheckboxGroup } from './checkbox-group/CheckboxGroup.svelte';
export { default as Icon } from './icon/Icon.svelte';
export { InputGroup, InputGroupText } from './input-group';
export { default as Label } from './label/Label.svelte';
export { default as LabeledInput } from './labeled-input/LabeledInput.svelte';
export { default as NumberInput } from './number-input/NumberInput.svelte';
Expand All @@ -44,7 +45,6 @@ export { default as Tree } from './tree/Tree.svelte';

// Systems
export * from './confirmation';
export * from './input-group';
export * from './modal';
export * from './toast';
export * from './form-builder';
4 changes: 0 additions & 4 deletions mathesar_ui/src/component-library/label/Label.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,3 @@
<label for={$inputId} class="label-component" class:disabled={$disabled}>
<slot inputId={$inputId} />
</label>

<style global lang="scss">
@import './Label.scss';
</style>
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,3 @@
</span>
</Label>
</div>

<style global lang="scss">
@import './LabeledInput.scss';
</style>
4 changes: 0 additions & 4 deletions mathesar_ui/src/component-library/radio/Radio.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,3 @@
{id}
{disabled}
/>

<style global lang="scss">
@import "./Radio.scss";
</style>
22 changes: 13 additions & 9 deletions mathesar_ui/src/component-library/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,27 @@

@import "common/styles/main.scss";

@import "text-avatar/TextAvatar.scss";
@import "input-group/InputGroup.scss";
@import "checkbox/Checkbox.scss";
@import "button/Button.scss";
@import "cancel-or-proceed-button-pair/CancelOrProceedButtonPair.scss";
@import "checkbox/Checkbox.scss";
@import "fieldset-group/FieldsetGroup.scss";
@import "icon/Icon.scss";
@import "input-group/InputGroup.scss";
@import "label/Label.scss";
@import "labeled-input/LabeledInput.scss";
@import "progress/Progress.scss";
@import "cancel-or-proceed-button-pair/CancelOrProceedButtonPair.scss";
@import "skeleton/Skeleton.scss";
@import "radio/Radio.scss";
@import "seesaw/Seesaw.scss";
@import "skeleton/Skeleton.scss";
@import "text-avatar/TextAvatar.scss";

@import "dropdown/Dropdown.scss";
@import "file-upload/FileUpload.scss";
@import "notification/Notification.scss";
@import "tabs/TabContainer.scss";
@import "tree/Tree.scss";
@import "pagination/Pagination.scss";
@import "dropdown/Dropdown.scss";
@import "select/Select.scss";
@import "file-upload/FileUpload.scss";
@import "tabs/TabContainer.scss";
@import "tree/Tree.scss";

@import "modal/Modal.scss";
// Limit to one scss export from a component/system
Expand Down

0 comments on commit 42c00e0

Please sign in to comment.