@segmentify/ui 0.0.71 → 0.0.73

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/dist/ui.css CHANGED
@@ -45,7 +45,6 @@
45
45
  --ui-color-gray-500: #6b7280;
46
46
  --ui-color-gray-600: #4b5563;
47
47
  --ui-color-gray-800: #252f3f;
48
- --ui-color-gray-900: #161e2e;
49
48
  --ui-color-zinc-50: oklch(98.5% 0 0);
50
49
  --ui-color-neutral-500: oklch(55.6% 0 0);
51
50
  --ui-color-neutral-700: oklch(37.1% 0 0);
@@ -638,9 +637,6 @@
638
637
  .ui\:min-h-9 {
639
638
  min-height: calc(var(--ui-spacing) * 9);
640
639
  }
641
- .ui\:min-h-10 {
642
- min-height: calc(var(--ui-spacing) * 10);
643
- }
644
640
  .ui\:min-h-10\! {
645
641
  min-height: calc(var(--ui-spacing) * 10) !important;
646
642
  }
@@ -833,15 +829,6 @@
833
829
  .ui\:min-w-5 {
834
830
  min-width: calc(var(--ui-spacing) * 5);
835
831
  }
836
- .ui\:min-w-10 {
837
- min-width: calc(var(--ui-spacing) * 10);
838
- }
839
- .ui\:min-w-12 {
840
- min-width: calc(var(--ui-spacing) * 12);
841
- }
842
- .ui\:min-w-14 {
843
- min-width: calc(var(--ui-spacing) * 14);
844
- }
845
832
  .ui\:min-w-16 {
846
833
  min-width: calc(var(--ui-spacing) * 16);
847
834
  }
@@ -1172,9 +1159,6 @@
1172
1159
  .ui\:rounded-\[4px\] {
1173
1160
  border-radius: 4px;
1174
1161
  }
1175
- .ui\:rounded-\[5px\] {
1176
- border-radius: 5px;
1177
- }
1178
1162
  .ui\:rounded-\[calc\(var\(--radius\)-5px\)\] {
1179
1163
  border-radius: calc(var(--radius) - 5px);
1180
1164
  }
@@ -1419,12 +1403,6 @@
1419
1403
  .ui\:bg-blue-50 {
1420
1404
  background-color: var(--ui-color-blue-50);
1421
1405
  }
1422
- .ui\:bg-blue-50\/60 {
1423
- background-color: var(--ui-color-blue-50);
1424
- @supports (color: color-mix(in lab, red, red)) {
1425
- background-color: color-mix(in oklab, var(--ui-color-blue-50) 60%, transparent);
1426
- }
1427
- }
1428
1406
  .ui\:bg-blue-500\/30 {
1429
1407
  background-color: var(--ui-color-blue-500);
1430
1408
  @supports (color: color-mix(in lab, red, red)) {
@@ -1491,9 +1469,6 @@
1491
1469
  .ui\:bg-gray-800 {
1492
1470
  background-color: var(--ui-color-gray-800);
1493
1471
  }
1494
- .ui\:bg-gray-900 {
1495
- background-color: var(--ui-color-gray-900);
1496
- }
1497
1472
  .ui\:bg-green-50 {
1498
1473
  background-color: var(--ui-color-green-50);
1499
1474
  }
@@ -1653,9 +1628,6 @@
1653
1628
  .ui\:p-0\! {
1654
1629
  padding: calc(var(--ui-spacing) * 0) !important;
1655
1630
  }
1656
- .ui\:p-0\.5 {
1657
- padding: calc(var(--ui-spacing) * 0.5);
1658
- }
1659
1631
  .ui\:p-1 {
1660
1632
  padding: calc(var(--ui-spacing) * 1);
1661
1633
  }
@@ -1872,10 +1844,6 @@
1872
1844
  --tw-leading: 1;
1873
1845
  line-height: 1;
1874
1846
  }
1875
- .ui\:leading-relaxed {
1876
- --tw-leading: var(--ui-leading-relaxed);
1877
- line-height: var(--ui-leading-relaxed);
1878
- }
1879
1847
  .ui\:font-bold {
1880
1848
  --tw-font-weight: var(--ui-font-weight-bold);
1881
1849
  font-weight: var(--ui-font-weight-bold);
@@ -1913,9 +1881,6 @@
1913
1881
  .ui\:whitespace-nowrap {
1914
1882
  white-space: nowrap;
1915
1883
  }
1916
- .ui\:whitespace-pre {
1917
- white-space: pre;
1918
- }
1919
1884
  .ui\:whitespace-pre-line {
1920
1885
  white-space: pre-line;
1921
1886
  }
@@ -1985,9 +1950,6 @@
1985
1950
  color: color-mix(in oklab, var(--ui-color-foreground) 50%, transparent);
1986
1951
  }
1987
1952
  }
1988
- .ui\:text-gray-100 {
1989
- color: var(--ui-color-gray-100);
1990
- }
1991
1953
  .ui\:text-gray-400 {
1992
1954
  color: var(--ui-color-gray-400);
1993
1955
  }
@@ -2965,13 +2927,6 @@
2965
2927
  }
2966
2928
  }
2967
2929
  }
2968
- .ui\:hover\:text-gray-900 {
2969
- &:hover {
2970
- @media (hover: hover) {
2971
- color: var(--ui-color-gray-900);
2972
- }
2973
- }
2974
- }
2975
2930
  .ui\:hover\:text-green-600 {
2976
2931
  &:hover {
2977
2932
  @media (hover: hover) {
@@ -3231,12 +3186,6 @@
3231
3186
  outline-color: var(--ui-color-ring);
3232
3187
  }
3233
3188
  }
3234
- .ui\:focus-visible\:outline-none {
3235
- &:focus-visible {
3236
- --tw-outline-style: none;
3237
- outline-style: none;
3238
- }
3239
- }
3240
3189
  .ui\:active\:bg-sidebar-accent {
3241
3190
  &:active {
3242
3191
  background-color: var(--ui-sidebar-accent);
@@ -3992,27 +3941,6 @@
3992
3941
  --tw-exit-translate-y: -100%;
3993
3942
  }
3994
3943
  }
3995
- .ui\:data-\[state\=on\]\:border-transparent {
3996
- &[data-state="on"] {
3997
- border-color: transparent;
3998
- }
3999
- }
4000
- .ui\:data-\[state\=on\]\:bg-blue-500 {
4001
- &[data-state="on"] {
4002
- background-color: var(--ui-color-blue-500);
4003
- }
4004
- }
4005
- .ui\:data-\[state\=on\]\:text-white {
4006
- &[data-state="on"] {
4007
- color: var(--ui-color-white);
4008
- }
4009
- }
4010
- .ui\:data-\[state\=on\]\:shadow-sm {
4011
- &[data-state="on"] {
4012
- --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
4013
- box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
4014
- }
4015
- }
4016
3944
  .ui\:data-\[state\=open\]\:animate-accordion-down {
4017
3945
  &[data-state="open"] {
4018
3946
  animation: var(--ui-animate-accordion-down);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@segmentify/ui",
3
- "version": "0.0.71",
3
+ "version": "0.0.73",
4
4
  "description": "A collection of reusable React UI components built with Tailwind CSS and Radix UI",
5
5
  "repository": {
6
6
  "type": "git",
@@ -66,7 +66,7 @@
66
66
  "class-variance-authority": "^0.7.1",
67
67
  "clsx": "^2.1.1",
68
68
  "cmdk": "^1.1.1",
69
- "date-fns": "^4.3.0",
69
+ "date-fns": "^4.4.0",
70
70
  "embla-carousel-react": "^8.6.0",
71
71
  "input-otp": "^1.4.2",
72
72
  "next-themes": "^0.4.6",
@@ -79,54 +79,54 @@
79
79
  "vaul": "^1.1.2"
80
80
  },
81
81
  "devDependencies": {
82
- "@changesets/cli": "^2.31.0",
83
- "@chromatic-com/storybook": "^5.2.1",
82
+ "@changesets/cli": "^3.0.1",
83
+ "@chromatic-com/storybook": "^5.3.0",
84
84
  "@eslint/js": "^10.0.1",
85
- "@storybook/addon-a11y": "^10.4.1",
86
- "@storybook/addon-docs": "^10.4.1",
87
- "@storybook/addon-themes": "^10.4.1",
88
- "@storybook/addon-vitest": "^10.4.1",
89
- "@storybook/react-vite": "^10.4.1",
90
- "@tailwindcss/cli": "^4.3.0",
91
- "@tailwindcss/vite": "^4.3.0",
92
- "@tanstack/react-query": "^5.100.14",
93
- "@types/node": "^25.9.1",
85
+ "@storybook/addon-a11y": "^10.5.10",
86
+ "@storybook/addon-docs": "^10.5.10",
87
+ "@storybook/addon-themes": "^10.5.10",
88
+ "@storybook/addon-vitest": "^10.5.10",
89
+ "@storybook/react-vite": "^10.5.10",
90
+ "@tailwindcss/cli": "^4.3.3",
91
+ "@tailwindcss/vite": "^4.3.3",
92
+ "@tanstack/react-query": "^5.102.2",
93
+ "@types/node": "^26.2.0",
94
94
  "@types/react": "^19.2.7",
95
95
  "@types/react-dom": "^19.2.3",
96
- "@vitejs/plugin-react": "^5.1.2",
97
- "@vitest/browser-playwright": "^4.1.7",
98
- "@vitest/coverage-v8": "^4.1.7",
99
- "eslint": "^10.4.0",
96
+ "@vitejs/plugin-react": "^5.2.0",
97
+ "@vitest/browser-playwright": "^4.1.11",
98
+ "@vitest/coverage-v8": "^4.1.11",
99
+ "eslint": "^10.9.0",
100
100
  "eslint-config-prettier": "^10.1.8",
101
- "eslint-import-resolver-typescript": "^4.4.4",
102
- "eslint-plugin-boundaries": "^6.0.2",
101
+ "eslint-import-resolver-typescript": "^4.4.5",
102
+ "eslint-plugin-boundaries": "^7.2.0",
103
103
  "eslint-plugin-import": "^2.32.0",
104
- "eslint-plugin-import-x": "^4.16.2",
104
+ "eslint-plugin-import-x": "^4.17.1",
105
105
  "eslint-plugin-jsx-a11y": "^6.10.2",
106
- "eslint-plugin-prettier": "^5.5.5",
106
+ "eslint-plugin-prettier": "^5.5.6",
107
107
  "eslint-plugin-react-hooks": "^7.1.1",
108
- "eslint-plugin-react-refresh": "^0.5.2",
109
- "eslint-plugin-unicorn": "^64.0.0",
110
- "globals": "^17.6.0",
108
+ "eslint-plugin-react-refresh": "^0.5.4",
109
+ "eslint-plugin-unicorn": "^73.0.0",
110
+ "globals": "^17.11.0",
111
111
  "husky": "^9.1.7",
112
- "knip": "^6.14.2",
113
- "lint-staged": "^17.0.5",
114
- "lucide-react": "^1.16.0",
115
- "playwright": "^1.60.0",
116
- "prettier": "3.8.3",
112
+ "knip": "^6.32.2",
113
+ "lint-staged": "^17.3.0",
114
+ "lucide-react": "^1.33.0",
115
+ "playwright": "^1.62.1",
116
+ "prettier": "3.9.6",
117
117
  "react": "^19.2.0",
118
118
  "react-dom": "^19.2.0",
119
- "react-hook-form": "7.76.1",
119
+ "react-hook-form": "7.86.0",
120
120
  "recharts": "2.15.4",
121
- "sonner": "^2.0.7",
122
- "storybook": "^10.4.1",
123
- "tailwindcss": "^4.3.0",
121
+ "sonner": "^2.0.8",
122
+ "storybook": "^10.5.10",
123
+ "tailwindcss": "^4.3.3",
124
124
  "ts-toolbelt": "^9.6.0",
125
125
  "tw-animate-css": "^1.4.0",
126
126
  "typescript": "~6.0.3",
127
- "typescript-eslint": "^8.59.4",
128
- "vite": "^7.3.0",
129
- "vitest": "^4.1.7"
127
+ "typescript-eslint": "^8.67.0",
128
+ "vite": "^7.3.6",
129
+ "vitest": "^4.1.11"
130
130
  },
131
131
  "lint-staged": {
132
132
  "*.{js,jsx,ts,tsx}": [
@@ -1,7 +0,0 @@
1
- import * as React from 'react';
2
- type CodeBlockProps = Omit<React.ComponentProps<'pre'>, 'children'> & {
3
- code: string;
4
- language?: 'json' | 'text';
5
- };
6
- declare function CodeBlock({ code, language, className, ...props }: CodeBlockProps): import("react/jsx-runtime").JSX.Element;
7
- export { CodeBlock };
@@ -1,12 +0,0 @@
1
- import * as React from 'react';
2
- import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
3
- import { type VariantProps } from 'class-variance-authority';
4
- declare const toggleGroupVariants: (props?: ({
5
- size?: "default" | "sm" | "lg" | null | undefined;
6
- } & import("class-variance-authority/types").ClassProp) | undefined) => string;
7
- declare const toggleGroupItemVariants: (props?: ({
8
- size?: "default" | "sm" | "lg" | null | undefined;
9
- } & import("class-variance-authority/types").ClassProp) | undefined) => string;
10
- declare function ToggleGroup({ className, size, children, ...props }: React.ComponentProps<typeof ToggleGroupPrimitive.Root> & VariantProps<typeof toggleGroupVariants>): import("react/jsx-runtime").JSX.Element;
11
- declare function ToggleGroupItem({ className, size, children, ...props }: React.ComponentProps<typeof ToggleGroupPrimitive.Item> & VariantProps<typeof toggleGroupItemVariants>): import("react/jsx-runtime").JSX.Element;
12
- export { ToggleGroup, ToggleGroupItem };
@@ -1,12 +0,0 @@
1
- export type LogicalOperatorValue = 'AND' | 'OR';
2
- type LogicalOperatorToggleProps = {
3
- value: LogicalOperatorValue;
4
- onValueChange: (value: LogicalOperatorValue) => void;
5
- size?: 'default' | 'sm' | 'lg';
6
- className?: string;
7
- disabled?: boolean;
8
- andLabel?: string;
9
- orLabel?: string;
10
- };
11
- declare function LogicalOperatorToggle({ value, onValueChange, size, className, disabled, andLabel, orLabel, }: LogicalOperatorToggleProps): import("react/jsx-runtime").JSX.Element;
12
- export { LogicalOperatorToggle };
@@ -1,23 +0,0 @@
1
- import * as React from 'react';
2
- export type SortableMultiContainer = {
3
- id: string;
4
- itemIds: string[];
5
- };
6
- export type SortableContainerDragHandle = {
7
- attributes: object;
8
- listeners?: object;
9
- };
10
- type SortableMultiListProps = {
11
- containers: SortableMultiContainer[];
12
- onReorderWithin: (containerId: string, fromIndex: number, toIndex: number) => void;
13
- onMoveBetween: (fromContainerId: string, fromIndex: number, toContainerId: string, toIndex: number) => void;
14
- onReorderContainers?: (fromIndex: number, toIndex: number) => void;
15
- renderContainer: (container: SortableMultiContainer, meta: {
16
- dragHandle: SortableContainerDragHandle;
17
- }) => React.ReactNode;
18
- className?: string;
19
- containerClassName?: string;
20
- orientation?: 'vertical' | 'horizontal';
21
- };
22
- declare function SortableMultiList({ containers, onReorderWithin, onMoveBetween, onReorderContainers, renderContainer, className, containerClassName, orientation, }: SortableMultiListProps): import("react/jsx-runtime").JSX.Element;
23
- export { SortableMultiList };