7onic 0.1.7 → 0.1.8

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.
Files changed (2) hide show
  1. package/dist/index.js +13 -13
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -6000,7 +6000,7 @@ const DrawerContent = React.forwardRef<
6000
6000
  <DialogPrimitive.Content
6001
6001
  ref={ref}
6002
6002
  className={cn(
6003
- 'fixed z-modal flex flex-col bg-background shadow-xl',
6003
+ 'fixed z-modal flex flex-col bg-background text-foreground shadow-xl',
6004
6004
  'focus:outline-none',
6005
6005
  SIDE_POSITION[side],
6006
6006
  isHorizontal ? 'max-w-full h-full' : 'max-h-full w-full',
@@ -6253,7 +6253,7 @@ const DropdownMenuContent = React.forwardRef<
6253
6253
  onCloseAutoFocus?.(e)
6254
6254
  }}
6255
6255
  className={cn(
6256
- 'z-dropdown min-w-[8rem] overflow-hidden border border-border bg-background shadow-lg',
6256
+ 'z-dropdown min-w-[8rem] overflow-hidden border border-border bg-background text-foreground shadow-lg',
6257
6257
  flush ? 'py-1' : 'p-1',
6258
6258
  contentRadiusMap[radius],
6259
6259
  className
@@ -6445,7 +6445,7 @@ const DropdownMenuSubContent = React.forwardRef<
6445
6445
  <DropdownMenuPrimitive.SubContent
6446
6446
  ref={ref}
6447
6447
  className={cn(
6448
- 'z-dropdown min-w-[8rem] overflow-hidden border border-border bg-background shadow-lg',
6448
+ 'z-dropdown min-w-[8rem] overflow-hidden border border-border bg-background text-foreground shadow-lg',
6449
6449
  flush ? 'py-1' : 'p-1',
6450
6450
  contentRadiusMap[radius],
6451
6451
  className
@@ -6821,7 +6821,7 @@ import { useFieldContext } from './field'
6821
6821
  const inputVariants = cva(
6822
6822
  [
6823
6823
  'flex w-full bg-background text-foreground placeholder:text-foreground/30',
6824
- 'border transition-colors duration-micro',
6824
+ 'border transition-colors duration-micro outline-transparent',
6825
6825
  'focus:[outline:2px_solid_transparent]',
6826
6826
  'disabled:cursor-not-allowed disabled:opacity-50 disabled:bg-background-muted',
6827
6827
  'file:border-0 file:bg-transparent file:text-sm file:font-semibold',
@@ -7490,7 +7490,7 @@ const ModalContent = React.forwardRef<
7490
7490
  <div className="flex min-h-full items-center justify-center p-4">
7491
7491
  <div
7492
7492
  className={cn(
7493
- 'relative w-full rounded-xl bg-background shadow-xl overflow-hidden',
7493
+ 'relative w-full rounded-xl bg-background text-foreground shadow-xl overflow-hidden',
7494
7494
  modalContentVariants({ size }),
7495
7495
  className,
7496
7496
  )}
@@ -7516,7 +7516,7 @@ const ModalContent = React.forwardRef<
7516
7516
  <DialogPrimitive.Content
7517
7517
  ref={ref}
7518
7518
  className={cn(
7519
- 'relative w-full rounded-xl bg-background shadow-xl overflow-hidden',
7519
+ 'relative w-full rounded-xl bg-background text-foreground shadow-xl overflow-hidden',
7520
7520
  'focus:outline-none',
7521
7521
  'data-[state=open]:animate-modal-content-enter data-[state=closed]:animate-modal-content-exit',
7522
7522
  modalContentVariants({ size }),
@@ -7668,7 +7668,7 @@ const AlertModalContent = React.forwardRef<
7668
7668
  <AlertDialogPrimitive.Content
7669
7669
  ref={ref}
7670
7670
  className={cn(
7671
- 'relative w-full rounded-xl bg-background shadow-xl',
7671
+ 'relative w-full rounded-xl bg-background text-foreground shadow-xl',
7672
7672
  'focus:outline-none',
7673
7673
  'data-[state=open]:animate-modal-content-enter data-[state=closed]:animate-modal-content-exit',
7674
7674
  alertModalContentVariants({ size }),
@@ -9273,8 +9273,8 @@ const popoverContentVariants = cva(
9273
9273
  {
9274
9274
  variants: {
9275
9275
  variant: {
9276
- default: 'bg-background-paper border border-border shadow-lg',
9277
- elevated: 'bg-background-paper/95 border border-border-subtle shadow-xl backdrop-blur-sm',
9276
+ default: 'bg-background-paper text-foreground border border-border shadow-lg',
9277
+ elevated: 'bg-background-paper/95 text-foreground border border-border-subtle shadow-xl backdrop-blur-sm',
9278
9278
  },
9279
9279
  size: {
9280
9280
  sm: 'text-sm p-3 rounded-lg',
@@ -10538,7 +10538,7 @@ const SelectTrigger = React.forwardRef<
10538
10538
  'flex w-full items-center justify-between bg-background text-foreground hover:bg-background-muted',
10539
10539
  'border border-border',
10540
10540
  triggerRadiusMap[radius],
10541
- 'transition-colors duration-micro',
10541
+ 'transition-colors duration-micro outline-transparent',
10542
10542
  'focus-visible:shadow-[0_0_0_2px_var(--color-focus-ring)] focus:[outline:2px_solid_transparent]',
10543
10543
  'disabled:cursor-not-allowed disabled:opacity-50',
10544
10544
  'data-[placeholder]:text-foreground/30',
@@ -10619,7 +10619,7 @@ const SelectContent = React.forwardRef<
10619
10619
  onCloseAutoFocus?.(e)
10620
10620
  }}
10621
10621
  className={cn(
10622
- 'relative z-dropdown min-w-[var(--radix-select-trigger-width)] overflow-hidden border border-border bg-background shadow-lg',
10622
+ 'relative z-dropdown min-w-[var(--radix-select-trigger-width)] overflow-hidden border border-border bg-background text-foreground shadow-lg',
10623
10623
  flush ? 'py-1' : 'p-1',
10624
10624
  contentRadiusMap[contentRadius],
10625
10625
  position === 'popper' &&
@@ -12593,7 +12593,7 @@ import { useFieldContext } from './field'
12593
12593
  const textareaVariants = cva(
12594
12594
  [
12595
12595
  'flex w-full bg-background text-foreground placeholder:text-foreground/30',
12596
- 'border transition-colors duration-micro',
12596
+ 'border transition-colors duration-micro outline-transparent',
12597
12597
  'focus:[outline:2px_solid_transparent]',
12598
12598
  'disabled:cursor-not-allowed disabled:opacity-50 disabled:bg-background-muted',
12599
12599
  ].join(' '),
@@ -14486,7 +14486,7 @@ function showSetupHints(names) {
14486
14486
 
14487
14487
  // cli/src/index.ts
14488
14488
  var import_picocolors4 = __toESM(require_picocolors());
14489
- var VERSION = "0.1.7";
14489
+ var VERSION = "0.1.8";
14490
14490
  var HELP = `
14491
14491
  ${import_picocolors4.default.bold("7onic")} \u2014 Add 7onic design system components to your project
14492
14492
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "7onic",
3
- "version": "0.1.7",
3
+ "version": "0.1.8",
4
4
  "description": "CLI for adding 7onic design system components to your project",
5
5
  "bin": {
6
6
  "7onic": "./dist/index.js"