@shival99/z-ui-svelte 0.1.12 → 0.1.13

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.
@@ -10,7 +10,7 @@ export interface ZSelectOption<T = unknown> {
10
10
  label: string;
11
11
  value: T;
12
12
  disabled?: boolean;
13
- /** Heading above the first option of each run of equal groups (a divider with this name). A virtual list does not draw groups. */
13
+ /** Divider with this name above the first option of each run of equal groups. Not drawn in a virtual list. */
14
14
  group?: string;
15
15
  icon?: ZIcon;
16
16
  /** Nested options. With `zTree`, clicking this option drills into them instead of selecting it. */
@@ -188,6 +188,12 @@
188
188
  min-height: 0;
189
189
  }
190
190
 
191
+ /* A bar strip inside the wrapper: the strip's 2.5rem floor leaves 2px above and below its 36px tabs, but nothing at the
192
+ sides, so the first and last tab touched the wrapper's edge. Give the sides the same 2px. */
193
+ .z-tabs-container[data-type='bar'][data-orientation='horizontal'] > .z-tabs-nav-surface {
194
+ padding-inline: 0.125rem;
195
+ }
196
+
191
197
  /* Round arrow and menu buttons for the pill family, matching the pill shape. */
192
198
  .z-tabs-container:is(
193
199
  [data-type='pill-primary'],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shival99/z-ui-svelte",
3
- "version": "0.1.12",
3
+ "version": "0.1.13",
4
4
  "description": "Z-UI component library for Svelte 5 (runes, no CDK).",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -55,6 +55,14 @@
55
55
  "vite": "7.3.1",
56
56
  "vitest": "4.1.10"
57
57
  },
58
+ "scripts": {
59
+ "package": "svelte-package && node scripts/bundle-core-styles.mjs",
60
+ "prepublishOnly": "pnpm package",
61
+ "check": "svelte-check --tsconfig ./tsconfig.json",
62
+ "test": "vitest run",
63
+ "generate:animated-icons": "node scripts/generate-animated-icons.mjs",
64
+ "lint": "eslint src"
65
+ },
58
66
  "dependencies": {
59
67
  "@dayflow/blossom-color-picker-svelte": "1.3.0",
60
68
  "@floating-ui/dom": "1.8.0",
@@ -110,12 +118,5 @@
110
118
  "@aiden0z/pptx-renderer": {
111
119
  "optional": true
112
120
  }
113
- },
114
- "scripts": {
115
- "package": "svelte-package && node scripts/bundle-core-styles.mjs",
116
- "check": "svelte-check --tsconfig ./tsconfig.json",
117
- "test": "vitest run",
118
- "generate:animated-icons": "node scripts/generate-animated-icons.mjs",
119
- "lint": "eslint src"
120
121
  }
121
- }
122
+ }