@okaapp/oka-ui-sv 0.4.0 → 0.4.2

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/README.md CHANGED
@@ -55,6 +55,7 @@ OKA UI comes with several built-in themes:
55
55
  - Light themes:
56
56
  - `default-light`
57
57
  - `neutral-light`
58
+ - `nord-light`
58
59
 
59
60
  - Dark themes:
60
61
  - `default-dark`
@@ -70,7 +71,7 @@ OKA UI comes with several built-in themes:
70
71
 
71
72
  ## Components
72
73
 
73
- ### Core Components as of 0.1.0
74
+ ### Core Components as of 0.4.2
74
75
 
75
76
  - Avatar
76
77
  - Badge
@@ -21,7 +21,7 @@
21
21
  <button
22
22
  class={`auto-button ${isLoading && "auto-button__loading"} ${disabled && "auto-button__disabled"}`}
23
23
  {onclick}
24
- disabled={disabled || onclick}
24
+ disabled={disabled || isLoading}
25
25
  {...restProps}
26
26
  >
27
27
  <div
@@ -49,4 +49,5 @@
49
49
  overflow: clip;
50
50
  animation: spin 8s linear infinite;
51
51
  transform-origin: 24px 24px;
52
+ filter: blur(1px);
52
53
  }
@@ -19,8 +19,8 @@
19
19
 
20
20
  const sizes = {
21
21
  lg: "height: 48px; padding: 12px; font-size: 16px;",
22
- md: "height: 40px; padding: 8px; font-size: 16px;",
23
- sm: "height: 36px; padding: 6px; font-size: 14px;",
22
+ md: "height: 40px; padding: 8px; font-size: 14px;",
23
+ sm: "height: 36px; padding: 6px 8px; font-size: 12px;",
24
24
  };
25
25
  </script>
26
26
 
@@ -10,12 +10,18 @@
10
10
 
11
11
  .checkbox[data-state="checked"],
12
12
  .checkbox[data-state="indeterminate"] {
13
- background-color: var(--content-secondary);
13
+ background-color: var(--accent-primary-content);
14
14
  border-color: transparent;
15
15
  }
16
16
 
17
+ .checkbox[data-disabled] {
18
+ opacity: 0.5;
19
+ cursor: not-allowed;
20
+ }
21
+
17
22
  .checkbox__icon {
18
- width: 20px;
19
- height: 20px;
23
+ flex-shrink: 0;
24
+ width: 16px;
25
+ height: 16px;
20
26
  color: var(--content-inversed);
21
27
  }
@@ -34,7 +34,7 @@
34
34
 
35
35
  .input:disabled {
36
36
  cursor: not-allowed;
37
- background-color: var(--surface-tertiary);
37
+ background-color: var(--surface-secondary);
38
38
  border-color: var(--stroke-muted);
39
39
  }
40
40
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@okaapp/oka-ui-sv",
3
- "version": "0.4.0",
3
+ "version": "0.4.2",
4
4
  "description": "OKA UI Svelte components library for the Appta software platform",
5
5
  "license": "MIT",
6
6
  "scripts": {