@sveltia/ui 0.2.4 → 0.2.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (51) hide show
  1. package/package/components/composite/checkbox-group.svelte +2 -1
  2. package/package/components/composite/combobox.svelte +2 -2
  3. package/package/components/composite/combobox.svelte.d.ts +1 -1
  4. package/package/components/composite/disclosure.svelte +1 -1
  5. package/package/components/composite/disclosure.svelte.d.ts +1 -1
  6. package/package/components/composite/listbox.svelte +2 -2
  7. package/package/components/composite/listbox.svelte.d.ts +1 -1
  8. package/package/components/composite/menu.svelte +1 -1
  9. package/package/components/composite/menu.svelte.d.ts +1 -1
  10. package/package/components/composite/{radio-button-group.svelte → radio-group.svelte} +9 -8
  11. package/package/components/composite/radio-group.svelte.d.ts +40 -0
  12. package/package/components/composite/select-button-group.svelte +2 -2
  13. package/package/components/composite/select-button-group.svelte.d.ts +2 -2
  14. package/package/components/composite/tab-list.svelte +2 -2
  15. package/package/components/composite/tab-list.svelte.d.ts +1 -1
  16. package/package/components/core/button.svelte +3 -3
  17. package/package/components/core/button.svelte.d.ts +1 -1
  18. package/package/components/core/checkbox.svelte +33 -14
  19. package/package/components/core/checkbox.svelte.d.ts +3 -1
  20. package/package/components/core/dialog.svelte +1 -1
  21. package/package/components/core/dialog.svelte.d.ts +1 -1
  22. package/package/components/core/drawer.svelte +1 -1
  23. package/package/components/core/drawer.svelte.d.ts +1 -1
  24. package/package/components/core/menu-button.svelte +1 -1
  25. package/package/components/core/menu-button.svelte.d.ts +1 -1
  26. package/package/components/core/number-input.svelte +11 -7
  27. package/package/components/core/password-input.svelte +1 -1
  28. package/package/components/core/{radio-button.svelte → radio.svelte} +40 -15
  29. package/package/components/core/radio.svelte.d.ts +41 -0
  30. package/package/components/core/select-button.svelte +2 -2
  31. package/package/components/core/select-button.svelte.d.ts +2 -2
  32. package/package/components/core/slider.svelte +29 -15
  33. package/package/components/core/switch.svelte +2 -2
  34. package/package/components/core/switch.svelte.d.ts +1 -1
  35. package/package/components/core/tab-panel.svelte +1 -1
  36. package/package/components/core/tab-panel.svelte.d.ts +1 -1
  37. package/package/components/core/tab.svelte +1 -1
  38. package/package/components/core/tab.svelte.d.ts +1 -1
  39. package/package/components/core/text-area.svelte +1 -1
  40. package/package/components/core/text-input.svelte +3 -3
  41. package/package/components/core/toolbar.svelte +1 -1
  42. package/package/components/core/toolbar.svelte.d.ts +1 -1
  43. package/package/components/helpers/group.js +3 -1
  44. package/package/components/helpers/popup.js +10 -1
  45. package/package/components/util/app-shell.svelte +8 -5
  46. package/package/index.d.ts +2 -2
  47. package/package/index.js +2 -2
  48. package/package/styles/variables.scss +8 -5
  49. package/package.json +29 -29
  50. package/package/components/composite/radio-button-group.svelte.d.ts +0 -36
  51. package/package/components/core/radio-button.svelte.d.ts +0 -37
@@ -1,36 +0,0 @@
1
- /** @typedef {typeof __propDef.props} RadioButtonGroupProps */
2
- /** @typedef {typeof __propDef.events} RadioButtonGroupEvents */
3
- /** @typedef {typeof __propDef.slots} RadioButtonGroupSlots */
4
- /**
5
- * The container of `<RadioButton>`s.
6
- * @see https://w3c.github.io/aria/#radiogroup
7
- * @see https://w3c.github.io/aria-practices/#radiobutton
8
- */
9
- export default class RadioButtonGroup extends SvelteComponentTyped<{
10
- class?: string;
11
- element?: HTMLElement;
12
- orientation?: "horizontal" | "vertical";
13
- }, {
14
- [evt: string]: CustomEvent<any>;
15
- }, {
16
- default: {};
17
- }> {
18
- }
19
- export type RadioButtonGroupProps = typeof __propDef.props;
20
- export type RadioButtonGroupEvents = typeof __propDef.events;
21
- export type RadioButtonGroupSlots = typeof __propDef.slots;
22
- import { SvelteComponentTyped } from "svelte";
23
- declare const __propDef: {
24
- props: {
25
- class?: string;
26
- element?: HTMLElement | null;
27
- orientation?: ('horizontal' | 'vertical');
28
- };
29
- events: {
30
- [evt: string]: CustomEvent<any>;
31
- };
32
- slots: {
33
- default: {};
34
- };
35
- };
36
- export {};
@@ -1,37 +0,0 @@
1
- /** @typedef {typeof __propDef.props} RadioButtonProps */
2
- /** @typedef {typeof __propDef.events} RadioButtonEvents */
3
- /** @typedef {typeof __propDef.slots} RadioButtonSlots */
4
- /**
5
- * @see https://w3c.github.io/aria/#radio
6
- * @see https://w3c.github.io/aria-practices/#radiobutton
7
- */
8
- export default class RadioButton extends SvelteComponentTyped<{
9
- class?: string;
10
- name?: string;
11
- value?: string;
12
- selected?: boolean;
13
- }, {
14
- [evt: string]: CustomEvent<any>;
15
- }, {
16
- default: {};
17
- }> {
18
- }
19
- export type RadioButtonProps = typeof __propDef.props;
20
- export type RadioButtonEvents = typeof __propDef.events;
21
- export type RadioButtonSlots = typeof __propDef.slots;
22
- import { SvelteComponentTyped } from "svelte";
23
- declare const __propDef: {
24
- props: {
25
- class?: string;
26
- name?: string;
27
- value?: string | null;
28
- selected?: boolean;
29
- };
30
- events: {
31
- [evt: string]: CustomEvent<any>;
32
- };
33
- slots: {
34
- default: {};
35
- };
36
- };
37
- export {};