mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-16 02:41:05 +00:00
refactor(components): alphabetize exported props for scannability
This commit is contained in:
parent
d4abc1dfd3
commit
b1fe3de8ad
78 changed files with 265 additions and 264 deletions
|
@ -1,15 +1,15 @@
|
|||
<script>
|
||||
let className = undefined;
|
||||
export { className as class };
|
||||
export let id = Math.random();
|
||||
export let size = undefined;
|
||||
export let type = 'default';
|
||||
export let disabled = false;
|
||||
export let id = Math.random();
|
||||
export let invalid = false;
|
||||
export let invalidText = '';
|
||||
export let open = false;
|
||||
export let light = false;
|
||||
export let open = false;
|
||||
export let size = undefined;
|
||||
export let style = undefined;
|
||||
export let type = 'default';
|
||||
|
||||
import { cx } from '../../lib';
|
||||
</script>
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
<script>
|
||||
let className = undefined;
|
||||
export { className as class };
|
||||
export let id = Math.random();
|
||||
export let tabindex = '-1';
|
||||
export let role = 'combobox';
|
||||
export let disabled = false;
|
||||
export const translationIds = { close: 'close', open: 'open' };
|
||||
export let translateWithId = id => defaultTranslations[id];
|
||||
export let disabled = false;
|
||||
export let id = Math.random();
|
||||
export let role = 'combobox';
|
||||
export let style = undefined;
|
||||
export let tabindex = '-1';
|
||||
export let translateWithId = id => defaultTranslations[id];
|
||||
|
||||
import { getContext } from 'svelte';
|
||||
import { cx } from '../../lib';
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
<script>
|
||||
let className = undefined;
|
||||
export { className as class };
|
||||
export let open = false;
|
||||
export const translationIds = { close: 'close', open: 'open' };
|
||||
export let translateWithId = id => defaultTranslations[id];
|
||||
export let open = false;
|
||||
export let style = undefined;
|
||||
export let translateWithId = id => defaultTranslations[id];
|
||||
|
||||
import ChevronDown16 from 'carbon-icons-svelte/lib/ChevronDown16';
|
||||
import { cx } from '../../lib';
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
<script>
|
||||
let className = undefined;
|
||||
export { className as class };
|
||||
export const translationIds = { clearAll: 'clearAll', clearSelection: 'clearSelection' };
|
||||
export let disabled = false;
|
||||
export let selectionCount = undefined;
|
||||
export const translationIds = { clearAll: 'clearAll', clearSelection: 'clearSelection' };
|
||||
export let translateWithId = id => defaultTranslations[id];
|
||||
export let style = undefined;
|
||||
export let translateWithId = id => defaultTranslations[id];
|
||||
|
||||
import { createEventDispatcher, getContext } from 'svelte';
|
||||
import Close16 from 'carbon-icons-svelte/lib/Close16';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue