@fuf-stack/pixels 0.9.2 → 0.10.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.
Files changed (109) hide show
  1. package/dist/Accordion/index.cjs +2 -3
  2. package/dist/Accordion/index.d.cts +3 -3
  3. package/dist/Accordion/index.d.ts +3 -3
  4. package/dist/Accordion/index.js +1 -2
  5. package/dist/{Accordion-DG6pcI_Q.d.cts → Accordion-IyPLd1w6.d.cts} +5 -5
  6. package/dist/{Accordion-DG6pcI_Q.d.ts → Accordion-IyPLd1w6.d.ts} +5 -5
  7. package/dist/Button/index.cjs +2 -3
  8. package/dist/Button/index.d.cts +3 -2
  9. package/dist/Button/index.d.ts +3 -2
  10. package/dist/Button/index.js +1 -2
  11. package/dist/{Button-DS4qK4Lf.d.cts → Button-8uTuwTxM.d.cts} +4 -4
  12. package/dist/{Button-DS4qK4Lf.d.ts → Button-8uTuwTxM.d.ts} +4 -4
  13. package/dist/Card/index.cjs +2 -3
  14. package/dist/Card/index.d.cts +3 -2
  15. package/dist/Card/index.d.ts +3 -2
  16. package/dist/Card/index.js +1 -2
  17. package/dist/{Card-D5kspciY.d.cts → Card-B3zN1NrH.d.cts} +5 -5
  18. package/dist/{Card-D5kspciY.d.ts → Card-B3zN1NrH.d.ts} +5 -5
  19. package/dist/Json/index.cjs +3 -4
  20. package/dist/Json/index.js +2 -3
  21. package/dist/Label/index.cjs +2 -2
  22. package/dist/Label/index.js +1 -1
  23. package/dist/Menu/index.cjs +2 -2
  24. package/dist/Menu/index.js +1 -1
  25. package/dist/Modal/index.cjs +2 -3
  26. package/dist/Modal/index.d.cts +3 -2
  27. package/dist/Modal/index.d.ts +3 -2
  28. package/dist/Modal/index.js +1 -2
  29. package/dist/{Modal-Ck13vTaf.d.cts → Modal-DZHeIvQc.d.cts} +6 -6
  30. package/dist/{Modal-Ck13vTaf.d.ts → Modal-DZHeIvQc.d.ts} +6 -6
  31. package/dist/Popover/index.cjs +2 -2
  32. package/dist/Popover/index.js +1 -1
  33. package/dist/Tooltip/index.cjs +2 -2
  34. package/dist/Tooltip/index.js +1 -1
  35. package/dist/{chunk-S2WOGSQV.js → chunk-32USZJY2.js} +2 -2
  36. package/dist/chunk-32USZJY2.js.map +1 -0
  37. package/dist/{chunk-DZJ4ACWV.js → chunk-7ZPZP6SD.js} +2 -6
  38. package/dist/chunk-7ZPZP6SD.js.map +1 -0
  39. package/dist/{chunk-WWAUBTWI.js → chunk-APEDJG3R.js} +2 -6
  40. package/dist/chunk-APEDJG3R.js.map +1 -0
  41. package/dist/{chunk-IZ4GIYPV.js → chunk-EVCVBDO5.js} +2 -5
  42. package/dist/chunk-EVCVBDO5.js.map +1 -0
  43. package/dist/{chunk-Y7E62HGE.js → chunk-F2SRHLNC.js} +2 -6
  44. package/dist/chunk-F2SRHLNC.js.map +1 -0
  45. package/dist/{chunk-L2DCXJCR.cjs → chunk-FGMOV5RO.cjs} +5 -9
  46. package/dist/chunk-FGMOV5RO.cjs.map +1 -0
  47. package/dist/{chunk-6G5VTF6K.js → chunk-FKVBE3LW.js} +2 -2
  48. package/dist/chunk-FKVBE3LW.js.map +1 -0
  49. package/dist/{chunk-TUCU3GGJ.js → chunk-G446SCUR.js} +3 -3
  50. package/dist/chunk-G446SCUR.js.map +1 -0
  51. package/dist/{chunk-CE745SSP.cjs → chunk-JPALSO5E.cjs} +5 -9
  52. package/dist/chunk-JPALSO5E.cjs.map +1 -0
  53. package/dist/{chunk-WJ4VZ2CM.cjs → chunk-L6TIKQGM.cjs} +6 -6
  54. package/dist/chunk-L6TIKQGM.cjs.map +1 -0
  55. package/dist/{chunk-L5FAQ6D4.cjs → chunk-LOFZNVCN.cjs} +4 -7
  56. package/dist/chunk-LOFZNVCN.cjs.map +1 -0
  57. package/dist/{chunk-HHTTNYDC.cjs → chunk-MJNISFGX.cjs} +4 -4
  58. package/dist/chunk-MJNISFGX.cjs.map +1 -0
  59. package/dist/{chunk-BSBPQXNG.cjs → chunk-RS7HBBUF.cjs} +4 -4
  60. package/dist/chunk-RS7HBBUF.cjs.map +1 -0
  61. package/dist/{chunk-VOXYQARK.js → chunk-SU6NFAFF.js} +2 -2
  62. package/dist/chunk-SU6NFAFF.js.map +1 -0
  63. package/dist/{chunk-BMKGS5PK.cjs → chunk-UZZLRGTA.cjs} +4 -4
  64. package/dist/chunk-UZZLRGTA.cjs.map +1 -0
  65. package/dist/{chunk-66VDLQF4.cjs → chunk-VAJODF7Z.cjs} +5 -9
  66. package/dist/chunk-VAJODF7Z.cjs.map +1 -0
  67. package/dist/{chunk-B35F4645.cjs → chunk-ZCA555Q7.cjs} +4 -4
  68. package/dist/chunk-ZCA555Q7.cjs.map +1 -0
  69. package/dist/{chunk-236GX7PP.js → chunk-ZN6DLACS.js} +2 -2
  70. package/dist/chunk-ZN6DLACS.js.map +1 -0
  71. package/dist/index.cjs +10 -18
  72. package/dist/index.d.cts +6 -7
  73. package/dist/index.d.ts +6 -7
  74. package/dist/index.js +10 -18
  75. package/package.json +4 -15
  76. package/dist/chunk-236GX7PP.js.map +0 -1
  77. package/dist/chunk-66VDLQF4.cjs.map +0 -1
  78. package/dist/chunk-6G5VTF6K.js.map +0 -1
  79. package/dist/chunk-B35F4645.cjs.map +0 -1
  80. package/dist/chunk-B36YERUR.cjs +0 -29
  81. package/dist/chunk-B36YERUR.cjs.map +0 -1
  82. package/dist/chunk-BMKGS5PK.cjs.map +0 -1
  83. package/dist/chunk-BSBPQXNG.cjs.map +0 -1
  84. package/dist/chunk-CE745SSP.cjs.map +0 -1
  85. package/dist/chunk-DZJ4ACWV.js.map +0 -1
  86. package/dist/chunk-HHTTNYDC.cjs.map +0 -1
  87. package/dist/chunk-IZ4GIYPV.js.map +0 -1
  88. package/dist/chunk-L2DCXJCR.cjs.map +0 -1
  89. package/dist/chunk-L5FAQ6D4.cjs.map +0 -1
  90. package/dist/chunk-S2WOGSQV.js.map +0 -1
  91. package/dist/chunk-TUCU3GGJ.js.map +0 -1
  92. package/dist/chunk-VOXYQARK.js.map +0 -1
  93. package/dist/chunk-WJ4VZ2CM.cjs.map +0 -1
  94. package/dist/chunk-WWAUBTWI.js.map +0 -1
  95. package/dist/chunk-X7YCEBNX.js +0 -29
  96. package/dist/chunk-X7YCEBNX.js.map +0 -1
  97. package/dist/chunk-Y7E62HGE.js.map +0 -1
  98. package/dist/theme/index.cjs +0 -8
  99. package/dist/theme/index.cjs.map +0 -1
  100. package/dist/theme/index.d.cts +0 -1
  101. package/dist/theme/index.d.ts +0 -1
  102. package/dist/theme/index.js +0 -8
  103. package/dist/theme/index.js.map +0 -1
  104. package/dist/utils/index.cjs +0 -12
  105. package/dist/utils/index.cjs.map +0 -1
  106. package/dist/utils/index.d.cts +0 -6
  107. package/dist/utils/index.d.ts +0 -6
  108. package/dist/utils/index.js +0 -12
  109. package/dist/utils/index.js.map +0 -1
@@ -2,12 +2,11 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkL2DCXJCRcjs = require('../chunk-L2DCXJCR.cjs');
6
- require('../chunk-B36YERUR.cjs');
5
+ var _chunkFGMOV5ROcjs = require('../chunk-FGMOV5RO.cjs');
7
6
  require('../chunk-DZUJEN5N.cjs');
8
7
 
9
8
 
10
9
 
11
10
 
12
- exports.Accordion = _chunkL2DCXJCRcjs.Accordion_default; exports.accordionVariants = _chunkL2DCXJCRcjs.accordionVariants; exports.default = _chunkL2DCXJCRcjs.Accordion_default2;
11
+ exports.Accordion = _chunkFGMOV5ROcjs.Accordion_default; exports.accordionVariants = _chunkFGMOV5ROcjs.accordionVariants; exports.default = _chunkFGMOV5ROcjs.Accordion_default2;
13
12
  //# sourceMappingURL=index.cjs.map
@@ -1,10 +1,10 @@
1
- import { A as Accordion } from '../Accordion-DG6pcI_Q.cjs';
2
- export { c as AccordionItemProps, b as AccordionProps, a as accordionVariants } from '../Accordion-DG6pcI_Q.cjs';
1
+ import { A as Accordion } from '../Accordion-IyPLd1w6.cjs';
2
+ export { c as AccordionItemProps, b as AccordionProps, a as accordionVariants } from '../Accordion-IyPLd1w6.cjs';
3
3
  import 'react/jsx-runtime';
4
4
  import 'tailwind-variants';
5
5
  import 'tailwind-variants/dist/config.js';
6
+ import '@fuf-stack/pixel-utils';
6
7
  import '@nextui-org/divider';
7
- import '@nextui-org/theme';
8
8
  import 'react';
9
9
 
10
10
 
@@ -1,10 +1,10 @@
1
- import { A as Accordion } from '../Accordion-DG6pcI_Q.js';
2
- export { c as AccordionItemProps, b as AccordionProps, a as accordionVariants } from '../Accordion-DG6pcI_Q.js';
1
+ import { A as Accordion } from '../Accordion-IyPLd1w6.js';
2
+ export { c as AccordionItemProps, b as AccordionProps, a as accordionVariants } from '../Accordion-IyPLd1w6.js';
3
3
  import 'react/jsx-runtime';
4
4
  import 'tailwind-variants';
5
5
  import 'tailwind-variants/dist/config.js';
6
+ import '@fuf-stack/pixel-utils';
6
7
  import '@nextui-org/divider';
7
- import '@nextui-org/theme';
8
8
  import 'react';
9
9
 
10
10
 
@@ -2,8 +2,7 @@ import {
2
2
  Accordion_default,
3
3
  Accordion_default2,
4
4
  accordionVariants
5
- } from "../chunk-DZJ4ACWV.js";
6
- import "../chunk-X7YCEBNX.js";
5
+ } from "../chunk-7ZPZP6SD.js";
7
6
  import "../chunk-5WRI5ZAA.js";
8
7
  export {
9
8
  Accordion_default as Accordion,
@@ -1,8 +1,8 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import * as tailwind_variants from 'tailwind-variants';
3
3
  import * as tailwind_variants_dist_config_js from 'tailwind-variants/dist/config.js';
4
+ import { TVProps, TVClassName } from '@fuf-stack/pixel-utils';
4
5
  import { DividerProps } from '@nextui-org/divider';
5
- import { VariantProps } from '@nextui-org/theme';
6
6
  import { ReactNode } from 'react';
7
7
 
8
8
  declare const accordionVariants: tailwind_variants.TVReturnType<{
@@ -105,13 +105,13 @@ interface AccordionItemProps {
105
105
  /** Accordion item subtitle */
106
106
  subtitle?: ReactNode;
107
107
  }
108
- type AccordionVariantProps = VariantProps<typeof accordionVariants>;
109
- type AccordionVariantSlots = Partial<Record<keyof ReturnType<typeof accordionVariants>, string>>;
110
- interface AccordionProps extends AccordionVariantProps {
108
+ type VariantProps = TVProps<typeof accordionVariants>;
109
+ type ClassName = TVClassName<typeof accordionVariants>;
110
+ interface AccordionProps extends VariantProps {
111
111
  /** Props for AccordionItems, will render the accordion items programmatically */
112
112
  accordionItems?: AccordionItemProps[];
113
113
  /** CSS class name */
114
- className?: string | AccordionVariantSlots;
114
+ className?: ClassName;
115
115
  /** Array of keys for the AccordionItem(s) to be expanded by default */
116
116
  defaultSelectedKeys?: undefined | 'all' | Iterable<number | string>;
117
117
  /** Disables the Accordion */
@@ -1,8 +1,8 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import * as tailwind_variants from 'tailwind-variants';
3
3
  import * as tailwind_variants_dist_config_js from 'tailwind-variants/dist/config.js';
4
+ import { TVProps, TVClassName } from '@fuf-stack/pixel-utils';
4
5
  import { DividerProps } from '@nextui-org/divider';
5
- import { VariantProps } from '@nextui-org/theme';
6
6
  import { ReactNode } from 'react';
7
7
 
8
8
  declare const accordionVariants: tailwind_variants.TVReturnType<{
@@ -105,13 +105,13 @@ interface AccordionItemProps {
105
105
  /** Accordion item subtitle */
106
106
  subtitle?: ReactNode;
107
107
  }
108
- type AccordionVariantProps = VariantProps<typeof accordionVariants>;
109
- type AccordionVariantSlots = Partial<Record<keyof ReturnType<typeof accordionVariants>, string>>;
110
- interface AccordionProps extends AccordionVariantProps {
108
+ type VariantProps = TVProps<typeof accordionVariants>;
109
+ type ClassName = TVClassName<typeof accordionVariants>;
110
+ interface AccordionProps extends VariantProps {
111
111
  /** Props for AccordionItems, will render the accordion items programmatically */
112
112
  accordionItems?: AccordionItemProps[];
113
113
  /** CSS class name */
114
- className?: string | AccordionVariantSlots;
114
+ className?: ClassName;
115
115
  /** Array of keys for the AccordionItem(s) to be expanded by default */
116
116
  defaultSelectedKeys?: undefined | 'all' | Iterable<number | string>;
117
117
  /** Disables the Accordion */
@@ -2,12 +2,11 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkL5FAQ6D4cjs = require('../chunk-L5FAQ6D4.cjs');
6
- require('../chunk-B36YERUR.cjs');
5
+ var _chunkLOFZNVCNcjs = require('../chunk-LOFZNVCN.cjs');
7
6
  require('../chunk-DZUJEN5N.cjs');
8
7
 
9
8
 
10
9
 
11
10
 
12
- exports.Button = _chunkL5FAQ6D4cjs.Button_default; exports.buttonVariants = _chunkL5FAQ6D4cjs.buttonVariants; exports.default = _chunkL5FAQ6D4cjs.Button_default2;
11
+ exports.Button = _chunkLOFZNVCNcjs.Button_default; exports.buttonVariants = _chunkLOFZNVCNcjs.buttonVariants; exports.default = _chunkLOFZNVCNcjs.Button_default2;
13
12
  //# sourceMappingURL=index.cjs.map
@@ -1,8 +1,9 @@
1
- import { B as Button } from '../Button-DS4qK4Lf.cjs';
2
- export { a as ButtonProps, b as buttonVariants } from '../Button-DS4qK4Lf.cjs';
1
+ import { B as Button } from '../Button-8uTuwTxM.cjs';
2
+ export { a as ButtonProps, b as buttonVariants } from '../Button-8uTuwTxM.cjs';
3
3
  import 'react/jsx-runtime';
4
4
  import 'tailwind-variants';
5
5
  import 'tailwind-variants/dist/config.js';
6
+ import '@fuf-stack/pixel-utils';
6
7
  import '@nextui-org/button';
7
8
  import 'react';
8
9
 
@@ -1,8 +1,9 @@
1
- import { B as Button } from '../Button-DS4qK4Lf.js';
2
- export { a as ButtonProps, b as buttonVariants } from '../Button-DS4qK4Lf.js';
1
+ import { B as Button } from '../Button-8uTuwTxM.js';
2
+ export { a as ButtonProps, b as buttonVariants } from '../Button-8uTuwTxM.js';
3
3
  import 'react/jsx-runtime';
4
4
  import 'tailwind-variants';
5
5
  import 'tailwind-variants/dist/config.js';
6
+ import '@fuf-stack/pixel-utils';
6
7
  import '@nextui-org/button';
7
8
  import 'react';
8
9
 
@@ -2,8 +2,7 @@ import {
2
2
  Button_default,
3
3
  Button_default2,
4
4
  buttonVariants
5
- } from "../chunk-IZ4GIYPV.js";
6
- import "../chunk-X7YCEBNX.js";
5
+ } from "../chunk-EVCVBDO5.js";
7
6
  import "../chunk-5WRI5ZAA.js";
8
7
  export {
9
8
  Button_default as Button,
@@ -1,7 +1,7 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import * as tailwind_variants from 'tailwind-variants';
3
- import { VariantProps } from 'tailwind-variants';
4
3
  import * as tailwind_variants_dist_config_js from 'tailwind-variants/dist/config.js';
4
+ import { TVProps } from '@fuf-stack/pixel-utils';
5
5
  import { ButtonProps as ButtonProps$1 } from '@nextui-org/button';
6
6
  import { ReactNode } from 'react';
7
7
 
@@ -132,14 +132,14 @@ declare const buttonVariants: tailwind_variants.TVReturnType<{
132
132
  ghost: string;
133
133
  };
134
134
  }>, unknown, unknown, undefined>>;
135
- type ButtonVariantProps = VariantProps<typeof buttonVariants>;
136
- interface ButtonProps extends ButtonVariantProps {
135
+ type VariantProps = TVProps<typeof buttonVariants>;
136
+ interface ButtonProps extends VariantProps {
137
137
  /** sets HTML aria-label attribute */
138
138
  ariaLabel?: string;
139
139
  /** child components */
140
140
  children?: ReactNode;
141
141
  /** CSS class name */
142
- className?: string | string[];
142
+ className?: string;
143
143
  /** next ui button color */
144
144
  color?: ButtonProps$1['color'];
145
145
  /** disables function of the button. */
@@ -1,7 +1,7 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import * as tailwind_variants from 'tailwind-variants';
3
- import { VariantProps } from 'tailwind-variants';
4
3
  import * as tailwind_variants_dist_config_js from 'tailwind-variants/dist/config.js';
4
+ import { TVProps } from '@fuf-stack/pixel-utils';
5
5
  import { ButtonProps as ButtonProps$1 } from '@nextui-org/button';
6
6
  import { ReactNode } from 'react';
7
7
 
@@ -132,14 +132,14 @@ declare const buttonVariants: tailwind_variants.TVReturnType<{
132
132
  ghost: string;
133
133
  };
134
134
  }>, unknown, unknown, undefined>>;
135
- type ButtonVariantProps = VariantProps<typeof buttonVariants>;
136
- interface ButtonProps extends ButtonVariantProps {
135
+ type VariantProps = TVProps<typeof buttonVariants>;
136
+ interface ButtonProps extends VariantProps {
137
137
  /** sets HTML aria-label attribute */
138
138
  ariaLabel?: string;
139
139
  /** child components */
140
140
  children?: ReactNode;
141
141
  /** CSS class name */
142
- className?: string | string[];
142
+ className?: string;
143
143
  /** next ui button color */
144
144
  color?: ButtonProps$1['color'];
145
145
  /** disables function of the button. */
@@ -2,12 +2,11 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkCE745SSPcjs = require('../chunk-CE745SSP.cjs');
6
- require('../chunk-B36YERUR.cjs');
5
+ var _chunkJPALSO5Ecjs = require('../chunk-JPALSO5E.cjs');
7
6
  require('../chunk-DZUJEN5N.cjs');
8
7
 
9
8
 
10
9
 
11
10
 
12
- exports.Card = _chunkCE745SSPcjs.Card_default; exports.cardVariants = _chunkCE745SSPcjs.cardVariants; exports.default = _chunkCE745SSPcjs.Card_default2;
11
+ exports.Card = _chunkJPALSO5Ecjs.Card_default; exports.cardVariants = _chunkJPALSO5Ecjs.cardVariants; exports.default = _chunkJPALSO5Ecjs.Card_default2;
13
12
  //# sourceMappingURL=index.cjs.map
@@ -1,8 +1,9 @@
1
- import { C as Card } from '../Card-D5kspciY.cjs';
2
- export { a as CardProps, c as cardVariants } from '../Card-D5kspciY.cjs';
1
+ import { C as Card } from '../Card-B3zN1NrH.cjs';
2
+ export { a as CardProps, c as cardVariants } from '../Card-B3zN1NrH.cjs';
3
3
  import 'react/jsx-runtime';
4
4
  import 'tailwind-variants/dist/config.js';
5
5
  import 'tailwind-variants';
6
+ import '@fuf-stack/pixel-utils';
6
7
  import 'react';
7
8
 
8
9
 
@@ -1,8 +1,9 @@
1
- import { C as Card } from '../Card-D5kspciY.js';
2
- export { a as CardProps, c as cardVariants } from '../Card-D5kspciY.js';
1
+ import { C as Card } from '../Card-B3zN1NrH.js';
2
+ export { a as CardProps, c as cardVariants } from '../Card-B3zN1NrH.js';
3
3
  import 'react/jsx-runtime';
4
4
  import 'tailwind-variants/dist/config.js';
5
5
  import 'tailwind-variants';
6
+ import '@fuf-stack/pixel-utils';
6
7
  import 'react';
7
8
 
8
9
 
@@ -2,8 +2,7 @@ import {
2
2
  Card_default,
3
3
  Card_default2,
4
4
  cardVariants
5
- } from "../chunk-WWAUBTWI.js";
6
- import "../chunk-X7YCEBNX.js";
5
+ } from "../chunk-APEDJG3R.js";
7
6
  import "../chunk-5WRI5ZAA.js";
8
7
  export {
9
8
  Card_default as Card,
@@ -1,7 +1,7 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import * as tailwind_variants_dist_config_js from 'tailwind-variants/dist/config.js';
3
3
  import * as tailwind_variants from 'tailwind-variants';
4
- import { VariantProps } from 'tailwind-variants';
4
+ import { TVProps, TVClassName } from '@fuf-stack/pixel-utils';
5
5
  import { ReactNode } from 'react';
6
6
 
7
7
  declare const cardVariants: tailwind_variants.TVReturnType<{
@@ -73,13 +73,13 @@ declare const cardVariants: tailwind_variants.TVReturnType<{
73
73
  };
74
74
  };
75
75
  } | {}>, unknown, unknown, undefined>>;
76
- type CardVariantProps = VariantProps<typeof cardVariants>;
77
- type CardVariantSlots = Partial<Record<keyof ReturnType<typeof cardVariants>, string>>;
78
- interface CardProps extends CardVariantProps {
76
+ type VariantProps = TVProps<typeof cardVariants>;
77
+ type ClassName = TVClassName<typeof cardVariants>;
78
+ interface CardProps extends VariantProps {
79
79
  /** card body content */
80
80
  children?: ReactNode;
81
81
  /** CSS class name */
82
- className?: string | CardVariantSlots;
82
+ className?: ClassName;
83
83
  /** footer content */
84
84
  footer?: ReactNode;
85
85
  /** header content */
@@ -1,7 +1,7 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import * as tailwind_variants_dist_config_js from 'tailwind-variants/dist/config.js';
3
3
  import * as tailwind_variants from 'tailwind-variants';
4
- import { VariantProps } from 'tailwind-variants';
4
+ import { TVProps, TVClassName } from '@fuf-stack/pixel-utils';
5
5
  import { ReactNode } from 'react';
6
6
 
7
7
  declare const cardVariants: tailwind_variants.TVReturnType<{
@@ -73,13 +73,13 @@ declare const cardVariants: tailwind_variants.TVReturnType<{
73
73
  };
74
74
  };
75
75
  } | {}>, unknown, unknown, undefined>>;
76
- type CardVariantProps = VariantProps<typeof cardVariants>;
77
- type CardVariantSlots = Partial<Record<keyof ReturnType<typeof cardVariants>, string>>;
78
- interface CardProps extends CardVariantProps {
76
+ type VariantProps = TVProps<typeof cardVariants>;
77
+ type ClassName = TVClassName<typeof cardVariants>;
78
+ interface CardProps extends VariantProps {
79
79
  /** card body content */
80
80
  children?: ReactNode;
81
81
  /** CSS class name */
82
- className?: string | CardVariantSlots;
82
+ className?: ClassName;
83
83
  /** footer content */
84
84
  footer?: ReactNode;
85
85
  /** header content */
@@ -1,12 +1,11 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkWJ4VZ2CMcjs = require('../chunk-WJ4VZ2CM.cjs');
5
- require('../chunk-L5FAQ6D4.cjs');
6
- require('../chunk-B36YERUR.cjs');
4
+ var _chunkL6TIKQGMcjs = require('../chunk-L6TIKQGM.cjs');
5
+ require('../chunk-LOFZNVCN.cjs');
7
6
  require('../chunk-DZUJEN5N.cjs');
8
7
 
9
8
 
10
9
 
11
- exports.Json = _chunkWJ4VZ2CMcjs.Json_default; exports.default = _chunkWJ4VZ2CMcjs.Json_default2;
10
+ exports.Json = _chunkL6TIKQGMcjs.Json_default; exports.default = _chunkL6TIKQGMcjs.Json_default2;
12
11
  //# sourceMappingURL=index.cjs.map
@@ -1,9 +1,8 @@
1
1
  import {
2
2
  Json_default,
3
3
  Json_default2
4
- } from "../chunk-TUCU3GGJ.js";
5
- import "../chunk-IZ4GIYPV.js";
6
- import "../chunk-X7YCEBNX.js";
4
+ } from "../chunk-G446SCUR.js";
5
+ import "../chunk-EVCVBDO5.js";
7
6
  import "../chunk-5WRI5ZAA.js";
8
7
  export {
9
8
  Json_default as Json,
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkBMKGS5PKcjs = require('../chunk-BMKGS5PK.cjs');
4
+ var _chunkUZZLRGTAcjs = require('../chunk-UZZLRGTA.cjs');
5
5
  require('../chunk-DZUJEN5N.cjs');
6
6
 
7
7
 
8
8
 
9
- exports.Label = _chunkBMKGS5PKcjs.Label_default; exports.default = _chunkBMKGS5PKcjs.Label_default2;
9
+ exports.Label = _chunkUZZLRGTAcjs.Label_default; exports.default = _chunkUZZLRGTAcjs.Label_default2;
10
10
  //# sourceMappingURL=index.cjs.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  Label_default,
3
3
  Label_default2
4
- } from "../chunk-S2WOGSQV.js";
4
+ } from "../chunk-32USZJY2.js";
5
5
  import "../chunk-5WRI5ZAA.js";
6
6
  export {
7
7
  Label_default as Label,
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkHHTTNYDCcjs = require('../chunk-HHTTNYDC.cjs');
4
+ var _chunkMJNISFGXcjs = require('../chunk-MJNISFGX.cjs');
5
5
  require('../chunk-DZUJEN5N.cjs');
6
6
 
7
7
 
8
8
 
9
- exports.Menu = _chunkHHTTNYDCcjs.Menu_default; exports.default = _chunkHHTTNYDCcjs.Menu_default2;
9
+ exports.Menu = _chunkMJNISFGXcjs.Menu_default; exports.default = _chunkMJNISFGXcjs.Menu_default2;
10
10
  //# sourceMappingURL=index.cjs.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  Menu_default,
3
3
  Menu_default2
4
- } from "../chunk-VOXYQARK.js";
4
+ } from "../chunk-SU6NFAFF.js";
5
5
  import "../chunk-5WRI5ZAA.js";
6
6
  export {
7
7
  Menu_default as Menu,
@@ -2,12 +2,11 @@
2
2
 
3
3
 
4
4
 
5
- var _chunk66VDLQF4cjs = require('../chunk-66VDLQF4.cjs');
6
- require('../chunk-B36YERUR.cjs');
5
+ var _chunkVAJODF7Zcjs = require('../chunk-VAJODF7Z.cjs');
7
6
  require('../chunk-DZUJEN5N.cjs');
8
7
 
9
8
 
10
9
 
11
10
 
12
- exports.Modal = _chunk66VDLQF4cjs.Modal_default; exports.default = _chunk66VDLQF4cjs.Modal_default2; exports.modalVariants = _chunk66VDLQF4cjs.modalVariants;
11
+ exports.Modal = _chunkVAJODF7Zcjs.Modal_default; exports.default = _chunkVAJODF7Zcjs.Modal_default2; exports.modalVariants = _chunkVAJODF7Zcjs.modalVariants;
13
12
  //# sourceMappingURL=index.cjs.map
@@ -1,8 +1,9 @@
1
- import { M as Modal } from '../Modal-Ck13vTaf.cjs';
2
- export { a as ModalProps, m as modalVariants } from '../Modal-Ck13vTaf.cjs';
1
+ import { M as Modal } from '../Modal-DZHeIvQc.cjs';
2
+ export { a as ModalProps, m as modalVariants } from '../Modal-DZHeIvQc.cjs';
3
3
  import 'react/jsx-runtime';
4
4
  import 'tailwind-variants';
5
5
  import 'tailwind-variants/dist/config.js';
6
+ import '@fuf-stack/pixel-utils';
6
7
  import 'react';
7
8
 
8
9
 
@@ -1,8 +1,9 @@
1
- import { M as Modal } from '../Modal-Ck13vTaf.js';
2
- export { a as ModalProps, m as modalVariants } from '../Modal-Ck13vTaf.js';
1
+ import { M as Modal } from '../Modal-DZHeIvQc.js';
2
+ export { a as ModalProps, m as modalVariants } from '../Modal-DZHeIvQc.js';
3
3
  import 'react/jsx-runtime';
4
4
  import 'tailwind-variants';
5
5
  import 'tailwind-variants/dist/config.js';
6
+ import '@fuf-stack/pixel-utils';
6
7
  import 'react';
7
8
 
8
9
 
@@ -2,8 +2,7 @@ import {
2
2
  Modal_default,
3
3
  Modal_default2,
4
4
  modalVariants
5
- } from "../chunk-Y7E62HGE.js";
6
- import "../chunk-X7YCEBNX.js";
5
+ } from "../chunk-F2SRHLNC.js";
7
6
  import "../chunk-5WRI5ZAA.js";
8
7
  export {
9
8
  Modal_default as Modal,
@@ -1,7 +1,7 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import * as tailwind_variants from 'tailwind-variants';
3
- import { VariantProps } from 'tailwind-variants';
4
3
  import * as tailwind_variants_dist_config_js from 'tailwind-variants/dist/config.js';
4
+ import { TVProps, TVClassName } from '@fuf-stack/pixel-utils';
5
5
  import { ReactNode } from 'react';
6
6
 
7
7
  declare const modalVariants: tailwind_variants.TVReturnType<{
@@ -155,13 +155,13 @@ declare const modalVariants: tailwind_variants.TVReturnType<{
155
155
  };
156
156
  };
157
157
  }>, unknown, unknown, undefined>>;
158
- type ModalVariantProps = VariantProps<typeof modalVariants>;
159
- type ModalVariantSlots = Partial<Record<keyof ReturnType<typeof modalVariants>, string>>;
160
- interface ModalProps extends ModalVariantProps {
158
+ type VariantProps = TVProps<typeof modalVariants>;
159
+ type ClassName = TVClassName<typeof modalVariants>;
160
+ interface ModalProps extends VariantProps {
161
161
  /** modal body content */
162
162
  children?: ReactNode;
163
163
  /** CSS class name */
164
- className?: string | ModalVariantSlots;
164
+ className?: ClassName;
165
165
  /** modal footer */
166
166
  footer?: ReactNode;
167
167
  /** modal header */
@@ -171,7 +171,7 @@ interface ModalProps extends ModalVariantProps {
171
171
  /** close event handler */
172
172
  onClose: () => void;
173
173
  /** modal size */
174
- size?: ModalVariantProps['size'];
174
+ size?: VariantProps['size'];
175
175
  /** HTML data-testid attribute used in e2e tests */
176
176
  testId?: string;
177
177
  }
@@ -1,7 +1,7 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import * as tailwind_variants from 'tailwind-variants';
3
- import { VariantProps } from 'tailwind-variants';
4
3
  import * as tailwind_variants_dist_config_js from 'tailwind-variants/dist/config.js';
4
+ import { TVProps, TVClassName } from '@fuf-stack/pixel-utils';
5
5
  import { ReactNode } from 'react';
6
6
 
7
7
  declare const modalVariants: tailwind_variants.TVReturnType<{
@@ -155,13 +155,13 @@ declare const modalVariants: tailwind_variants.TVReturnType<{
155
155
  };
156
156
  };
157
157
  }>, unknown, unknown, undefined>>;
158
- type ModalVariantProps = VariantProps<typeof modalVariants>;
159
- type ModalVariantSlots = Partial<Record<keyof ReturnType<typeof modalVariants>, string>>;
160
- interface ModalProps extends ModalVariantProps {
158
+ type VariantProps = TVProps<typeof modalVariants>;
159
+ type ClassName = TVClassName<typeof modalVariants>;
160
+ interface ModalProps extends VariantProps {
161
161
  /** modal body content */
162
162
  children?: ReactNode;
163
163
  /** CSS class name */
164
- className?: string | ModalVariantSlots;
164
+ className?: ClassName;
165
165
  /** modal footer */
166
166
  footer?: ReactNode;
167
167
  /** modal header */
@@ -171,7 +171,7 @@ interface ModalProps extends ModalVariantProps {
171
171
  /** close event handler */
172
172
  onClose: () => void;
173
173
  /** modal size */
174
- size?: ModalVariantProps['size'];
174
+ size?: VariantProps['size'];
175
175
  /** HTML data-testid attribute used in e2e tests */
176
176
  testId?: string;
177
177
  }
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkB35F4645cjs = require('../chunk-B35F4645.cjs');
4
+ var _chunkZCA555Q7cjs = require('../chunk-ZCA555Q7.cjs');
5
5
  require('../chunk-DZUJEN5N.cjs');
6
6
 
7
7
 
8
8
 
9
- exports.Popover = _chunkB35F4645cjs.Popover_default; exports.default = _chunkB35F4645cjs.Popover_default2;
9
+ exports.Popover = _chunkZCA555Q7cjs.Popover_default; exports.default = _chunkZCA555Q7cjs.Popover_default2;
10
10
  //# sourceMappingURL=index.cjs.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  Popover_default,
3
3
  Popover_default2
4
- } from "../chunk-6G5VTF6K.js";
4
+ } from "../chunk-FKVBE3LW.js";
5
5
  import "../chunk-5WRI5ZAA.js";
6
6
  export {
7
7
  Popover_default as Popover,
@@ -2,11 +2,11 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkBSBPQXNGcjs = require('../chunk-BSBPQXNG.cjs');
5
+ var _chunkRS7HBBUFcjs = require('../chunk-RS7HBBUF.cjs');
6
6
  require('../chunk-DZUJEN5N.cjs');
7
7
 
8
8
 
9
9
 
10
10
 
11
- exports.Tooltip = _chunkBSBPQXNGcjs.Tooltip_default; exports.default = _chunkBSBPQXNGcjs.Tooltip_default2; exports.tooltipPlacementOptions = _chunkBSBPQXNGcjs.tooltipPlacementOptions;
11
+ exports.Tooltip = _chunkRS7HBBUFcjs.Tooltip_default; exports.default = _chunkRS7HBBUFcjs.Tooltip_default2; exports.tooltipPlacementOptions = _chunkRS7HBBUFcjs.tooltipPlacementOptions;
12
12
  //# sourceMappingURL=index.cjs.map
@@ -2,7 +2,7 @@ import {
2
2
  Tooltip_default,
3
3
  Tooltip_default2,
4
4
  tooltipPlacementOptions
5
- } from "../chunk-236GX7PP.js";
5
+ } from "../chunk-ZN6DLACS.js";
6
6
  import "../chunk-5WRI5ZAA.js";
7
7
  export {
8
8
  Tooltip_default as Tooltip,
@@ -1,6 +1,6 @@
1
1
  // src/Label/Label.tsx
2
2
  import { Chip as NextLabel } from "@nextui-org/chip";
3
- import cn from "classnames";
3
+ import { cn } from "@fuf-stack/pixel-utils";
4
4
  import { jsx } from "react/jsx-runtime";
5
5
  var Label = ({
6
6
  children,
@@ -29,4 +29,4 @@ export {
29
29
  Label_default,
30
30
  Label_default2
31
31
  };
32
- //# sourceMappingURL=chunk-S2WOGSQV.js.map
32
+ //# sourceMappingURL=chunk-32USZJY2.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/Label/Label.tsx","../src/Label/index.ts"],"sourcesContent":["import type { ChipProps } from '@nextui-org/chip';\nimport type { ReactNode } from 'react';\n\nimport { Chip as NextLabel } from '@nextui-org/chip';\n\nimport { cn } from '@fuf-stack/pixel-utils';\n\nexport interface LabelProps {\n /** content of the label */\n children: ReactNode;\n /** CSS class name */\n className?: string;\n /** color of the label */\n color?: ChipProps['color'];\n /** element to be rendered in the right side of the label */\n endContent?: ChipProps['endContent'];\n /** size of the label */\n size?: ChipProps['size'];\n /** element to be rendered in the left side of the label */\n startContent?: ChipProps['startContent'];\n}\n\n/**\n * Label component based on [NextUI Chip](https://nextui.org/docs/components/chip)\n */\nconst Label = ({\n children,\n className = undefined,\n color = 'default',\n endContent = undefined,\n size = 'md',\n startContent = undefined,\n}: LabelProps) => (\n <NextLabel\n className={cn(className)}\n color={color}\n endContent={endContent}\n size={size}\n startContent={startContent}\n >\n {children}\n </NextLabel>\n);\n\nexport default Label;\n","import Label from './Label';\n\nexport type { LabelProps } from './Label';\n\nexport { Label };\n\nexport default Label;\n"],"mappings":";AAGA,SAAS,QAAQ,iBAAiB;AAElC,SAAS,UAAU;AA4BjB;AARF,IAAM,QAAQ,CAAC;AAAA,EACb;AAAA,EACA,YAAY;AAAA,EACZ,QAAQ;AAAA,EACR,aAAa;AAAA,EACb,OAAO;AAAA,EACP,eAAe;AACjB,MACE;AAAA,EAAC;AAAA;AAAA,IACC,WAAW,GAAG,SAAS;AAAA,IACvB;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IAEC;AAAA;AACH;AAGF,IAAO,gBAAQ;;;ACtCf,IAAOA,iBAAQ;","names":["Label_default"]}
@@ -1,13 +1,9 @@
1
- import {
2
- tv,
3
- variantsToClassNames
4
- } from "./chunk-X7YCEBNX.js";
5
-
6
1
  // src/Accordion/Accordion.tsx
7
2
  import {
8
3
  Accordion as NextAccordion,
9
4
  AccordionItem as NextAccordionItem
10
5
  } from "@nextui-org/accordion";
6
+ import { tv, variantsToClassNames } from "@fuf-stack/pixel-utils";
11
7
  import { jsx } from "react/jsx-runtime";
12
8
  var accordionVariants = tv({
13
9
  slots: {
@@ -88,4 +84,4 @@ export {
88
84
  Accordion_default,
89
85
  Accordion_default2
90
86
  };
91
- //# sourceMappingURL=chunk-DZJ4ACWV.js.map
87
+ //# sourceMappingURL=chunk-7ZPZP6SD.js.map