@exsto/ds 0.0.1-rc.14 → 0.0.1-rc.15
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/source-hash.txt
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
51bef8069ad2575c9c422f14d92fe68c65cfbd0cb8727824d68ce82165e7e6b3
|
package/dist/styles.css
CHANGED
|
@@ -120,6 +120,7 @@
|
|
|
120
120
|
--font-sans: "Inter", sans-serif;
|
|
121
121
|
--font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
|
|
122
122
|
"Courier New", monospace;
|
|
123
|
+
--color-red-300: oklch(80.8% .114 19.571);
|
|
123
124
|
--spacing: .25rem;
|
|
124
125
|
--container-xs: 20rem;
|
|
125
126
|
--container-sm: 24rem;
|
|
@@ -5802,6 +5803,16 @@
|
|
|
5802
5803
|
}
|
|
5803
5804
|
}
|
|
5804
5805
|
|
|
5806
|
+
.dark\:bg-destructive\/20:is(.dark *) {
|
|
5807
|
+
background-color: var(--destructive);
|
|
5808
|
+
}
|
|
5809
|
+
|
|
5810
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
5811
|
+
.dark\:bg-destructive\/20:is(.dark *) {
|
|
5812
|
+
background-color: color-mix(in oklab, var(--destructive) 20%, transparent);
|
|
5813
|
+
}
|
|
5814
|
+
}
|
|
5815
|
+
|
|
5805
5816
|
.dark\:bg-info-ring\/30:is(.dark *) {
|
|
5806
5817
|
background-color: var(--info-ring);
|
|
5807
5818
|
}
|
|
@@ -5864,6 +5875,10 @@
|
|
|
5864
5875
|
color: var(--muted-foreground);
|
|
5865
5876
|
}
|
|
5866
5877
|
|
|
5878
|
+
.dark\:text-red-300:is(.dark *) {
|
|
5879
|
+
color: var(--color-red-300);
|
|
5880
|
+
}
|
|
5881
|
+
|
|
5867
5882
|
.dark\:group-data-checked\/questionnaire-choice\:bg-primary:is(.dark *):is(:is(:where(.group\/questionnaire-choice):where([data-state="checked"]), :where(.group\/questionnaire-choice):where([data-checked]:not([data-checked="false"]))) *) {
|
|
5868
5883
|
background-color: var(--primary);
|
|
5869
5884
|
}
|
|
@@ -7461,7 +7476,7 @@
|
|
|
7461
7476
|
--muted-foreground: oklch(70.8% 0 0);
|
|
7462
7477
|
--accent: oklch(26.9% 0 0);
|
|
7463
7478
|
--accent-foreground: oklch(98.5% 0 0);
|
|
7464
|
-
--destructive: oklch(
|
|
7479
|
+
--destructive: oklch(70.4% .191 22.216);
|
|
7465
7480
|
--destructive-foreground: oklch(98.5% 0 0);
|
|
7466
7481
|
--success: oklch(79.2% .209 151.711);
|
|
7467
7482
|
--success-foreground: oklch(26.2% .051 172.552);
|
package/dist/theme.css
CHANGED
|
@@ -183,8 +183,7 @@
|
|
|
183
183
|
--accent: oklch(0.269 0 0);
|
|
184
184
|
--accent-foreground: oklch(0.985 0 0);
|
|
185
185
|
|
|
186
|
-
|
|
187
|
-
--destructive: oklch(0.76 0.145 22.216);
|
|
186
|
+
--destructive: oklch(0.704 0.191 22.216);
|
|
188
187
|
--destructive-foreground: oklch(0.985 0 0);
|
|
189
188
|
|
|
190
189
|
--success: oklch(0.792 0.209 151.711);
|
|
@@ -8,7 +8,7 @@ var badgeVariants = cva("group/badge inline-flex w-fit shrink-0 items-center jus
|
|
|
8
8
|
variant: {
|
|
9
9
|
default: "bg-primary text-primary-foreground [a]:hover:bg-primary/80",
|
|
10
10
|
secondary: "bg-secondary text-secondary-foreground [a]:hover:bg-secondary/80",
|
|
11
|
-
destructive: "bg-destructive/10 text-destructive focus-visible:ring-destructive/20 dark:bg-destructive/
|
|
11
|
+
destructive: "bg-destructive/10 text-destructive focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:text-red-300 dark:focus-visible:ring-destructive/40 [a]:hover:bg-destructive/20",
|
|
12
12
|
success: "bg-success-ring/40 text-success focus-visible:ring-success/20 [a]:hover:bg-success-ring/60 dark:bg-success-ring/30",
|
|
13
13
|
warning: "bg-warning-ring/40 text-warning focus-visible:ring-warning/20 [a]:hover:bg-warning-ring/60 dark:bg-warning-ring/30",
|
|
14
14
|
info: "bg-info-ring/40 text-info focus-visible:ring-info/20 [a]:hover:bg-info-ring/60 dark:bg-info-ring/30",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"badge.js","names":[],"sources":["../../../../../../../ui/src/components/ui/badge/badge.tsx"],"sourcesContent":["import { mergeProps } from '@base-ui/react/merge-props';\nimport { useRender } from '@base-ui/react/use-render';\nimport { cn } from '@edyn/ui/lib/utils';\nimport { cva, type VariantProps } from 'class-variance-authority';\n\nexport const badgeVariants = cva(\n 'group/badge inline-flex w-fit shrink-0 items-center justify-center gap-1 overflow-hidden border border-transparent text-xs font-medium whitespace-nowrap transition-all motion-reduce:transition-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 [&>svg]:pointer-events-none [&>svg]:size-3!',\n {\n variants: {\n variant: {\n default: 'bg-primary text-primary-foreground [a]:hover:bg-primary/80',\n secondary: 'bg-secondary text-secondary-foreground [a]:hover:bg-secondary/80',\n destructive:\n 'bg-destructive/10 text-destructive focus-visible:ring-destructive/20 dark:bg-destructive/
|
|
1
|
+
{"version":3,"file":"badge.js","names":[],"sources":["../../../../../../../ui/src/components/ui/badge/badge.tsx"],"sourcesContent":["import { mergeProps } from '@base-ui/react/merge-props';\nimport { useRender } from '@base-ui/react/use-render';\nimport { cn } from '@edyn/ui/lib/utils';\nimport { cva, type VariantProps } from 'class-variance-authority';\n\nexport const badgeVariants = cva(\n 'group/badge inline-flex w-fit shrink-0 items-center justify-center gap-1 overflow-hidden border border-transparent text-xs font-medium whitespace-nowrap transition-all motion-reduce:transition-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 [&>svg]:pointer-events-none [&>svg]:size-3!',\n {\n variants: {\n variant: {\n default: 'bg-primary text-primary-foreground [a]:hover:bg-primary/80',\n secondary: 'bg-secondary text-secondary-foreground [a]:hover:bg-secondary/80',\n destructive:\n 'bg-destructive/10 text-destructive focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:text-red-300 dark:focus-visible:ring-destructive/40 [a]:hover:bg-destructive/20',\n success: 'bg-success-ring/40 text-success focus-visible:ring-success/20 [a]:hover:bg-success-ring/60 dark:bg-success-ring/30',\n warning: 'bg-warning-ring/40 text-warning focus-visible:ring-warning/20 [a]:hover:bg-warning-ring/60 dark:bg-warning-ring/30',\n info: 'bg-info-ring/40 text-info focus-visible:ring-info/20 [a]:hover:bg-info-ring/60 dark:bg-info-ring/30',\n outline: 'border-border text-foreground [a]:hover:bg-muted [a]:hover:text-muted-foreground',\n ghost: 'hover:bg-muted hover:text-muted-foreground dark:hover:bg-muted/50',\n link: 'text-primary underline-offset-4 hover:underline',\n },\n size: {\n default: 'h-5 rounded-4xl px-2 py-0.5',\n lg: 'h-7 rounded-md px-2 py-1',\n },\n },\n defaultVariants: {\n variant: 'default',\n size: 'default',\n },\n },\n);\n\nexport const Badge = ({\n className,\n variant = 'default',\n size = 'default',\n render,\n ...props\n}: useRender.ComponentProps<'span'> & VariantProps<typeof badgeVariants>) => {\n return useRender({\n defaultTagName: 'span',\n props: mergeProps<'span'>(\n {\n className: cn(badgeVariants({ variant, size }), className),\n },\n props,\n ),\n render,\n state: {\n slot: 'badge',\n variant,\n size,\n },\n });\n};\n"],"mappings":";;;;;AAKA,IAAa,gBAAgB,IAC3B,4eACA;CACE,UAAU;EACR,SAAS;GACP,SAAS;GACT,WAAW;GACX,aACE;GACF,SAAS;GACT,SAAS;GACT,MAAM;GACN,SAAS;GACT,OAAO;GACP,MAAM;EACR;EACA,MAAM;GACJ,SAAS;GACT,IAAI;EACN;CACF;CACA,iBAAiB;EACf,SAAS;EACT,MAAM;CACR;AACF,CACF;AAEA,IAAa,SAAS,EACpB,WACA,UAAU,WACV,OAAO,WACP,QACA,GAAG,YACwE;CAC3E,OAAO,UAAU;EACf,gBAAgB;EAChB,OAAO,WACL,EACE,WAAW,GAAG,cAAc;GAAE;GAAS;EAAK,CAAC,GAAG,SAAS,EAC3D,GACA,KACF;EACA;EACA,OAAO;GACL,MAAM;GACN;GACA;EACF;CACF,CAAC;AACH"}
|