@engrate/components 0.0.3 → 0.0.4
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/README.md +36 -25
- package/dist/{eg-components.cjs.js → index.cjs.js} +1 -1
- package/dist/index.d.ts +0 -21
- package/dist/{eg-components.es.js → index.es.js} +715 -782
- package/dist/styles.css +1 -1
- package/package.json +4 -10
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,6 @@ import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
|
|
|
2
2
|
import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
|
|
3
3
|
import { ClassProp } from 'class-variance-authority/types';
|
|
4
4
|
import { ClassValue } from 'clsx';
|
|
5
|
-
import { Config } from 'tailwindcss';
|
|
6
5
|
import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
|
|
7
6
|
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
8
7
|
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
|
@@ -324,26 +323,6 @@ export declare interface DropdownMenuSubTriggerProps extends React_2.ComponentPr
|
|
|
324
323
|
|
|
325
324
|
export declare const DropdownMenuTrigger: React_2.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuTriggerProps & React_2.RefAttributes<HTMLButtonElement>>;
|
|
326
325
|
|
|
327
|
-
/**
|
|
328
|
-
* Engrate design tokens as a Tailwind preset.
|
|
329
|
-
* Consumers can extend their Tailwind config with this preset:
|
|
330
|
-
*
|
|
331
|
-
* @example
|
|
332
|
-
* ```js
|
|
333
|
-
* // tailwind.config.js
|
|
334
|
-
* import { egComponentsPreset } from 'eg-components/tailwind.preset'
|
|
335
|
-
*
|
|
336
|
-
* export default {
|
|
337
|
-
* presets: [egComponentsPreset],
|
|
338
|
-
* content: [
|
|
339
|
-
* './src/**\/*.{js,ts,jsx,tsx}',
|
|
340
|
-
* './node_modules/eg-components/dist/**\/*.js',
|
|
341
|
-
* ],
|
|
342
|
-
* }
|
|
343
|
-
* ```
|
|
344
|
-
*/
|
|
345
|
-
export declare const egComponentsPreset: Config;
|
|
346
|
-
|
|
347
326
|
export declare const Eyebrow: React_2.ForwardRefExoticComponent<EyebrowProps & React_2.RefAttributes<HTMLSpanElement>>;
|
|
348
327
|
|
|
349
328
|
export declare interface EyebrowProps extends React_2.HTMLAttributes<HTMLSpanElement>, VariantProps<typeof eyebrowVariants> {
|