@segmentify/ui 0.0.68 → 0.0.70
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/components/atoms/code-block.d.ts +7 -0
- package/dist/components/atoms/select.d.ts +6 -1
- package/dist/components/atoms/toggle-group.d.ts +12 -0
- package/dist/components/molecules/logical-operator-toggle.d.ts +12 -0
- package/dist/components/molecules/sortable-multi-list.d.ts +16 -0
- package/dist/components/organisms/data-table/search.d.ts +1 -1
- package/dist/index.d.ts +4 -0
- package/dist/segmentify-ui.cjs +164 -164
- package/dist/segmentify-ui.js +23027 -21757
- package/dist/ui.css +72 -0
- package/package.json +24 -21
package/dist/ui.css
CHANGED
|
@@ -45,6 +45,7 @@
|
|
|
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;
|
|
48
49
|
--ui-color-zinc-50: oklch(98.5% 0 0);
|
|
49
50
|
--ui-color-neutral-500: oklch(55.6% 0 0);
|
|
50
51
|
--ui-color-neutral-700: oklch(37.1% 0 0);
|
|
@@ -637,6 +638,9 @@
|
|
|
637
638
|
.ui\:min-h-9 {
|
|
638
639
|
min-height: calc(var(--ui-spacing) * 9);
|
|
639
640
|
}
|
|
641
|
+
.ui\:min-h-10 {
|
|
642
|
+
min-height: calc(var(--ui-spacing) * 10);
|
|
643
|
+
}
|
|
640
644
|
.ui\:min-h-10\! {
|
|
641
645
|
min-height: calc(var(--ui-spacing) * 10) !important;
|
|
642
646
|
}
|
|
@@ -829,6 +833,15 @@
|
|
|
829
833
|
.ui\:min-w-5 {
|
|
830
834
|
min-width: calc(var(--ui-spacing) * 5);
|
|
831
835
|
}
|
|
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
|
+
}
|
|
832
845
|
.ui\:min-w-16 {
|
|
833
846
|
min-width: calc(var(--ui-spacing) * 16);
|
|
834
847
|
}
|
|
@@ -1159,6 +1172,9 @@
|
|
|
1159
1172
|
.ui\:rounded-\[4px\] {
|
|
1160
1173
|
border-radius: 4px;
|
|
1161
1174
|
}
|
|
1175
|
+
.ui\:rounded-\[5px\] {
|
|
1176
|
+
border-radius: 5px;
|
|
1177
|
+
}
|
|
1162
1178
|
.ui\:rounded-\[calc\(var\(--radius\)-5px\)\] {
|
|
1163
1179
|
border-radius: calc(var(--radius) - 5px);
|
|
1164
1180
|
}
|
|
@@ -1403,6 +1419,12 @@
|
|
|
1403
1419
|
.ui\:bg-blue-50 {
|
|
1404
1420
|
background-color: var(--ui-color-blue-50);
|
|
1405
1421
|
}
|
|
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
|
+
}
|
|
1406
1428
|
.ui\:bg-blue-500\/30 {
|
|
1407
1429
|
background-color: var(--ui-color-blue-500);
|
|
1408
1430
|
@supports (color: color-mix(in lab, red, red)) {
|
|
@@ -1469,6 +1491,9 @@
|
|
|
1469
1491
|
.ui\:bg-gray-800 {
|
|
1470
1492
|
background-color: var(--ui-color-gray-800);
|
|
1471
1493
|
}
|
|
1494
|
+
.ui\:bg-gray-900 {
|
|
1495
|
+
background-color: var(--ui-color-gray-900);
|
|
1496
|
+
}
|
|
1472
1497
|
.ui\:bg-green-50 {
|
|
1473
1498
|
background-color: var(--ui-color-green-50);
|
|
1474
1499
|
}
|
|
@@ -1628,6 +1653,9 @@
|
|
|
1628
1653
|
.ui\:p-0\! {
|
|
1629
1654
|
padding: calc(var(--ui-spacing) * 0) !important;
|
|
1630
1655
|
}
|
|
1656
|
+
.ui\:p-0\.5 {
|
|
1657
|
+
padding: calc(var(--ui-spacing) * 0.5);
|
|
1658
|
+
}
|
|
1631
1659
|
.ui\:p-1 {
|
|
1632
1660
|
padding: calc(var(--ui-spacing) * 1);
|
|
1633
1661
|
}
|
|
@@ -1844,6 +1872,10 @@
|
|
|
1844
1872
|
--tw-leading: 1;
|
|
1845
1873
|
line-height: 1;
|
|
1846
1874
|
}
|
|
1875
|
+
.ui\:leading-relaxed {
|
|
1876
|
+
--tw-leading: var(--ui-leading-relaxed);
|
|
1877
|
+
line-height: var(--ui-leading-relaxed);
|
|
1878
|
+
}
|
|
1847
1879
|
.ui\:font-bold {
|
|
1848
1880
|
--tw-font-weight: var(--ui-font-weight-bold);
|
|
1849
1881
|
font-weight: var(--ui-font-weight-bold);
|
|
@@ -1881,6 +1913,9 @@
|
|
|
1881
1913
|
.ui\:whitespace-nowrap {
|
|
1882
1914
|
white-space: nowrap;
|
|
1883
1915
|
}
|
|
1916
|
+
.ui\:whitespace-pre {
|
|
1917
|
+
white-space: pre;
|
|
1918
|
+
}
|
|
1884
1919
|
.ui\:whitespace-pre-line {
|
|
1885
1920
|
white-space: pre-line;
|
|
1886
1921
|
}
|
|
@@ -1950,6 +1985,9 @@
|
|
|
1950
1985
|
color: color-mix(in oklab, var(--ui-color-foreground) 50%, transparent);
|
|
1951
1986
|
}
|
|
1952
1987
|
}
|
|
1988
|
+
.ui\:text-gray-100 {
|
|
1989
|
+
color: var(--ui-color-gray-100);
|
|
1990
|
+
}
|
|
1953
1991
|
.ui\:text-gray-400 {
|
|
1954
1992
|
color: var(--ui-color-gray-400);
|
|
1955
1993
|
}
|
|
@@ -2927,6 +2965,13 @@
|
|
|
2927
2965
|
}
|
|
2928
2966
|
}
|
|
2929
2967
|
}
|
|
2968
|
+
.ui\:hover\:text-gray-900 {
|
|
2969
|
+
&:hover {
|
|
2970
|
+
@media (hover: hover) {
|
|
2971
|
+
color: var(--ui-color-gray-900);
|
|
2972
|
+
}
|
|
2973
|
+
}
|
|
2974
|
+
}
|
|
2930
2975
|
.ui\:hover\:text-green-600 {
|
|
2931
2976
|
&:hover {
|
|
2932
2977
|
@media (hover: hover) {
|
|
@@ -3186,6 +3231,12 @@
|
|
|
3186
3231
|
outline-color: var(--ui-color-ring);
|
|
3187
3232
|
}
|
|
3188
3233
|
}
|
|
3234
|
+
.ui\:focus-visible\:outline-none {
|
|
3235
|
+
&:focus-visible {
|
|
3236
|
+
--tw-outline-style: none;
|
|
3237
|
+
outline-style: none;
|
|
3238
|
+
}
|
|
3239
|
+
}
|
|
3189
3240
|
.ui\:active\:bg-sidebar-accent {
|
|
3190
3241
|
&:active {
|
|
3191
3242
|
background-color: var(--ui-sidebar-accent);
|
|
@@ -3941,6 +3992,27 @@
|
|
|
3941
3992
|
--tw-exit-translate-y: -100%;
|
|
3942
3993
|
}
|
|
3943
3994
|
}
|
|
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
|
+
}
|
|
3944
4016
|
.ui\:data-\[state\=open\]\:animate-accordion-down {
|
|
3945
4017
|
&[data-state="open"] {
|
|
3946
4018
|
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.
|
|
3
|
+
"version": "0.0.70",
|
|
4
4
|
"description": "A collection of reusable React UI components built with Tailwind CSS and Radix UI",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -26,6 +26,26 @@
|
|
|
26
26
|
"files": [
|
|
27
27
|
"dist"
|
|
28
28
|
],
|
|
29
|
+
"scripts": {
|
|
30
|
+
"dev": "vite",
|
|
31
|
+
"build:css": "tailwindcss -i src/index.css -o dist/ui.css",
|
|
32
|
+
"build": "pnpm run build:css && vite build --emptyOutDir=false && node scripts/clean-declarations.mjs && tsc -p tsconfig.build.json && node scripts/fix-type-aliases.mjs",
|
|
33
|
+
"postbuild": "node ./scripts/verify-dist.mjs",
|
|
34
|
+
"lint": "eslint .",
|
|
35
|
+
"lint:fix": "npm run lint -- --fix",
|
|
36
|
+
"format": "prettier --write \"**/*.{ts,tsx,md,mjs,cjs}\"",
|
|
37
|
+
"type-check": "tsc --noEmit",
|
|
38
|
+
"preview": "vite preview",
|
|
39
|
+
"storybook": "storybook dev -p 6006",
|
|
40
|
+
"build-storybook": "storybook build",
|
|
41
|
+
"test:storybook": "vitest --project=storybook --run",
|
|
42
|
+
"coverage": "vitest --project=storybook --run --coverage",
|
|
43
|
+
"prepare": "husky",
|
|
44
|
+
"knip": "knip",
|
|
45
|
+
"changeset": "changeset",
|
|
46
|
+
"version-packages": "changeset version",
|
|
47
|
+
"release": "changeset publish"
|
|
48
|
+
},
|
|
29
49
|
"peerDependencies": {
|
|
30
50
|
"@tanstack/react-query": "^5.90.19",
|
|
31
51
|
"lucide-react": ">=0.562.0",
|
|
@@ -58,6 +78,8 @@
|
|
|
58
78
|
"@radix-ui/react-slot": "^1.2.4",
|
|
59
79
|
"@radix-ui/react-switch": "^1.2.6",
|
|
60
80
|
"@radix-ui/react-tabs": "^1.1.13",
|
|
81
|
+
"@radix-ui/react-toggle": "^1.1.16",
|
|
82
|
+
"@radix-ui/react-toggle-group": "^1.1.17",
|
|
61
83
|
"@radix-ui/react-tooltip": "^1.2.8",
|
|
62
84
|
"@segmentify/common": "0.0.4",
|
|
63
85
|
"@tanstack/react-table": "^8.21.3",
|
|
@@ -133,24 +155,5 @@
|
|
|
133
155
|
"*.{json,js,ts,jsx,tsx,html}": [
|
|
134
156
|
"prettier --write --ignore-unknown"
|
|
135
157
|
]
|
|
136
|
-
},
|
|
137
|
-
"scripts": {
|
|
138
|
-
"dev": "vite",
|
|
139
|
-
"build:css": "tailwindcss -i src/index.css -o dist/ui.css",
|
|
140
|
-
"build": "pnpm run build:css && vite build --emptyOutDir=false && node scripts/clean-declarations.mjs && tsc -p tsconfig.build.json && node scripts/fix-type-aliases.mjs",
|
|
141
|
-
"postbuild": "node ./scripts/verify-dist.mjs",
|
|
142
|
-
"lint": "eslint .",
|
|
143
|
-
"lint:fix": "npm run lint -- --fix",
|
|
144
|
-
"format": "prettier --write \"**/*.{ts,tsx,md,mjs,cjs}\"",
|
|
145
|
-
"type-check": "tsc --noEmit",
|
|
146
|
-
"preview": "vite preview",
|
|
147
|
-
"storybook": "storybook dev -p 6006",
|
|
148
|
-
"build-storybook": "storybook build",
|
|
149
|
-
"test:storybook": "vitest --project=storybook --run",
|
|
150
|
-
"coverage": "vitest --project=storybook --run --coverage",
|
|
151
|
-
"knip": "knip",
|
|
152
|
-
"changeset": "changeset",
|
|
153
|
-
"version-packages": "changeset version",
|
|
154
|
-
"release": "changeset publish"
|
|
155
158
|
}
|
|
156
|
-
}
|
|
159
|
+
}
|