hamzus-ui 0.0.46 → 0.0.48

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.
package/index.d.ts CHANGED
@@ -39,6 +39,7 @@ export { default as ScrollArea } from "./src/components/hamzus-ui/ScrollArea/Scr
39
39
  export * as Sidebar from "./src/layout/Sidebar"
40
40
 
41
41
  // utils
42
+ export { config as config } from "./src/utils/hamzus.config.js"
42
43
  export { getCookie as getCookie } from "./src/utils/clientCookie.js"
43
44
  export { setCookie as setCookie } from "./src/utils/clientCookie.js"
44
45
  export { sendRequest as sendRequest } from "./src/utils/request.js"
package/index.js CHANGED
@@ -34,6 +34,7 @@ export { default as ScrollArea } from "./src/components/hamzus-ui/ScrollArea/Scr
34
34
  export * as Sidebar from "./src/layout/Sidebar"
35
35
 
36
36
  // utils
37
+ export { config as config } from "./src/utils/hamzus.config.js"
37
38
  export { getCookie as getCookie } from "./src/utils/clientCookie.js"
38
39
  export { setCookie as setCookie } from "./src/utils/clientCookie.js"
39
40
  export { sendRequest as sendRequest } from "./src/utils/request.js"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hamzus-ui",
3
- "version": "0.0.46",
3
+ "version": "0.0.48",
4
4
  "type": "module",
5
5
  "main": "index.js",
6
6
  "svelte": "index.js",
@@ -77,8 +77,8 @@
77
77
  color: var(--button-default-color);
78
78
  }
79
79
  .button > :global(svg) {
80
- height: 24px;
81
- width: 24px;
80
+ height: 16px;
81
+ width: 16px;
82
82
  flex-shrink: 0;
83
83
  }
84
84
  .button > :global(svg > path) {
@@ -28,6 +28,7 @@
28
28
  align-items: center;
29
29
  justify-content: baseline;
30
30
  column-gap: var(--pad-m);
31
+ padding-top: var(--pad-m);
31
32
  padding-bottom: var(--pad-m);
32
33
  position: relative;
33
34
  }
@@ -23,7 +23,7 @@
23
23
  </script>
24
24
 
25
25
  <div bind:this={el} class="active">
26
- <Button {variant} style={`flex-shrink:0;${$activeTab === value ? activeStyle : ''}`} {label} onClick={handleClick} {...$$restProps}>
26
+ <Button {variant} style={`flex-shrink:0;${$activeTab === value ? activeStyle : ''}column-gap:var(--pad-s);`} {label} onClick={handleClick} {...$$restProps}>
27
27
  <slot/>
28
28
  </Button>
29
29
  </div>
@@ -33,4 +33,8 @@
33
33
  all: unset;
34
34
  min-width: max-content;
35
35
  }
36
+
37
+ .active :global(button:has( > svg)) {
38
+ padding-left: var(--pad-m);
39
+ }
36
40
  </style>