@scaleflex/ui-tw 0.0.19 → 0.0.21

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.
@@ -31,10 +31,7 @@ function Label(_ref) {
31
31
  className: className
32
32
  }))
33
33
  }, props), /*#__PURE__*/React.createElement("span", {
34
- className: "truncate",
35
- style: {
36
- maxWidth: icon || tooltip ? 'calc(100% - 2rem)' : undefined
37
- }
34
+ className: "truncate"
38
35
  }, children), (icon || tooltip) && /*#__PURE__*/React.createElement(LabelIcon, {
39
36
  size: size,
40
37
  icon: icon,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scaleflex/ui-tw",
3
- "version": "0.0.19",
3
+ "version": "0.0.21",
4
4
  "author": "scaleflex",
5
5
  "repository": "github:scaleflex/ui",
6
6
  "homepage": "https://github.com/scaleflex/ui/blob/master/README.md",
@@ -18,7 +18,7 @@
18
18
  "@radix-ui/react-slot": "^1.1.2",
19
19
  "@radix-ui/react-switch": "^1.0.1",
20
20
  "@radix-ui/react-tooltip": "^1.2.6",
21
- "@scaleflex/icons-tw": "^0.0.19",
21
+ "@scaleflex/icons-tw": "^0.0.21",
22
22
  "@types/lodash.merge": "^4.6.9",
23
23
  "class-variance-authority": "^0.7.1",
24
24
  "lodash.merge": "^4.6.2",
package/theme.css CHANGED
@@ -28,21 +28,24 @@
28
28
  --warning-4: oklch(0.978 0.025 86.868); /* #FFF7E5 */
29
29
  --border: oklch(92.86% 0.009 247.92); /* Borders Secondary #E3E8ED */
30
30
  --input: oklch(0.8625 0.0257 248.73); /* Border Primary Stateless #CCD6DE */
31
- --ring: oklch(0.578 0.198 268.129 / 0.7); /* Borders Base #6879EB */
31
+ --ring: oklch(0.578 0.198 268.129 / 0.7);
32
32
  --shadow: oklch(26.18% 0.024 256.43 / 0.1);
33
+
33
34
  --chart-1: oklch(0.646 0.222 41.116); /* Chart 1 - Orange/Yellow Base - approx #DA9834 */
34
35
  --chart-2: oklch(0.6 0.118 184.704); /* Chart 2 - Teal/Greenish-Blue Base - approx #4BA3AD */
35
36
  --chart-3: oklch(0.398 0.07 227.392); /* Chart 3 - Muted Blue Base - approx #435C9A */
36
37
  --chart-4: oklch(0.828 0.189 84.429); /* Chart 4 - Bright Lime-Yellow Base - approx #E2E14D */
37
38
  --chart-5: oklch(0.769 0.188 70.08); /* Chart 5 - Golden-Yellow Base - approx #E3C442 */
38
- --sidebar: oklch(1 0 0); /* Background stateless #ffffff */
39
- --sidebar-foreground: oklch(0.3687 0.0313 264.55); /* Text Primary #37414B */
40
- --sidebar-primary: oklch(0.6662 0.2007 280.88); /* Accent Stateless #6879EB */
39
+
40
+ --sidebar: oklch(0.45 0.229 265.091); /* Background stateless #153DD1 */
41
+ --sidebar-foreground: oklch(1 0 0); /* Text Primary #ffffff */
42
+ --sidebar-primary: oklch(0.578 0.198 268.129); /* Accent Stateless #6879EB */
41
43
  --sidebar-primary-foreground: oklch(1 0 0); /* Text Button Primary #ffffff */
42
44
  --sidebar-accent: oklch(0.9641 0.0065 231.29); /* Background active #F3F7FA */
43
45
  --sidebar-accent-foreground: oklch(0.3687 0.0313 264.55); /* Text Primary #37414B */
44
46
  --sidebar-border: oklch(0.9103 0.0177 246.73); /* Borders Secondary #DFE7ED */
45
- --sidebar-ring: oklch(0.6662 0.2007 280.88); /* Borders Base #6879EB */
47
+ --sidebar-ring: oklch(0.6 0.2 268.129 / 0.7);
48
+
46
49
  --panel: oklch(0.5202 0.2024 278.91); /* Background Accent Active #4958BC */
47
50
  --panel-foreground: oklch(1 0 0); /* Text Button Primary #ffffff */
48
51
  --panel-primary: oklch(0.5202 0.2024 278.91); /* Background Accent Active #4958BC */
@@ -87,14 +90,14 @@
87
90
  --chart-4: oklch(0.75 0.18 84.429);
88
91
  --chart-5: oklch(0.7 0.18 70.08);
89
92
 
90
- --sidebar: oklch(0.18 0.01 264.55);
91
- --sidebar-foreground: oklch(0.95 0.01 264.55);
92
- --sidebar-primary: oklch(0.6 0.2 280.88);
93
- --sidebar-primary-foreground: oklch(1 0 0);
94
- --sidebar-accent: oklch(0.3 0.01 231.29);
95
- --sidebar-accent-foreground: oklch(0.95 0.01 264.55);
96
- --sidebar-border: oklch(0.3 0.01 246.73);
97
- --sidebar-ring: oklch(0.6 0.2 280.88);
93
+ --sidebar: oklch(0.45 0.229 265.091); /* Background stateless #153DD1 */
94
+ --sidebar-foreground: oklch(1 0 0); /* Text Primary #ffffff */
95
+ --sidebar-primary: oklch(0.578 0.198 268.129); /* Accent Stateless #6879EB */
96
+ --sidebar-primary-foreground: oklch(1 0 0); /* Text Button Primary #ffffff */
97
+ --sidebar-accent: oklch(0.9641 0.0065 231.29); /* Background active #F3F7FA */
98
+ --sidebar-accent-foreground: oklch(0.3687 0.0313 264.55); /* Text Primary #37414B */
99
+ --sidebar-border: oklch(0.9103 0.0177 246.73); /* Borders Secondary #DFE7ED */
100
+ --sidebar-ring: oklch(0.6 0.2 268.129 / 0.7);
98
101
 
99
102
  --panel: oklch(0.28 0.15 278.91);
100
103
  --panel-foreground: oklch(0.98 0.01 264.55);
@@ -49,7 +49,7 @@ function TooltipContent(_ref4) {
49
49
  return /*#__PURE__*/React.createElement(TooltipPrimitive.Portal, null, /*#__PURE__*/React.createElement(TooltipPrimitive.Content, _extends({
50
50
  "data-slot": "tooltip-content",
51
51
  sideOffset: sideOffset,
52
- className: cn('animate-in fade-in-0 zoom-in-95 text-md z-50 w-fit max-w-lg origin-(--radix-tooltip-content-transform-origin) rounded-md px-3 py-2 text-balance', 'data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2', 'data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95', tooltipVariants({
52
+ className: cn('animate-in fade-in-0 zoom-in-95 text-md z-50 w-fit max-w-lg origin-(--radix-tooltip-content-transform-origin) rounded-md px-3 py-2', 'data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2', 'data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95', tooltipVariants({
53
53
  variant: variant
54
54
  }), className)
55
55
  }, props), children, /*#__PURE__*/React.createElement(TooltipPrimitive.Arrow, {