@opensite/ui 0.0.9 → 0.1.0

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.
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  'use strict';
2
3
 
3
4
  var react = require('react');
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { useId, useRef, useEffect } from 'react';
2
3
  import { AnimatePresence, motion } from 'framer-motion';
3
4
  import { clsx } from 'clsx';
@@ -7,7 +7,7 @@ import * as class_variance_authority_types from 'class-variance-authority/types'
7
7
  * when only the variants are needed (e.g., in Pressable component).
8
8
  */
9
9
  declare const buttonVariants: (props?: ({
10
- variant?: "link" | "secondary" | "outline" | "default" | "destructive" | "ghost" | null | undefined;
10
+ variant?: "secondary" | "link" | "outline" | "default" | "destructive" | "ghost" | null | undefined;
11
11
  size?: "sm" | "md" | "lg" | "default" | "icon" | "icon-sm" | "icon-lg" | null | undefined;
12
12
  } & class_variance_authority_types.ClassProp) | undefined) => string;
13
13
 
@@ -7,7 +7,7 @@ import * as class_variance_authority_types from 'class-variance-authority/types'
7
7
  * when only the variants are needed (e.g., in Pressable component).
8
8
  */
9
9
  declare const buttonVariants: (props?: ({
10
- variant?: "link" | "secondary" | "outline" | "default" | "destructive" | "ghost" | null | undefined;
10
+ variant?: "secondary" | "link" | "outline" | "default" | "destructive" | "ghost" | null | undefined;
11
11
  size?: "sm" | "md" | "lg" | "default" | "icon" | "icon-sm" | "icon-lg" | null | undefined;
12
12
  } & class_variance_authority_types.ClassProp) | undefined) => string;
13
13
 
package/dist/button.d.cts CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import * as React from 'react';
3
3
  import { VariantProps } from 'class-variance-authority';
4
- import { b as buttonVariants } from './button-variants-CSFRwdBy.cjs';
4
+ import { b as buttonVariants } from './button-variants-CdXVl4bn.cjs';
5
5
  import 'class-variance-authority/types';
6
6
 
7
7
  declare function Button({ className, variant, size, asChild, ...props }: React.ComponentProps<"button"> & VariantProps<typeof buttonVariants> & {
package/dist/button.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import * as React from 'react';
3
3
  import { VariantProps } from 'class-variance-authority';
4
- import { b as buttonVariants } from './button-variants-CSFRwdBy.js';
4
+ import { b as buttonVariants } from './button-variants-CdXVl4bn.js';
5
5
  import 'class-variance-authority/types';
6
6
 
7
7
  declare function Button({ className, variant, size, asChild, ...props }: React.ComponentProps<"button"> & VariantProps<typeof buttonVariants> & {
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  'use strict';
2
3
 
3
4
  var React4 = require('react');
@@ -14,6 +14,6 @@ export { AlternatingBlockSection, AlternatingBlocksProps, AnimatedDialogProps, A
14
14
  import 'react';
15
15
  import 'react/jsx-runtime';
16
16
  import 'class-variance-authority';
17
- import './button-variants-CSFRwdBy.cjs';
17
+ import './button-variants-CdXVl4bn.cjs';
18
18
  import 'class-variance-authority/types';
19
19
  import '@radix-ui/react-popover';
@@ -14,6 +14,6 @@ export { AlternatingBlockSection, AlternatingBlocksProps, AnimatedDialogProps, A
14
14
  import 'react';
15
15
  import 'react/jsx-runtime';
16
16
  import 'class-variance-authority';
17
- import './button-variants-CSFRwdBy.js';
17
+ import './button-variants-CdXVl4bn.js';
18
18
  import 'class-variance-authority/types';
19
19
  import '@radix-ui/react-popover';
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import * as React4 from 'react';
2
3
  import React4__default, { useId, useRef, useEffect } from 'react';
3
4
  import { clsx } from 'clsx';
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  'use strict';
2
3
 
3
4
  var React = require('react');
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import * as React from 'react';
2
3
  import { clsx } from 'clsx';
3
4
  import { twMerge } from 'tailwind-merge';
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  'use strict';
2
3
 
3
4
  var React2 = require('react');
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import * as React2 from 'react';
2
3
  import { useState, useRef, useEffect } from 'react';
3
4
  import { clsx } from 'clsx';
package/dist/hooks.cjs CHANGED
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  'use strict';
2
3
 
3
4
  var React = require('react');
package/dist/hooks.js CHANGED
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import * as React from 'react';
2
3
 
3
4
  // lib/useNavigation.ts
package/dist/index.cjs CHANGED
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  'use strict';
2
3
 
3
4
  var React4 = require('react');
package/dist/index.d.cts CHANGED
@@ -16,7 +16,7 @@ export { cn } from './utils.cjs';
16
16
  import 'react';
17
17
  import 'react/jsx-runtime';
18
18
  import 'class-variance-authority';
19
- import './button-variants-CSFRwdBy.cjs';
19
+ import './button-variants-CdXVl4bn.cjs';
20
20
  import 'class-variance-authority/types';
21
21
  import '@radix-ui/react-popover';
22
22
  import 'clsx';
package/dist/index.d.ts CHANGED
@@ -16,7 +16,7 @@ export { cn } from './utils.js';
16
16
  import 'react';
17
17
  import 'react/jsx-runtime';
18
18
  import 'class-variance-authority';
19
- import './button-variants-CSFRwdBy.js';
19
+ import './button-variants-CdXVl4bn.js';
20
20
  import 'class-variance-authority/types';
21
21
  import '@radix-ui/react-popover';
22
22
  import 'clsx';
package/dist/index.js CHANGED
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import * as React4 from 'react';
2
3
  import React4__default, { useId, useRef, useEffect } from 'react';
3
4
  import { clsx } from 'clsx';
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  'use strict';
2
3
 
3
4
  var clsx = require('clsx');
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { clsx } from 'clsx';
2
3
  import { twMerge } from 'tailwind-merge';
3
4
  import { Img } from '@page-speed/img';
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  'use strict';
2
3
 
3
4
  var clsx = require('clsx');
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { clsx } from 'clsx';
2
3
  import { twMerge } from 'tailwind-merge';
3
4
  import React from 'react';
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  'use strict';
2
3
 
3
4
  var React = require('react');
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { VariantProps } from 'class-variance-authority';
3
- import { b as buttonVariants } from './button-variants-CSFRwdBy.cjs';
3
+ import { b as buttonVariants } from './button-variants-CdXVl4bn.cjs';
4
4
  import 'class-variance-authority/types';
5
5
 
6
6
  type FallbackComponentType = "span" | "div" | "button";
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { VariantProps } from 'class-variance-authority';
3
- import { b as buttonVariants } from './button-variants-CSFRwdBy.js';
3
+ import { b as buttonVariants } from './button-variants-CdXVl4bn.js';
4
4
  import 'class-variance-authority/types';
5
5
 
6
6
  type FallbackComponentType = "span" | "div" | "button";
package/dist/pressable.js CHANGED
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import * as React from 'react';
2
3
  import { clsx } from 'clsx';
3
4
  import { twMerge } from 'tailwind-merge';
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  'use strict';
2
3
 
3
4
  var React = require('react');
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import * as React from 'react';
2
3
 
3
4
  function normalizePhoneNumber(input) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opensite/ui",
3
- "version": "0.0.9",
3
+ "version": "0.1.0",
4
4
  "description": "Foundational UI component library for OpenSite Semantic Site Builder with tree-shakable exports and abstract styling",
5
5
  "keywords": [
6
6
  "react",