@skeletonlabs/skeleton 1.7.1-dev.6ae8177a → 1.7.1-dev.e31736b9

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.
@@ -2,7 +2,6 @@
2
2
  export let group;
3
3
  export let name;
4
4
  export let value;
5
- export let title = "";
6
5
  export let controls = "";
7
6
  export let regionTab = "";
8
7
  export let active = getContext("active");
@@ -68,7 +67,7 @@ function prunedRestProps() {
68
67
  }
69
68
  </script>
70
69
 
71
- <label class={classesBase} {title}>
70
+ <label class={classesBase}>
72
71
  <!-- A11y attributes are not allowed on <label> -->
73
72
  <div
74
73
  class="tab {classesTab}"
@@ -8,8 +8,6 @@ declare const __propDef: {
8
8
  name: string;
9
9
  /** Set the input's value.*/
10
10
  value: any;
11
- /** Provide a hoverable title attribute for the tab.*/
12
- title?: string | undefined;
13
11
  /** Set the ARIA controls value to define which panel this tab controls.*/
14
12
  controls?: string | undefined;
15
13
  /** Provide arbitrary classes to style the tab region.*/
package/dist/index.d.ts CHANGED
@@ -47,7 +47,6 @@ export { default as Step } from './components/Stepper/Step.svelte';
47
47
  export { default as Table } from './components/Table/Table.svelte';
48
48
  export { default as TabGroup } from './components/Tab/TabGroup.svelte';
49
49
  export { default as Tab } from './components/Tab/Tab.svelte';
50
- export { default as TabAnchor } from './components/Tab/TabAnchor.svelte';
51
50
  export { default as TableOfContents } from './components/TableOfContents/TableOfContents.svelte';
52
51
  export { default as CodeBlock } from './utilities/CodeBlock/CodeBlock.svelte';
53
52
  export { default as Modal } from './utilities/Modal/Modal.svelte';
package/dist/index.js CHANGED
@@ -56,7 +56,6 @@ export { default as Step } from './components/Stepper/Step.svelte';
56
56
  export { default as Table } from './components/Table/Table.svelte';
57
57
  export { default as TabGroup } from './components/Tab/TabGroup.svelte';
58
58
  export { default as Tab } from './components/Tab/Tab.svelte';
59
- export { default as TabAnchor } from './components/Tab/TabAnchor.svelte';
60
59
  export { default as TableOfContents } from './components/TableOfContents/TableOfContents.svelte';
61
60
  // Utility Components
62
61
  export { default as CodeBlock } from './utilities/CodeBlock/CodeBlock.svelte';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skeletonlabs/skeleton",
3
- "version": "1.7.1-dev.6ae8177a",
3
+ "version": "1.7.1-dev.e31736b9",
4
4
  "description": "A SvelteKit component library.",
5
5
  "author": "endigo9740 <chris@skeletonlabs.dev>",
6
6
  "repository": {
@@ -1,44 +0,0 @@
1
- <script>import { getContext } from "svelte";
2
- export let selected = false;
3
- export let controls = "";
4
- export let active = getContext("active");
5
- export let hover = getContext("hover");
6
- export let flex = getContext("flex");
7
- export let padding = getContext("padding");
8
- export let rounded = getContext("rounded");
9
- export let spacing = getContext("spacing");
10
- const cBase = "text-center cursor-pointer transition-colors duration-100";
11
- const cInterface = "";
12
- $:
13
- classesActive = selected ? active : hover;
14
- $:
15
- classesBase = `${cBase} ${flex} ${padding} ${rounded} ${classesActive} ${$$props.class ?? ""}`;
16
- $:
17
- classesInterface = `${cInterface} ${spacing}`;
18
- function prunedRestProps() {
19
- delete $$restProps.class;
20
- return $$restProps;
21
- }
22
- </script>
23
-
24
- <a
25
- class="tab-anchor {classesBase}"
26
- href={$$props.href}
27
- {...prunedRestProps()}
28
- aria-controls={controls}
29
- on:click
30
- on:keydown
31
- on:keyup
32
- on:keypress
33
- on:mouseover
34
- on:mouseleave
35
- on:focus
36
- on:blur
37
- data-testid="tab-anchor"
38
- >
39
- <!-- Interface -->
40
- <div class="tab-interface {classesInterface}">
41
- {#if $$slots.lead}<div class="tab-lead"><slot name="lead" /></div>{/if}
42
- <div class="tab-label"><slot /></div>
43
- </div>
44
- </a>
@@ -1,44 +0,0 @@
1
- import { SvelteComponentTyped } from "svelte";
2
- declare const __propDef: {
3
- props: {
4
- [x: string]: any;
5
- /** Enables the active state styles when set true.*/
6
- selected?: boolean | undefined;
7
- /** Set the ARIA controls value to define which panel this tab controls.*/
8
- controls?: string | undefined;
9
- /** Provide classes to style each tab's active styles.*/
10
- active?: string | undefined;
11
- /** Provide classes to style each tab's hover styles.*/
12
- hover?: string | undefined;
13
- /** Provide classes to style each tab's flex styles.*/
14
- flex?: string | undefined;
15
- /** Provide classes to style each tab's padding styles.*/
16
- padding?: string | undefined;
17
- /** Provide classes to style each tab's box radius styles.*/
18
- rounded?: string | undefined;
19
- /** Provide classes to set the vertical spacing between items.*/
20
- spacing?: string | undefined;
21
- };
22
- events: {
23
- click: MouseEvent;
24
- keydown: KeyboardEvent;
25
- keyup: KeyboardEvent;
26
- keypress: KeyboardEvent;
27
- mouseover: MouseEvent;
28
- mouseleave: MouseEvent;
29
- focus: FocusEvent;
30
- blur: FocusEvent;
31
- } & {
32
- [evt: string]: CustomEvent<any>;
33
- };
34
- slots: {
35
- lead: {};
36
- default: {};
37
- };
38
- };
39
- export type TabAnchorProps = typeof __propDef.props;
40
- export type TabAnchorEvents = typeof __propDef.events;
41
- export type TabAnchorSlots = typeof __propDef.slots;
42
- export default class TabAnchor extends SvelteComponentTyped<TabAnchorProps, TabAnchorEvents, TabAnchorSlots> {
43
- }
44
- export {};