@segmentify/ui 0.0.71 → 0.0.72
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/index.d.ts +0 -4
- package/dist/segmentify-ui.cjs +164 -164
- package/dist/segmentify-ui.js +21750 -23060
- package/dist/ui.css +0 -72
- package/package.json +1 -1
- package/dist/components/atoms/code-block.d.ts +0 -7
- package/dist/components/atoms/toggle-group.d.ts +0 -12
- package/dist/components/molecules/logical-operator-toggle.d.ts +0 -12
- package/dist/components/molecules/sortable-multi-list.d.ts +0 -23
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,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 };
|