@traefik-labs/faency 12.0.7 → 12.0.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 (72) hide show
  1. package/README.md +6 -5
  2. package/dist/components/AccessibleIcon/AccessibleIcon.vanilla.cjs +23 -0
  3. package/dist/components/AccessibleIcon/AccessibleIcon.vanilla.cjs.map +1 -0
  4. package/dist/components/AccessibleIcon/AccessibleIcon.vanilla.js +6 -0
  5. package/dist/components/AccessibleIcon/AccessibleIcon.vanilla.js.map +1 -0
  6. package/dist/components/Avatar/Avatar.vanilla.cjs +42 -0
  7. package/dist/components/Avatar/Avatar.vanilla.cjs.map +1 -0
  8. package/dist/components/Avatar/Avatar.vanilla.css.cjs +11 -0
  9. package/dist/components/Avatar/Avatar.vanilla.css.cjs.map +1 -0
  10. package/dist/components/Avatar/Avatar.vanilla.css.js +11 -0
  11. package/dist/components/Avatar/Avatar.vanilla.css.js.map +1 -0
  12. package/dist/components/Avatar/Avatar.vanilla.js +25 -0
  13. package/dist/components/Avatar/Avatar.vanilla.js.map +1 -0
  14. package/dist/components/Blockquote/Blockquote.vanilla.css.cjs +1 -0
  15. package/dist/components/Blockquote/Blockquote.vanilla.css.cjs.map +1 -1
  16. package/dist/components/Blockquote/Blockquote.vanilla.css.js +1 -0
  17. package/dist/components/Blockquote/Blockquote.vanilla.css.js.map +1 -1
  18. package/dist/components/Bubble/Bubble.vanilla.cjs +34 -0
  19. package/dist/components/Bubble/Bubble.vanilla.cjs.map +1 -0
  20. package/dist/components/Bubble/Bubble.vanilla.css.cjs +7 -0
  21. package/dist/components/Bubble/Bubble.vanilla.css.cjs.map +1 -0
  22. package/dist/components/Bubble/Bubble.vanilla.css.js +7 -0
  23. package/dist/components/Bubble/Bubble.vanilla.css.js.map +1 -0
  24. package/dist/components/Bubble/Bubble.vanilla.js +34 -0
  25. package/dist/components/Bubble/Bubble.vanilla.js.map +1 -0
  26. package/dist/components/ButtonSwitch/ButtonSwitch.vanilla.cjs +72 -36
  27. package/dist/components/ButtonSwitch/ButtonSwitch.vanilla.cjs.map +1 -1
  28. package/dist/components/ButtonSwitch/ButtonSwitch.vanilla.js +72 -36
  29. package/dist/components/ButtonSwitch/ButtonSwitch.vanilla.js.map +1 -1
  30. package/dist/components/Card/Card.vanilla.cjs +20 -18
  31. package/dist/components/Card/Card.vanilla.cjs.map +1 -1
  32. package/dist/components/Card/Card.vanilla.js +20 -18
  33. package/dist/components/Card/Card.vanilla.js.map +1 -1
  34. package/dist/components/Elevation/Elevation.vanilla.cjs +6 -4
  35. package/dist/components/Elevation/Elevation.vanilla.cjs.map +1 -1
  36. package/dist/components/Elevation/Elevation.vanilla.js +6 -4
  37. package/dist/components/Elevation/Elevation.vanilla.js.map +1 -1
  38. package/dist/components/Image/Image.vanilla.cjs +33 -0
  39. package/dist/components/Image/Image.vanilla.cjs.map +1 -0
  40. package/dist/components/Image/Image.vanilla.css.cjs +6 -0
  41. package/dist/components/Image/Image.vanilla.css.cjs.map +1 -0
  42. package/dist/components/Image/Image.vanilla.css.js +6 -0
  43. package/dist/components/Image/Image.vanilla.css.js.map +1 -0
  44. package/dist/components/Image/Image.vanilla.js +33 -0
  45. package/dist/components/Image/Image.vanilla.js.map +1 -0
  46. package/dist/components/Label/Label.vanilla.cjs +18 -22
  47. package/dist/components/Label/Label.vanilla.cjs.map +1 -1
  48. package/dist/components/Label/Label.vanilla.js +18 -5
  49. package/dist/components/Label/Label.vanilla.js.map +1 -1
  50. package/dist/components/Panel/Panel.vanilla.cjs +6 -4
  51. package/dist/components/Panel/Panel.vanilla.cjs.map +1 -1
  52. package/dist/components/Panel/Panel.vanilla.js +6 -4
  53. package/dist/components/Panel/Panel.vanilla.js.map +1 -1
  54. package/dist/components/Skeleton/Skeleton.vanilla.cjs +34 -0
  55. package/dist/components/Skeleton/Skeleton.vanilla.cjs.map +1 -0
  56. package/dist/components/Skeleton/Skeleton.vanilla.css.cjs +7 -0
  57. package/dist/components/Skeleton/Skeleton.vanilla.css.cjs.map +1 -0
  58. package/dist/components/Skeleton/Skeleton.vanilla.css.js +7 -0
  59. package/dist/components/Skeleton/Skeleton.vanilla.css.js.map +1 -0
  60. package/dist/components/Skeleton/Skeleton.vanilla.js +34 -0
  61. package/dist/components/Skeleton/Skeleton.vanilla.js.map +1 -0
  62. package/dist/faency.css +1357 -1050
  63. package/dist/index.cjs +15 -5
  64. package/dist/index.cjs.map +1 -1
  65. package/dist/index.d.ts +267 -24
  66. package/dist/index.js +12 -2
  67. package/dist/index.js.map +1 -1
  68. package/dist/styles/themes.css.cjs +1 -0
  69. package/dist/styles/themes.css.cjs.map +1 -1
  70. package/dist/styles/themes.css.js +1 -0
  71. package/dist/styles/themes.css.js.map +1 -1
  72. package/package.json +2 -3
package/dist/index.cjs CHANGED
@@ -8,10 +8,12 @@ const stitches_config = require("./stitches.config.cjs");
8
8
  const themeContext = require("./styles/themeContext.cjs");
9
9
  const themes_css = require("./styles/themes.css.cjs");
10
10
  const AccessibleIcon = require("./components/AccessibleIcon/AccessibleIcon.cjs");
11
+ const AccessibleIcon_vanilla = require("./components/AccessibleIcon/AccessibleIcon.vanilla.cjs");
11
12
  const Accordion = require("./components/Accordion/Accordion.cjs");
12
13
  const Alert = require("./components/Alert/Alert.cjs");
13
14
  const AriaTable = require("./components/AriaTable/AriaTable.cjs");
14
15
  const Avatar = require("./components/Avatar/Avatar.cjs");
16
+ const Avatar_vanilla = require("./components/Avatar/Avatar.vanilla.cjs");
15
17
  const Badge = require("./components/Badge/Badge.cjs");
16
18
  const Badge_vanilla = require("./components/Badge/Badge.vanilla.cjs");
17
19
  const Blockquote = require("./components/Blockquote/Blockquote.cjs");
@@ -19,6 +21,7 @@ const Blockquote_vanilla = require("./components/Blockquote/Blockquote.vanilla.c
19
21
  const Box = require("./components/Box/Box.cjs");
20
22
  const Box_vanilla = require("./components/Box/Box.vanilla.cjs");
21
23
  const Bubble = require("./components/Bubble/Bubble.cjs");
24
+ const Bubble_vanilla = require("./components/Bubble/Bubble.vanilla.cjs");
22
25
  const Button = require("./components/Button/Button.cjs");
23
26
  const Button_vanilla = require("./components/Button/Button.vanilla.cjs");
24
27
  const ButtonSwitch = require("./components/ButtonSwitch/ButtonSwitch.cjs");
@@ -42,6 +45,7 @@ const Heading = require("./components/Heading/Heading.cjs");
42
45
  const IconButton = require("./components/IconButton/IconButton.cjs");
43
46
  const IconButton_vanilla = require("./components/IconButton/IconButton.vanilla.cjs");
44
47
  const Image = require("./components/Image/Image.cjs");
48
+ const Image_vanilla = require("./components/Image/Image.vanilla.cjs");
45
49
  const Input = require("./components/Input/Input.cjs");
46
50
  const Input_vanilla = require("./components/Input/Input.vanilla.cjs");
47
51
  const Label = require("./components/Label/Label.cjs");
@@ -53,16 +57,17 @@ const NavigationMenu = require("./components/NavigationMenu/NavigationMenu.cjs")
53
57
  const NavigationTreeContainer = require("./components/NavigationTree/NavigationTreeContainer.cjs");
54
58
  const NavigationTreeDrawer = require("./components/NavigationTree/NavigationTreeDrawer.cjs");
55
59
  const NavigationTreeItem = require("./components/NavigationTree/NavigationTreeItem.cjs");
60
+ const Panel = require("./components/Panel/Panel.cjs");
61
+ const Panel_vanilla = require("./components/Panel/Panel.vanilla.cjs");
56
62
  const Paragraph = require("./components/Paragraph/Paragraph.cjs");
57
63
  const Paragraph_vanilla = require("./components/Paragraph/Paragraph.vanilla.cjs");
58
64
  const Popover = require("./components/Popover/Popover.cjs");
59
- const Panel = require("./components/Panel/Panel.cjs");
60
- const Panel_vanilla = require("./components/Panel/Panel.vanilla.cjs");
61
65
  const Radio = require("./components/Radio/Radio.cjs");
62
66
  const RadioAccordion = require("./components/RadioAccordion/RadioAccordion.cjs");
63
67
  const Select = require("./components/Select/Select.cjs");
64
68
  const SidePanel = require("./components/SidePanel/SidePanel.cjs");
65
69
  const Skeleton = require("./components/Skeleton/Skeleton.cjs");
70
+ const Skeleton_vanilla = require("./components/Skeleton/Skeleton.vanilla.cjs");
66
71
  const Switch = require("./components/Switch/Switch.cjs");
67
72
  const Table = require("./components/Table/Table.cjs");
68
73
  const Tabs = require("./components/Tabs/Tabs.cjs");
@@ -98,6 +103,7 @@ exports.vanillaDarkTheme = themes_css.darkTheme;
98
103
  exports.vanillaLightTheme = themes_css.lightTheme;
99
104
  exports.vanillaThemes = themes_css.themes;
100
105
  exports.AccessibleIcon = AccessibleIcon.AccessibleIcon;
106
+ exports.AccessibleIconVanilla = AccessibleIcon_vanilla.AccessibleIconVanilla;
101
107
  exports.AccordionContent = Accordion.AccordionContent;
102
108
  exports.AccordionItem = Accordion.AccordionItem;
103
109
  exports.AccordionRoot = Accordion.AccordionRoot;
@@ -112,6 +118,7 @@ exports.AriaTh = AriaTable.Th;
112
118
  exports.AriaThead = AriaTable.Thead;
113
119
  exports.AriaTr = AriaTable.Tr;
114
120
  exports.Avatar = Avatar.Avatar;
121
+ exports.AvatarVanilla = Avatar_vanilla.AvatarVanilla;
115
122
  exports.Badge = Badge.Badge;
116
123
  exports.BADGE_COLORS_VANILLA = Badge_vanilla.COLORS;
117
124
  exports.BadgeVanilla = Badge_vanilla.BadgeVanilla;
@@ -120,6 +127,7 @@ exports.BlockquoteVanilla = Blockquote_vanilla.BlockquoteVanilla;
120
127
  exports.Box = Box.Box;
121
128
  exports.BoxVanilla = Box_vanilla.BoxVanilla;
122
129
  exports.Bubble = Bubble.Bubble;
130
+ exports.BubbleVanilla = Bubble_vanilla.BubbleVanilla;
123
131
  exports.Button = Button.Button;
124
132
  exports.ButtonVanilla = Button_vanilla.ButtonVanilla;
125
133
  exports.ButtonSwitchContainer = ButtonSwitch.ButtonSwitchContainer;
@@ -170,6 +178,7 @@ exports.H6 = Heading.H6;
170
178
  exports.IconButton = IconButton.IconButton;
171
179
  exports.IconButtonVanilla = IconButton_vanilla.IconButtonVanilla;
172
180
  exports.Image = Image.Image;
181
+ exports.ImageVanilla = Image_vanilla.ImageVanilla;
173
182
  exports.Input = Input.Input;
174
183
  exports.InputVanilla = Input_vanilla.InputVanilla;
175
184
  exports.Label = Label.Label;
@@ -193,6 +202,9 @@ exports.NavigationMenuViewport = NavigationMenu.NavigationMenuViewport;
193
202
  exports.NavigationTreeContainer = NavigationTreeContainer.NavigationTreeContainer;
194
203
  exports.NavigationTreeDrawer = NavigationTreeDrawer.NavigationTreeDrawer;
195
204
  exports.NavigationTreeItem = NavigationTreeItem.NavigationTreeItem;
205
+ exports.Panel = Panel.Panel;
206
+ exports.panelStyles = Panel.panelStyles;
207
+ exports.PanelVanilla = Panel_vanilla.PanelVanilla;
196
208
  exports.Paragraph = Paragraph.Paragraph;
197
209
  exports.ParagraphVanilla = Paragraph_vanilla.ParagraphVanilla;
198
210
  exports.Popover = Popover.Popover;
@@ -201,9 +213,6 @@ exports.PopoverClose = Popover.PopoverClose;
201
213
  exports.PopoverContent = Popover.PopoverContent;
202
214
  exports.PopoverPortal = Popover.PopoverPortal;
203
215
  exports.PopoverTrigger = Popover.PopoverTrigger;
204
- exports.Panel = Panel.Panel;
205
- exports.panelStyles = Panel.panelStyles;
206
- exports.PanelVanilla = Panel_vanilla.PanelVanilla;
207
216
  exports.Radio = Radio.Radio;
208
217
  exports.RadioGroup = Radio.RadioGroup;
209
218
  exports.RadioAccordionContent = RadioAccordion.RadioAccordionContent;
@@ -213,6 +222,7 @@ exports.RadioAccordionTrigger = RadioAccordion.RadioAccordionTrigger;
213
222
  exports.Select = Select.Select;
214
223
  exports.SidePanel = SidePanel.SidePanel;
215
224
  exports.Skeleton = Skeleton.Skeleton;
225
+ exports.SkeletonVanilla = Skeleton_vanilla.SkeletonVanilla;
216
226
  exports.Switch = Switch.Switch;
217
227
  exports.Caption = Table.Caption;
218
228
  exports.Table = Table.Table;
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
package/dist/index.d.ts CHANGED
@@ -59,6 +59,8 @@ import { WithPropertyValue } from '@stitches/react/types/css-util';
59
59
 
60
60
  export declare const AccessibleIcon: FC<AccessibleIconPrimitive.AccessibleIconProps>;
61
61
 
62
+ export declare const AccessibleIconVanilla: FC<AccessibleIconPrimitive.AccessibleIconProps>;
63
+
62
64
  export declare const AccordionContent: default_2.ForwardRefExoticComponent<TransformProps< {}, {
63
65
  bp1: "(min-width: 520px) and (max-width: 899px)";
64
66
  bp2: "(min-width: 900px) and (max-width: 1199px)";
@@ -3338,9 +3340,15 @@ declare type AriaTrProps = ComponentProps<typeof StyledTr> & VariantProps<typeof
3338
3340
 
3339
3341
  export { AspectRatio }
3340
3342
 
3341
- export declare const Avatar: default_2.ForwardRefExoticComponent<Omit<AvatarOwnProps, "ref"> & default_2.RefAttributes<HTMLSpanElement>>;
3343
+ export declare const Avatar: default_2.ForwardRefExoticComponent<Omit<AvatarOwnProps_2, "ref"> & default_2.RefAttributes<HTMLSpanElement>>;
3342
3344
 
3343
- declare type AvatarOwnProps = AvatarPrimitiveProps & AvatarVariants & {
3345
+ declare interface AvatarOwnProps extends AvatarRecipeVariants, CSSProps {
3346
+ alt?: string;
3347
+ src?: string;
3348
+ fallback?: default_2.ReactNode;
3349
+ }
3350
+
3351
+ declare type AvatarOwnProps_2 = AvatarPrimitiveProps & AvatarVariants & {
3344
3352
  css?: CSS_2;
3345
3353
  alt?: string;
3346
3354
  src?: string;
@@ -3349,6 +3357,69 @@ declare type AvatarOwnProps = AvatarPrimitiveProps & AvatarVariants & {
3349
3357
 
3350
3358
  declare type AvatarPrimitiveProps = Omit<default_2.ComponentProps<typeof AvatarPrimitive.Root>, 'as'>;
3351
3359
 
3360
+ declare const avatarRecipe: RuntimeFn< {
3361
+ size: {
3362
+ '1': {
3363
+ width: `var(--${string})`;
3364
+ height: `var(--${string})`;
3365
+ };
3366
+ '2': {
3367
+ width: `var(--${string})`;
3368
+ height: `var(--${string})`;
3369
+ };
3370
+ '3': {
3371
+ width: `var(--${string})`;
3372
+ height: `var(--${string})`;
3373
+ };
3374
+ '4': {
3375
+ width: `var(--${string})`;
3376
+ height: `var(--${string})`;
3377
+ };
3378
+ '5': {
3379
+ width: `var(--${string})`;
3380
+ height: `var(--${string})`;
3381
+ };
3382
+ '6': {
3383
+ width: `var(--${string})`;
3384
+ height: `var(--${string})`;
3385
+ };
3386
+ };
3387
+ variant: {
3388
+ gray: {
3389
+ backgroundColor: `var(--${string})`;
3390
+ };
3391
+ red: {
3392
+ backgroundColor: `var(--${string})`;
3393
+ };
3394
+ purple: {
3395
+ backgroundColor: `var(--${string})`;
3396
+ };
3397
+ blue: {
3398
+ backgroundColor: `var(--${string})`;
3399
+ };
3400
+ green: {
3401
+ backgroundColor: `var(--${string})`;
3402
+ };
3403
+ orange: {
3404
+ backgroundColor: `var(--${string})`;
3405
+ };
3406
+ };
3407
+ shape: {
3408
+ square: {
3409
+ borderRadius: `var(--${string})`;
3410
+ };
3411
+ circle: {
3412
+ borderRadius: "50%";
3413
+ };
3414
+ };
3415
+ }>;
3416
+
3417
+ declare type AvatarRecipeVariants = NonNullable<RecipeVariants<typeof avatarRecipe>>;
3418
+
3419
+ export declare const AvatarVanilla: default_2.ForwardRefExoticComponent<Omit<Omit<AvatarPrimitive.AvatarProps & default_2.RefAttributes<HTMLSpanElement>, "ref">, keyof AvatarOwnProps> & AvatarOwnProps & default_2.RefAttributes<HTMLSpanElement>>;
3420
+
3421
+ export declare type AvatarVanillaProps = Omit<default_2.ComponentPropsWithoutRef<typeof AvatarPrimitive.Root>, keyof AvatarOwnProps> & AvatarOwnProps;
3422
+
3352
3423
  declare type AvatarVariants = VariantProps<typeof StyledAvatar>;
3353
3424
 
3354
3425
  export declare const Badge: default_2.ForwardRefExoticComponent<Omit<BadgeProps, "ref"> & default_2.RefAttributes<HTMLButtonElement>>;
@@ -3434,12 +3505,6 @@ declare type BadgeVanillaComponent = PolymorphicComponent<'span', BadgeVanillaPr
3434
3505
 
3435
3506
  export declare type BadgeVanillaProps<C extends ElementType = 'span'> = PolymorphicComponentProps<C, BadgeOwnProps>;
3436
3507
 
3437
- declare interface BaseCardProps extends CSSProps {
3438
- elevation?: CardRecipeVariants['elevation'];
3439
- variant?: CardRecipeVariants['variant'];
3440
- active?: CardRecipeVariants['active'];
3441
- }
3442
-
3443
3508
  export declare const Blockquote: StyledComponent<StyledComponent<"span", {
3444
3509
  size?: number | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "0" | "11" | "12" | "inherit" | undefined;
3445
3510
  weight?: "light" | "regular" | "medium" | "semiBold" | "bold" | undefined;
@@ -4967,6 +5032,109 @@ backgroundClip: WithPropertyValue<"backgroundClip">;
4967
5032
  };
4968
5033
  }>>;
4969
5034
 
5035
+ declare interface BubbleOwnProps extends BubbleRecipeVariants, CSSProps {
5036
+ }
5037
+
5038
+ declare const bubbleRecipe: RuntimeFn< {
5039
+ variant: {
5040
+ red: {
5041
+ backgroundColor: `var(--${string})`;
5042
+ selectors: {
5043
+ '&::before': {
5044
+ backgroundColor: `var(--${string})`;
5045
+ };
5046
+ };
5047
+ };
5048
+ green: {
5049
+ backgroundColor: `var(--${string})`;
5050
+ selectors: {
5051
+ '&::before': {
5052
+ backgroundColor: `var(--${string})`;
5053
+ };
5054
+ };
5055
+ };
5056
+ orange: {
5057
+ backgroundColor: `var(--${string})`;
5058
+ selectors: {
5059
+ '&::before': {
5060
+ backgroundColor: `var(--${string})`;
5061
+ };
5062
+ };
5063
+ };
5064
+ blue: {
5065
+ backgroundColor: `var(--${string})`;
5066
+ selectors: {
5067
+ '&::before': {
5068
+ backgroundColor: `var(--${string})`;
5069
+ };
5070
+ };
5071
+ };
5072
+ yellow: {
5073
+ backgroundColor: `var(--${string})`;
5074
+ selectors: {
5075
+ '&::before': {
5076
+ backgroundColor: `var(--${string})`;
5077
+ };
5078
+ };
5079
+ };
5080
+ purple: {
5081
+ backgroundColor: `var(--${string})`;
5082
+ selectors: {
5083
+ '&::before': {
5084
+ backgroundColor: `var(--${string})`;
5085
+ };
5086
+ };
5087
+ };
5088
+ gray: {
5089
+ backgroundColor: `var(--${string})`;
5090
+ selectors: {
5091
+ '&::before': {
5092
+ backgroundColor: `var(--${string})`;
5093
+ };
5094
+ };
5095
+ };
5096
+ };
5097
+ size: {
5098
+ 'x-small': {
5099
+ width: `var(--${string})`;
5100
+ height: `var(--${string})`;
5101
+ };
5102
+ small: {
5103
+ width: `var(--${string})`;
5104
+ height: `var(--${string})`;
5105
+ };
5106
+ medium: {
5107
+ width: `var(--${string})`;
5108
+ height: `var(--${string})`;
5109
+ };
5110
+ large: {
5111
+ width: `var(--${string})`;
5112
+ height: `var(--${string})`;
5113
+ };
5114
+ 'x-large': {
5115
+ width: `var(--${string})`;
5116
+ height: `var(--${string})`;
5117
+ };
5118
+ };
5119
+ noAnimation: {
5120
+ true: {
5121
+ selectors: {
5122
+ '&::before': {
5123
+ content: "none";
5124
+ };
5125
+ };
5126
+ };
5127
+ };
5128
+ }>;
5129
+
5130
+ declare type BubbleRecipeVariants = NonNullable<RecipeVariants<typeof bubbleRecipe>>;
5131
+
5132
+ export declare const BubbleVanilla: BubbleVanillaComponent;
5133
+
5134
+ declare type BubbleVanillaComponent = PolymorphicComponent<'div', BubbleVanillaProps<ElementType>>;
5135
+
5136
+ export declare type BubbleVanillaProps<C extends ElementType = 'div'> = PolymorphicComponentProps<C, BubbleOwnProps>;
5137
+
4970
5138
  export declare const Button: default_2.ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & default_2.RefAttributes<HTMLButtonElement>>;
4971
5139
 
4972
5140
  declare interface ButtonOwnProps extends Omit<ButtonRecipeVariants, never>, CSSProps {
@@ -5459,9 +5627,23 @@ backgroundClip: WithPropertyValue<"backgroundClip">;
5459
5627
  };
5460
5628
  }>>;
5461
5629
 
5462
- export declare const ButtonSwitchContainerVanilla: ForwardRefExoticComponent<ButtonSwitchContainerVanillaProps & RefAttributes<HTMLDivElement>>;
5630
+ declare interface ButtonSwitchContainerOwnProps extends CSSProps {
5631
+ type?: 'single' | 'multiple';
5632
+ value?: string | string[];
5633
+ defaultValue?: string | string[];
5634
+ onValueChange?: (value: any) => void;
5635
+ disabled?: boolean;
5636
+ rovingFocus?: boolean;
5637
+ loop?: boolean;
5638
+ orientation?: 'horizontal' | 'vertical';
5639
+ dir?: 'ltr' | 'rtl';
5640
+ }
5641
+
5642
+ export declare const ButtonSwitchContainerVanilla: ButtonSwitchContainerVanillaComponent;
5643
+
5644
+ declare type ButtonSwitchContainerVanillaComponent = PolymorphicComponent<'div', ButtonSwitchContainerVanillaProps<ElementType>>;
5463
5645
 
5464
- declare type ButtonSwitchContainerVanillaProps = (ToggleGroupPrimitive.ToggleGroupSingleProps | ToggleGroupPrimitive.ToggleGroupMultipleProps) & CSSProps;
5646
+ declare type ButtonSwitchContainerVanillaProps<C extends ElementType = 'div'> = PolymorphicComponentProps<C, ButtonSwitchContainerOwnProps>;
5465
5647
 
5466
5648
  export declare const ButtonSwitchItem: StyledComponent<ForwardRefExoticComponent<ToggleGroupPrimitive.ToggleGroupItemProps & RefAttributes<HTMLButtonElement>>, {}, {
5467
5649
  bp1: "(min-width: 520px) and (max-width: 899px)";
@@ -5810,7 +5992,16 @@ backgroundClip: WithPropertyValue<"backgroundClip">;
5810
5992
  };
5811
5993
  }>>;
5812
5994
 
5813
- export declare const ButtonSwitchItemVanilla: ForwardRefExoticComponent<Omit<ToggleGroupPrimitive.ToggleGroupItemProps, "css"> & CSSProps & RefAttributes<HTMLButtonElement>>;
5995
+ declare interface ButtonSwitchItemOwnProps extends CSSProps {
5996
+ value: string;
5997
+ disabled?: boolean;
5998
+ }
5999
+
6000
+ export declare const ButtonSwitchItemVanilla: ButtonSwitchItemVanillaComponent;
6001
+
6002
+ declare type ButtonSwitchItemVanillaComponent = PolymorphicComponent<'button', ButtonSwitchItemVanillaProps<ElementType>>;
6003
+
6004
+ declare type ButtonSwitchItemVanillaProps<C extends ElementType = 'button'> = PolymorphicComponentProps<C, ButtonSwitchItemOwnProps>;
5814
6005
 
5815
6006
  export declare const ButtonVanilla: ButtonVanillaComponent;
5816
6007
 
@@ -6177,8 +6368,11 @@ backgroundClip: WithPropertyValue<"backgroundClip">;
6177
6368
 
6178
6369
  export declare const Card: default_2.ForwardRefExoticComponent<(Omit<CardVariantProps, "ref"> | Omit<InteractiveCardProps, "ref">) & default_2.RefAttributes<HTMLDivElement>>;
6179
6370
 
6180
- declare interface CardOwnProps extends BaseCardProps, React.ComponentProps<'div'> {
6181
- interactive?: false;
6371
+ declare interface CardOwnProps extends CSSProps {
6372
+ elevation?: CardRecipeVariants['elevation'];
6373
+ variant?: CardRecipeVariants['variant'];
6374
+ active?: CardRecipeVariants['active'];
6375
+ interactive?: boolean;
6182
6376
  }
6183
6377
 
6184
6378
  declare const cardRecipe: RuntimeFn< {
@@ -6228,7 +6422,11 @@ backgroundColor: `var(--${string})`;
6228
6422
 
6229
6423
  declare type CardRecipeVariants = NonNullable<RecipeVariants<typeof cardRecipe>>;
6230
6424
 
6231
- export declare const CardVanilla: ForwardRefExoticComponent<(Omit<CardOwnProps, "ref"> | Omit<InteractiveCardProps_2, "ref">) & RefAttributes<HTMLButtonElement | HTMLDivElement>>;
6425
+ export declare const CardVanilla: CardVanillaComponent;
6426
+
6427
+ declare type CardVanillaComponent = PolymorphicComponent<'div', CardVanillaProps<ElementType>>;
6428
+
6429
+ declare type CardVanillaProps<C extends ElementType = 'div'> = PolymorphicComponentProps<C, CardOwnProps>;
6232
6430
 
6233
6431
  declare type CardVariantProps = ComponentProps<typeof StyledCard> & VariantProps<typeof StyledCard> & {
6234
6432
  interactive?: false;
@@ -10818,9 +11016,11 @@ boxShadow: "0 11px 15px -7px hsla(0, 0%, 0%, 0.2), 0 9px 46px 8px hsla(0, 0%, 0%
10818
11016
 
10819
11017
  declare type ElevationRecipeVariants = NonNullable<RecipeVariants<typeof elevationRecipe>>;
10820
11018
 
10821
- export declare const ElevationVanilla: ForwardRefExoticComponent<Omit<ElevationVanillaProps, "ref"> & RefAttributes<HTMLDivElement>>;
11019
+ export declare const ElevationVanilla: ElevationVanillaComponent;
11020
+
11021
+ declare type ElevationVanillaComponent = PolymorphicComponent<'div', ElevationVanillaProps<ElementType>>;
10822
11022
 
10823
- declare type ElevationVanillaProps = React.ComponentProps<'div'> & ElevationOwnProps;
11023
+ declare type ElevationVanillaProps<C extends ElementType = 'div'> = PolymorphicComponentProps<C, ElevationOwnProps>;
10824
11024
 
10825
11025
  declare type ElevationVariant = Record<number, CSS_2>;
10826
11026
 
@@ -15127,6 +15327,12 @@ backgroundClip: WithPropertyValue<"backgroundClip">;
15127
15327
  }>>;
15128
15328
  export { Image_2 as Image }
15129
15329
 
15330
+ export declare const ImageVanilla: ImageVanillaComponent;
15331
+
15332
+ declare type ImageVanillaComponent = PolymorphicComponent<'img', ImageVanillaProps<ElementType>>;
15333
+
15334
+ export declare type ImageVanillaProps<C extends ElementType = 'img'> = PolymorphicComponentProps<C, CSSProps>;
15335
+
15130
15336
  export declare const Input: default_2.ForwardRefExoticComponent<Omit<HTMLInputProps, "size"> & InputVariants & {
15131
15337
  css?: CSS_2;
15132
15338
  } & default_2.RefAttributes<InputHandle>>;
@@ -15159,10 +15365,6 @@ declare type InteractiveCardProps = VariantProps<typeof StyledInteractiveCard> &
15159
15365
  interactive: true;
15160
15366
  };
15161
15367
 
15162
- declare interface InteractiveCardProps_2 extends BaseCardProps, Omit<React.ComponentProps<'button'>, 'color'> {
15163
- interactive: true;
15164
- }
15165
-
15166
15368
  export declare const keyframes: (style: {
15167
15369
  [offset: string]: CSS_4< {
15168
15370
  bp1: "(min-width: 520px) and (max-width: 899px)";
@@ -15978,9 +16180,11 @@ readonly whiteSpace: "nowrap";
15978
16180
 
15979
16181
  declare type LabelRecipeVariants = NonNullable<RecipeVariants<typeof labelRecipe>>;
15980
16182
 
15981
- export declare const LabelVanilla: ForwardRefExoticComponent<LabelPrimitive.LabelProps & LabelOwnProps & RefAttributes<HTMLLabelElement>>;
16183
+ export declare const LabelVanilla: LabelVanillaComponent;
15982
16184
 
15983
- export declare type LabelVanillaProps = LabelPrimitive.LabelProps & LabelOwnProps;
16185
+ declare type LabelVanillaComponent = PolymorphicComponent<'label', LabelVanillaProps<ElementType>>;
16186
+
16187
+ export declare type LabelVanillaProps<C extends ElementType = 'label'> = PolymorphicComponentProps<C, LabelOwnProps>;
15984
16188
 
15985
16189
  export declare const Li: default_2.ForwardRefExoticComponent<Omit<ListItemProps, "ref"> & default_2.RefAttributes<HTMLLIElement>>;
15986
16190
 
@@ -17984,9 +18188,11 @@ backgroundClip: WithPropertyValue<"backgroundClip">;
17984
18188
 
17985
18189
  export declare const panelStyles: CSS_2;
17986
18190
 
17987
- export declare const PanelVanilla: ForwardRefExoticComponent<Omit<PanelVanillaProps, "ref"> & RefAttributes<HTMLDivElement>>;
18191
+ export declare const PanelVanilla: PanelVanillaComponent;
18192
+
18193
+ declare type PanelVanillaComponent = PolymorphicComponent<'div', PanelVanillaProps<ElementType>>;
17988
18194
 
17989
- declare type PanelVanillaProps = React.ComponentProps<'div'> & CSSProps;
18195
+ declare type PanelVanillaProps<C extends ElementType = 'div'> = PolymorphicComponentProps<C, CSSProps>;
17990
18196
 
17991
18197
  export declare const Paragraph: default_2.ForwardRefExoticComponent<Omit<ParagraphProps, "ref"> & default_2.RefAttributes<HTMLParagraphElement>>;
17992
18198
 
@@ -19235,6 +19441,43 @@ backgroundClip: WithPropertyValue<"backgroundClip">;
19235
19441
  };
19236
19442
  }>>;
19237
19443
 
19444
+ declare const skeletonRecipe: RuntimeFn< {
19445
+ variant: {
19446
+ square: {
19447
+ borderRadius: `var(--${string})`;
19448
+ };
19449
+ circle: {
19450
+ borderRadius: `var(--${string})`;
19451
+ };
19452
+ badge: {
19453
+ borderRadius: `var(--${string})`;
19454
+ display: "inline-flex";
19455
+ };
19456
+ button: {
19457
+ borderRadius: `var(--${string})`;
19458
+ display: "inline-flex";
19459
+ };
19460
+ text: {
19461
+ selectors: {
19462
+ '&:empty::before': {
19463
+ content: "\"\\00a0\"";
19464
+ };
19465
+ };
19466
+ };
19467
+ };
19468
+ }>;
19469
+
19470
+ declare type SkeletonRecipeVariants = NonNullable<RecipeVariants<typeof skeletonRecipe>>;
19471
+
19472
+ export declare const SkeletonVanilla: SkeletonVanillaComponent;
19473
+
19474
+ declare type SkeletonVanillaComponent = PolymorphicComponent<'div', SkeletonVanillaProps<ElementType>>;
19475
+
19476
+ declare interface SkeletonVanillaOwnProps extends SkeletonRecipeVariants, CSSProps {
19477
+ }
19478
+
19479
+ export declare type SkeletonVanillaProps<C extends ElementType = 'div'> = PolymorphicComponentProps<C, SkeletonVanillaOwnProps>;
19480
+
19238
19481
  declare type SpacingToken = '$1' | '$2' | '$3' | '$4' | '$5' | '$6' | '$7' | '$8' | '$9' | string | number;
19239
19482
 
19240
19483
  declare const stitches: default_3<"", {
package/dist/index.js CHANGED
@@ -6,10 +6,12 @@ import { config, createTheme, css, darkTheme, getCssText, globalCss, keyframes,
6
6
  import { VanillaExtractThemeProvider, useVanillaExtractTheme } from "./styles/themeContext.js";
7
7
  import { darkTheme as darkTheme2, lightTheme as lightTheme2, themes } from "./styles/themes.css.js";
8
8
  import { AccessibleIcon } from "./components/AccessibleIcon/AccessibleIcon.js";
9
+ import { AccessibleIconVanilla } from "./components/AccessibleIcon/AccessibleIcon.vanilla.js";
9
10
  import { AccordionContent, AccordionItem, AccordionRoot, AccordionTrigger } from "./components/Accordion/Accordion.js";
10
11
  import { Alert } from "./components/Alert/Alert.js";
11
12
  import { Caption, Table, Tbody, Td, Tfoot, Th, Thead, Tr } from "./components/AriaTable/AriaTable.js";
12
13
  import { Avatar } from "./components/Avatar/Avatar.js";
14
+ import { AvatarVanilla } from "./components/Avatar/Avatar.vanilla.js";
13
15
  import { Badge } from "./components/Badge/Badge.js";
14
16
  import { COLORS, BadgeVanilla } from "./components/Badge/Badge.vanilla.js";
15
17
  import { Blockquote } from "./components/Blockquote/Blockquote.js";
@@ -17,6 +19,7 @@ import { BlockquoteVanilla } from "./components/Blockquote/Blockquote.vanilla.js
17
19
  import { Box } from "./components/Box/Box.js";
18
20
  import { BoxVanilla } from "./components/Box/Box.vanilla.js";
19
21
  import { Bubble } from "./components/Bubble/Bubble.js";
22
+ import { BubbleVanilla } from "./components/Bubble/Bubble.vanilla.js";
20
23
  import { Button } from "./components/Button/Button.js";
21
24
  import { ButtonVanilla } from "./components/Button/Button.vanilla.js";
22
25
  import { ButtonSwitchContainer, ButtonSwitchItem } from "./components/ButtonSwitch/ButtonSwitch.js";
@@ -40,6 +43,7 @@ import { H1, H2, H3, H4, H5, H6 } from "./components/Heading/Heading.js";
40
43
  import { IconButton } from "./components/IconButton/IconButton.js";
41
44
  import { IconButtonVanilla } from "./components/IconButton/IconButton.vanilla.js";
42
45
  import { Image } from "./components/Image/Image.js";
46
+ import { ImageVanilla } from "./components/Image/Image.vanilla.js";
43
47
  import { Input } from "./components/Input/Input.js";
44
48
  import { InputVanilla } from "./components/Input/Input.vanilla.js";
45
49
  import { Label } from "./components/Label/Label.js";
@@ -51,16 +55,17 @@ import { NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, Navigat
51
55
  import { NavigationTreeContainer } from "./components/NavigationTree/NavigationTreeContainer.js";
52
56
  import { NavigationTreeDrawer } from "./components/NavigationTree/NavigationTreeDrawer.js";
53
57
  import { NavigationTreeItem } from "./components/NavigationTree/NavigationTreeItem.js";
58
+ import { Panel, panelStyles } from "./components/Panel/Panel.js";
59
+ import { PanelVanilla } from "./components/Panel/Panel.vanilla.js";
54
60
  import { Paragraph } from "./components/Paragraph/Paragraph.js";
55
61
  import { ParagraphVanilla } from "./components/Paragraph/Paragraph.vanilla.js";
56
62
  import { Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverPortal, PopoverTrigger } from "./components/Popover/Popover.js";
57
- import { Panel, panelStyles } from "./components/Panel/Panel.js";
58
- import { PanelVanilla } from "./components/Panel/Panel.vanilla.js";
59
63
  import { Radio, RadioGroup } from "./components/Radio/Radio.js";
60
64
  import { RadioAccordionContent, RadioAccordionItem, RadioAccordionRoot, RadioAccordionTrigger } from "./components/RadioAccordion/RadioAccordion.js";
61
65
  import { Select } from "./components/Select/Select.js";
62
66
  import { SidePanel } from "./components/SidePanel/SidePanel.js";
63
67
  import { Skeleton } from "./components/Skeleton/Skeleton.js";
68
+ import { SkeletonVanilla } from "./components/Skeleton/Skeleton.vanilla.js";
64
69
  import { Switch } from "./components/Switch/Switch.js";
65
70
  import { Caption as Caption2, Table as Table2, Tbody as Tbody2, Td as Td2, Tfoot as Tfoot2, Th as Th2, Thead as Thead2, Tr as Tr2 } from "./components/Table/Table.js";
66
71
  import { TabsContainer, TabsContent, TabsList, TabsTrigger } from "./components/Tabs/Tabs.js";
@@ -73,6 +78,7 @@ import { Tooltip, TooltipContent, TooltipRoot, TooltipTrigger } from "./componen
73
78
  import { VisuallyHidden } from "./components/VisuallyHidden/VisuallyHidden.js";
74
79
  export {
75
80
  AccessibleIcon,
81
+ AccessibleIconVanilla,
76
82
  AccordionContent,
77
83
  AccordionItem,
78
84
  AccordionRoot,
@@ -88,6 +94,7 @@ export {
88
94
  Tr as AriaTr,
89
95
  AspectRatio,
90
96
  Avatar,
97
+ AvatarVanilla,
91
98
  COLORS as BADGE_COLORS_VANILLA,
92
99
  Badge,
93
100
  BadgeVanilla,
@@ -96,6 +103,7 @@ export {
96
103
  Box,
97
104
  BoxVanilla,
98
105
  Bubble,
106
+ BubbleVanilla,
99
107
  Button,
100
108
  ButtonSwitchContainer,
101
109
  ButtonSwitchContainerVanilla,
@@ -146,6 +154,7 @@ export {
146
154
  IconButton,
147
155
  IconButtonVanilla,
148
156
  Image,
157
+ ImageVanilla,
149
158
  Input,
150
159
  InputVanilla,
151
160
  Label,
@@ -189,6 +198,7 @@ export {
189
198
  Select,
190
199
  SidePanel,
191
200
  Skeleton,
201
+ SkeletonVanilla,
192
202
  StyledContent,
193
203
  Switch,
194
204
  Table2 as Table,
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -8,6 +8,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
8
8
  ;/* empty css */
9
9
  ;/* empty css */
10
10
  ;/* empty css */
11
+ ;/* empty css */
11
12
  ;/* empty css */
12
13
  ;/* empty css */
13
14
  ;/* empty css */
@@ -1 +1 @@
1
- {"version":3,"file":"themes.css.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"themes.css.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;"}
@@ -6,6 +6,7 @@
6
6
  /* empty css */
7
7
  /* empty css */
8
8
  /* empty css */
9
+ /* empty css */
9
10
  /* empty css */
10
11
  /* empty css */
11
12
  /* empty css */
@@ -1 +1 @@
1
- {"version":3,"file":"themes.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"themes.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@traefik-labs/faency",
3
3
  "description": "Traefik Labs design system",
4
- "version": "12.0.7",
4
+ "version": "12.0.8",
5
5
  "license": "Apache-2.0",
6
6
  "keywords": [
7
7
  "traefiklabs",
@@ -18,8 +18,7 @@
18
18
  ".": {
19
19
  "import": "./dist/index.js",
20
20
  "require": "./dist/index.cjs"
21
- },
22
- "./dist/style.css": "./dist/style.css"
21
+ }
23
22
  },
24
23
  "files": [
25
24
  "dist"