@traefik-labs/faency 12.0.12 → 12.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.
- package/dist/components/AriaTable/AriaTable.cjs.map +1 -1
- package/dist/components/AriaTable/AriaTable.js.map +1 -1
- package/dist/components/Avatar/Avatar.vanilla.css.cjs +3 -3
- package/dist/components/Avatar/Avatar.vanilla.css.js +1 -1
- package/dist/components/Badge/Badge.vanilla.css.cjs +3 -3
- package/dist/components/Badge/Badge.vanilla.css.js +1 -1
- package/dist/components/Blockquote/Blockquote.vanilla.css.cjs +2 -2
- package/dist/components/Blockquote/Blockquote.vanilla.css.js +1 -1
- package/dist/components/Bubble/Bubble.vanilla.css.cjs +2 -2
- package/dist/components/Bubble/Bubble.vanilla.css.js +1 -1
- package/dist/components/Button/Button.cjs +2 -1
- package/dist/components/Button/Button.cjs.map +1 -1
- package/dist/components/Button/Button.js +2 -1
- package/dist/components/Button/Button.js.map +1 -1
- package/dist/components/Button/Button.vanilla.css.cjs +2 -2
- package/dist/components/Button/Button.vanilla.css.js +1 -1
- package/dist/components/Card/Card.vanilla.css.cjs +3 -3
- package/dist/components/Card/Card.vanilla.css.js +1 -1
- package/dist/components/CodeBlock/CodeBlock.cjs +108 -0
- package/dist/components/CodeBlock/CodeBlock.cjs.map +1 -0
- package/dist/components/CodeBlock/CodeBlock.js +108 -0
- package/dist/components/CodeBlock/CodeBlock.js.map +1 -0
- package/dist/components/CodeBlock/CodeBlock.vanilla.cjs +103 -0
- package/dist/components/CodeBlock/CodeBlock.vanilla.cjs.map +1 -0
- package/dist/components/CodeBlock/CodeBlock.vanilla.css.cjs +18 -0
- package/dist/components/CodeBlock/CodeBlock.vanilla.css.cjs.map +1 -0
- package/dist/components/CodeBlock/CodeBlock.vanilla.css.js +18 -0
- package/dist/components/CodeBlock/CodeBlock.vanilla.css.js.map +1 -0
- package/dist/components/CodeBlock/CodeBlock.vanilla.js +103 -0
- package/dist/components/CodeBlock/CodeBlock.vanilla.js.map +1 -0
- package/dist/components/Container/Container.vanilla.css.cjs +2 -2
- package/dist/components/Container/Container.vanilla.css.js +1 -1
- package/dist/components/DateTimePicker/DateTimePicker.cjs +1 -1
- package/dist/components/DateTimePicker/DateTimePicker.js +1 -1
- package/dist/components/Elevation/Elevation.vanilla.css.cjs +2 -2
- package/dist/components/Elevation/Elevation.vanilla.css.js +1 -1
- package/dist/components/FaencyProvider.cjs +2 -1
- package/dist/components/FaencyProvider.cjs.map +1 -1
- package/dist/components/FaencyProvider.js +2 -1
- package/dist/components/FaencyProvider.js.map +1 -1
- package/dist/components/Flex/Flex.vanilla.css.cjs +2 -2
- package/dist/components/Flex/Flex.vanilla.css.js +1 -1
- package/dist/components/Grid/Grid.vanilla.css.cjs +2 -2
- package/dist/components/Grid/Grid.vanilla.css.js +1 -1
- package/dist/components/IconButton/IconButton.vanilla.css.cjs +2 -2
- package/dist/components/IconButton/IconButton.vanilla.css.js +1 -1
- package/dist/components/Input/Input.vanilla.css.cjs +4 -4
- package/dist/components/Input/Input.vanilla.css.js +1 -1
- package/dist/components/Label/Label.vanilla.css.cjs +2 -2
- package/dist/components/Label/Label.vanilla.css.js +1 -1
- package/dist/components/List/List.cjs +36 -7
- package/dist/components/List/List.cjs.map +1 -1
- package/dist/components/List/List.js +36 -7
- package/dist/components/List/List.js.map +1 -1
- package/dist/components/Paragraph/Paragraph.vanilla.css.cjs +2 -2
- package/dist/components/Paragraph/Paragraph.vanilla.css.js +1 -1
- package/dist/components/Skeleton/Skeleton.vanilla.css.cjs +2 -2
- package/dist/components/Skeleton/Skeleton.vanilla.css.js +1 -1
- package/dist/components/Textarea/Textarea.vanilla.css.cjs +3 -3
- package/dist/components/Textarea/Textarea.vanilla.css.js +1 -1
- package/dist/components/colorSchemeContext.cjs +45 -0
- package/dist/components/colorSchemeContext.cjs.map +1 -0
- package/dist/components/colorSchemeContext.js +45 -0
- package/dist/components/colorSchemeContext.js.map +1 -0
- package/dist/faency.css +135 -107
- package/dist/index.cjs +6 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +388 -0
- package/dist/index.js +6 -0
- package/dist/index.js.map +1 -1
- package/package.json +2 -1
- package/dist/node_modules/@vanilla-extract/recipes/dist/createRuntimeFn-62c9670f.esm.cjs +0 -109
- package/dist/node_modules/@vanilla-extract/recipes/dist/createRuntimeFn-62c9670f.esm.cjs.map +0 -1
- package/dist/node_modules/@vanilla-extract/recipes/dist/createRuntimeFn-62c9670f.esm.js +0 -109
- package/dist/node_modules/@vanilla-extract/recipes/dist/createRuntimeFn-62c9670f.esm.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ import { AspectRatio } from '@radix-ui/react-aspect-ratio';
|
|
|
5
5
|
import { AtRule } from '@stitches/react/types/css';
|
|
6
6
|
import * as AvatarPrimitive from '@radix-ui/react-avatar';
|
|
7
7
|
import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
|
|
8
|
+
import { Language as CodeBlockLanguage } from 'prism-react-renderer';
|
|
8
9
|
import { ComponentProps } from 'react';
|
|
9
10
|
import { ComponentPropsWithRef } from 'react';
|
|
10
11
|
import { ComponentType } from 'react';
|
|
@@ -23,6 +24,7 @@ import { ExoticComponent } from 'react';
|
|
|
23
24
|
import { FC } from 'react';
|
|
24
25
|
import { ForwardRefExoticComponent } from 'react';
|
|
25
26
|
import { Function as Function_2 } from '@stitches/react/types/util';
|
|
27
|
+
import { HTMLAttributes } from 'react';
|
|
26
28
|
import { IconProps } from '@radix-ui/react-icons/dist/types';
|
|
27
29
|
import { JSXElementConstructor } from 'react';
|
|
28
30
|
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
@@ -6442,12 +6444,47 @@ declare type CheckboxProps = CheckboxPrimitiveProps & CheckboxVariants & {
|
|
|
6442
6444
|
|
|
6443
6445
|
declare type CheckboxVariants = VariantProps<typeof StyledCheckbox>;
|
|
6444
6446
|
|
|
6447
|
+
export declare const CodeBlock: default_2.ForwardRefExoticComponent<Omit<CodeBlockProps, "ref"> & default_2.RefAttributes<HTMLPreElement>>;
|
|
6448
|
+
|
|
6449
|
+
export { CodeBlockLanguage }
|
|
6450
|
+
|
|
6451
|
+
export declare type CodeBlockProps = {
|
|
6452
|
+
lang: CodeBlockLanguage;
|
|
6453
|
+
code: string;
|
|
6454
|
+
copyable?: boolean;
|
|
6455
|
+
copyText?: string;
|
|
6456
|
+
copiedText?: string;
|
|
6457
|
+
copyButtonAlign?: 'top' | 'bottom';
|
|
6458
|
+
noBorder?: boolean;
|
|
6459
|
+
wrapText?: boolean;
|
|
6460
|
+
colorScheme?: 'light' | 'dark';
|
|
6461
|
+
maxHeight?: number | string;
|
|
6462
|
+
css?: CSS_2;
|
|
6463
|
+
} & Omit<ComponentProps<typeof Pre>, 'css'>;
|
|
6464
|
+
|
|
6465
|
+
export declare const CodeBlockVanilla: default_2.ForwardRefExoticComponent<CodeBlockVanillaProps & default_2.RefAttributes<HTMLPreElement>>;
|
|
6466
|
+
|
|
6467
|
+
export declare interface CodeBlockVanillaProps extends Omit<HTMLAttributes<HTMLPreElement>, 'css'>, CSSProps {
|
|
6468
|
+
lang: CodeBlockLanguage;
|
|
6469
|
+
code: string;
|
|
6470
|
+
copyable?: boolean;
|
|
6471
|
+
copyText?: string;
|
|
6472
|
+
copiedText?: string;
|
|
6473
|
+
copyButtonAlign?: 'top' | 'bottom';
|
|
6474
|
+
noBorder?: boolean;
|
|
6475
|
+
wrapText?: boolean;
|
|
6476
|
+
colorScheme?: 'light' | 'dark';
|
|
6477
|
+
maxHeight?: number | string;
|
|
6478
|
+
}
|
|
6479
|
+
|
|
6445
6480
|
declare type COLOR_VALUES = (typeof BADGE_COLORS_VANILLA)[number];
|
|
6446
6481
|
|
|
6447
6482
|
declare type ColorMap = {
|
|
6448
6483
|
[key: string]: string;
|
|
6449
6484
|
};
|
|
6450
6485
|
|
|
6486
|
+
declare type ColorScheme = 'light' | 'dark';
|
|
6487
|
+
|
|
6451
6488
|
declare type ColorVariants = Record<COLOR_VALUES, {
|
|
6452
6489
|
bc: string;
|
|
6453
6490
|
color: string;
|
|
@@ -18312,6 +18349,355 @@ export declare const PopoverTrigger: default_2.ForwardRefExoticComponent<Popover
|
|
|
18312
18349
|
|
|
18313
18350
|
export { Portal }
|
|
18314
18351
|
|
|
18352
|
+
declare const Pre: StyledComponent<"pre", {
|
|
18353
|
+
noBorder?: boolean | "true" | undefined;
|
|
18354
|
+
}, {
|
|
18355
|
+
bp1: "(min-width: 520px) and (max-width: 899px)";
|
|
18356
|
+
bp2: "(min-width: 900px) and (max-width: 1199px)";
|
|
18357
|
+
bp3: "(min-width: 1200px) and (max-width: 1799px)";
|
|
18358
|
+
bp4: "(min-width: 1800px)";
|
|
18359
|
+
motion: "(prefers-reduced-motion)";
|
|
18360
|
+
hover: "(any-hover: hover)";
|
|
18361
|
+
dark: "(prefers-color-scheme: dark)";
|
|
18362
|
+
light: "(prefers-color-scheme: light)";
|
|
18363
|
+
}, CSS_4< {
|
|
18364
|
+
bp1: "(min-width: 520px) and (max-width: 899px)";
|
|
18365
|
+
bp2: "(min-width: 900px) and (max-width: 1199px)";
|
|
18366
|
+
bp3: "(min-width: 1200px) and (max-width: 1799px)";
|
|
18367
|
+
bp4: "(min-width: 1800px)";
|
|
18368
|
+
motion: "(prefers-reduced-motion)";
|
|
18369
|
+
hover: "(any-hover: hover)";
|
|
18370
|
+
dark: "(prefers-color-scheme: dark)";
|
|
18371
|
+
light: "(prefers-color-scheme: light)";
|
|
18372
|
+
}, {
|
|
18373
|
+
colors: {
|
|
18374
|
+
sidePanelBackground: Property;
|
|
18375
|
+
headingDefault: Property;
|
|
18376
|
+
textareaBg: Property;
|
|
18377
|
+
textareaBorder: Property;
|
|
18378
|
+
textareaFocusBg: Property;
|
|
18379
|
+
textareaFocusBorder: Property;
|
|
18380
|
+
textareaHoverBg: Property;
|
|
18381
|
+
textareaText: Property;
|
|
18382
|
+
textareaPlaceholder: Property;
|
|
18383
|
+
textareaDisabledText: Property;
|
|
18384
|
+
textareaInvalidBorder: Property;
|
|
18385
|
+
tooltipContentBg: Property;
|
|
18386
|
+
tooltipText: Property;
|
|
18387
|
+
iconButtonBackground: Property;
|
|
18388
|
+
iconButtonHoverBorder: Property;
|
|
18389
|
+
iconButtonHoverBackground: Property;
|
|
18390
|
+
iconButtonFocusBorder: Property;
|
|
18391
|
+
dialogBackground: Property;
|
|
18392
|
+
skeletonBackground: Property;
|
|
18393
|
+
skeletonAnimation: Property;
|
|
18394
|
+
selectBg: Property;
|
|
18395
|
+
selectBorder: Property;
|
|
18396
|
+
selectFocusBg: Property;
|
|
18397
|
+
selectFocusBorder: Property;
|
|
18398
|
+
selectHoverBg: Property;
|
|
18399
|
+
selectText: Property;
|
|
18400
|
+
selectPlaceholder: Property;
|
|
18401
|
+
selectDisabledText: Property;
|
|
18402
|
+
selectInvalidBorder: Property;
|
|
18403
|
+
textSubtle: Property;
|
|
18404
|
+
textDefault: Property;
|
|
18405
|
+
textContrast: Property;
|
|
18406
|
+
textInvalid: Property;
|
|
18407
|
+
textRed: Property;
|
|
18408
|
+
tableText: Property;
|
|
18409
|
+
tableSubtleText: Property;
|
|
18410
|
+
tableHoverBackground: Property;
|
|
18411
|
+
tableActiveText: Property;
|
|
18412
|
+
tableActiveHoverText: Property;
|
|
18413
|
+
tableHeaderLayerBackground: Property;
|
|
18414
|
+
tableFooterLayerBackground: Property;
|
|
18415
|
+
tableHeaderText: Property;
|
|
18416
|
+
tableFooterText: Property;
|
|
18417
|
+
tableHoverText: Property;
|
|
18418
|
+
tableRowBorder: Property;
|
|
18419
|
+
inputBg: Property;
|
|
18420
|
+
inputBorder: Property;
|
|
18421
|
+
inputFocusBg: Property;
|
|
18422
|
+
inputFocusBorder: Property;
|
|
18423
|
+
inputHoverBg: Property;
|
|
18424
|
+
inputText: Property;
|
|
18425
|
+
inputPlaceholder: Property;
|
|
18426
|
+
inputDisabledText: Property;
|
|
18427
|
+
inputInvalidBorder: Property;
|
|
18428
|
+
radioBorder: Property;
|
|
18429
|
+
radioHoverBg: Property;
|
|
18430
|
+
radioHoverBorder: Property;
|
|
18431
|
+
radioFocusBorder: Property;
|
|
18432
|
+
radioDisabledBg: Property;
|
|
18433
|
+
radioDisabledBorder: Property;
|
|
18434
|
+
radioIndicatorDisabledBg: Property;
|
|
18435
|
+
listItemHoverBg: Property;
|
|
18436
|
+
listItemActiveBg: Property;
|
|
18437
|
+
listItemFocusBorder: Property;
|
|
18438
|
+
linkSubtle: Property;
|
|
18439
|
+
linkBlueTextDecoration: Property;
|
|
18440
|
+
linkBlueHoverTextDecoration: Property;
|
|
18441
|
+
linkBlueFocusOutline: Property;
|
|
18442
|
+
linkContrast: Property;
|
|
18443
|
+
linkContrastTextDecoration: Property;
|
|
18444
|
+
linkContrastHoverTextDecoration: Property;
|
|
18445
|
+
linkContrastFocusOutline: Property;
|
|
18446
|
+
linkSubtleTextDecoration: Property;
|
|
18447
|
+
linkSubtleHoverTextDecoration: Property;
|
|
18448
|
+
linkSubtleFocusOutline: Property;
|
|
18449
|
+
linkPrimary: Property;
|
|
18450
|
+
linkPrimaryTextDecoration: Property;
|
|
18451
|
+
linkPrimaryHoverTextDecoration: Property;
|
|
18452
|
+
linkPrimaryFocusOutline: Property;
|
|
18453
|
+
checkboxIcon: Property;
|
|
18454
|
+
checkboxBg: Property;
|
|
18455
|
+
checkboxCheckedBg: Property;
|
|
18456
|
+
checkboxBorder: Property;
|
|
18457
|
+
checkboxCheckedIcon: Property;
|
|
18458
|
+
checkboxCheckedHoverBg: Property;
|
|
18459
|
+
checkboxHoverBg: Property;
|
|
18460
|
+
checkboxHoverBorder: Property;
|
|
18461
|
+
checkboxFocusBorder: Property;
|
|
18462
|
+
checkboxDisabledBg: Property;
|
|
18463
|
+
checkboxDisabledBorder: Property;
|
|
18464
|
+
checkboxIndicatorDisabledBg: Property;
|
|
18465
|
+
cardBackground: Property;
|
|
18466
|
+
cardBorder: Property;
|
|
18467
|
+
cardShadow: Property;
|
|
18468
|
+
cardHoverBackground: Property;
|
|
18469
|
+
cardHoverBorder: Property;
|
|
18470
|
+
cardActiveBackground: Property;
|
|
18471
|
+
cardActiveBorder: Property;
|
|
18472
|
+
cardGhostBackground: Property;
|
|
18473
|
+
innerCardBgColor: Property;
|
|
18474
|
+
switchBackground: Property;
|
|
18475
|
+
switchActiveBackground: Property;
|
|
18476
|
+
switchFocusBorder: Property;
|
|
18477
|
+
switchThumb: Property;
|
|
18478
|
+
buttonSwitchContainerBg: Property;
|
|
18479
|
+
buttonSwitchActiveBg: Property;
|
|
18480
|
+
buttonSwitchOffBg: Property;
|
|
18481
|
+
buttonSwitchOffColor: Property;
|
|
18482
|
+
buttonSwitchActiveColor: Property;
|
|
18483
|
+
buttonPrimaryBg: Property;
|
|
18484
|
+
buttonPrimaryText: Property;
|
|
18485
|
+
buttonPrimaryFocusBorder: Property;
|
|
18486
|
+
buttonPrimaryGhostHoverText: Property;
|
|
18487
|
+
buttonSecondaryBg: Property;
|
|
18488
|
+
buttonSecondaryText: Property;
|
|
18489
|
+
buttonSecondaryBorder: Property;
|
|
18490
|
+
buttonSecondaryFocusBorder: Property;
|
|
18491
|
+
buttonRedBg: Property;
|
|
18492
|
+
buttonRedText: Property;
|
|
18493
|
+
buttonRedHoverText: Property;
|
|
18494
|
+
buttonRedFocusBg: Property;
|
|
18495
|
+
badgeInteractiveBackgroundActive: Property;
|
|
18496
|
+
badgeInteractiveBackgroundHover: Property;
|
|
18497
|
+
accordionBackground: Property;
|
|
18498
|
+
accordionHoverShadow: Property;
|
|
18499
|
+
accordionActiveShadow: Property;
|
|
18500
|
+
accordionText: Property;
|
|
18501
|
+
accordionLabel: Property;
|
|
18502
|
+
};
|
|
18503
|
+
fonts: {
|
|
18504
|
+
rubik: "Rubik, -apple-system, system-ui, \"Segoe UI\", \"Helvetica Neue\", helvetica, arial, sans-serif";
|
|
18505
|
+
};
|
|
18506
|
+
space: {
|
|
18507
|
+
1: "4px";
|
|
18508
|
+
2: "8px";
|
|
18509
|
+
3: "16px";
|
|
18510
|
+
4: "20px";
|
|
18511
|
+
5: "24px";
|
|
18512
|
+
6: "32px";
|
|
18513
|
+
7: "48px";
|
|
18514
|
+
8: "64px";
|
|
18515
|
+
9: "80px";
|
|
18516
|
+
};
|
|
18517
|
+
sizes: {
|
|
18518
|
+
1: "4px";
|
|
18519
|
+
2: "8px";
|
|
18520
|
+
3: "16px";
|
|
18521
|
+
4: "20px";
|
|
18522
|
+
5: "24px";
|
|
18523
|
+
6: "32px";
|
|
18524
|
+
7: "40px";
|
|
18525
|
+
8: "48px";
|
|
18526
|
+
9: "64px";
|
|
18527
|
+
10: "80px";
|
|
18528
|
+
};
|
|
18529
|
+
fontSizes: {
|
|
18530
|
+
0: "11px";
|
|
18531
|
+
1: "12px";
|
|
18532
|
+
2: "13px";
|
|
18533
|
+
3: "14px";
|
|
18534
|
+
4: "16px";
|
|
18535
|
+
5: "18px";
|
|
18536
|
+
6: "20px";
|
|
18537
|
+
7: "22px";
|
|
18538
|
+
8: "24px";
|
|
18539
|
+
9: "26px";
|
|
18540
|
+
10: "28px";
|
|
18541
|
+
11: "32px";
|
|
18542
|
+
12: "38px";
|
|
18543
|
+
};
|
|
18544
|
+
fontWeights: {
|
|
18545
|
+
light: 300;
|
|
18546
|
+
regular: 400;
|
|
18547
|
+
medium: 500;
|
|
18548
|
+
semiBold: 600;
|
|
18549
|
+
bold: 700;
|
|
18550
|
+
};
|
|
18551
|
+
radii: {
|
|
18552
|
+
1: "4px";
|
|
18553
|
+
2: "6px";
|
|
18554
|
+
3: "8px";
|
|
18555
|
+
4: "12px";
|
|
18556
|
+
round: "50%";
|
|
18557
|
+
pill: "9999px";
|
|
18558
|
+
};
|
|
18559
|
+
zIndices: {
|
|
18560
|
+
1: "100";
|
|
18561
|
+
2: "200";
|
|
18562
|
+
3: "300";
|
|
18563
|
+
4: "400";
|
|
18564
|
+
max: "999";
|
|
18565
|
+
};
|
|
18566
|
+
}, DefaultThemeMap, {
|
|
18567
|
+
p: (value: PropertyValue<"padding">) => {
|
|
18568
|
+
padding: WithPropertyValue<"padding">;
|
|
18569
|
+
};
|
|
18570
|
+
pt: (value: PropertyValue<"paddingTop">) => {
|
|
18571
|
+
paddingTop: WithPropertyValue<"paddingTop">;
|
|
18572
|
+
};
|
|
18573
|
+
pr: (value: PropertyValue<"paddingRight">) => {
|
|
18574
|
+
paddingRight: WithPropertyValue<"paddingRight">;
|
|
18575
|
+
};
|
|
18576
|
+
pb: (value: PropertyValue<"paddingBottom">) => {
|
|
18577
|
+
paddingBottom: WithPropertyValue<"paddingBottom">;
|
|
18578
|
+
};
|
|
18579
|
+
pl: (value: PropertyValue<"paddingLeft">) => {
|
|
18580
|
+
paddingLeft: WithPropertyValue<"paddingLeft">;
|
|
18581
|
+
};
|
|
18582
|
+
px: (value: PropertyValue<"paddingLeft">) => {
|
|
18583
|
+
paddingLeft: WithPropertyValue<"paddingLeft">;
|
|
18584
|
+
paddingRight: WithPropertyValue<"paddingLeft">;
|
|
18585
|
+
};
|
|
18586
|
+
py: (value: PropertyValue<"paddingTop">) => {
|
|
18587
|
+
paddingTop: WithPropertyValue<"paddingTop">;
|
|
18588
|
+
paddingBottom: WithPropertyValue<"paddingTop">;
|
|
18589
|
+
};
|
|
18590
|
+
m: (value: PropertyValue<"margin">) => {
|
|
18591
|
+
margin: WithPropertyValue<"margin">;
|
|
18592
|
+
};
|
|
18593
|
+
mt: (value: PropertyValue<"marginTop">) => {
|
|
18594
|
+
marginTop: WithPropertyValue<"marginTop">;
|
|
18595
|
+
};
|
|
18596
|
+
mr: (value: PropertyValue<"marginRight">) => {
|
|
18597
|
+
marginRight: WithPropertyValue<"marginRight">;
|
|
18598
|
+
};
|
|
18599
|
+
mb: (value: PropertyValue<"marginBottom">) => {
|
|
18600
|
+
marginBottom: WithPropertyValue<"marginBottom">;
|
|
18601
|
+
};
|
|
18602
|
+
ml: (value: PropertyValue<"marginLeft">) => {
|
|
18603
|
+
marginLeft: WithPropertyValue<"marginLeft">;
|
|
18604
|
+
};
|
|
18605
|
+
mx: (value: PropertyValue<"marginLeft">) => {
|
|
18606
|
+
marginLeft: WithPropertyValue<"marginLeft">;
|
|
18607
|
+
marginRight: WithPropertyValue<"marginLeft">;
|
|
18608
|
+
};
|
|
18609
|
+
my: (value: PropertyValue<"marginTop">) => {
|
|
18610
|
+
marginTop: WithPropertyValue<"marginTop">;
|
|
18611
|
+
marginBottom: WithPropertyValue<"marginTop">;
|
|
18612
|
+
};
|
|
18613
|
+
ta: (value: PropertyValue<"textAlign">) => {
|
|
18614
|
+
textAlign: WithPropertyValue<"textAlign">;
|
|
18615
|
+
};
|
|
18616
|
+
fd: (value: PropertyValue<"flexDirection">) => {
|
|
18617
|
+
flexDirection: WithPropertyValue<"flexDirection">;
|
|
18618
|
+
};
|
|
18619
|
+
fw: (value: PropertyValue<"flexWrap">) => {
|
|
18620
|
+
flexWrap: WithPropertyValue<"flexWrap">;
|
|
18621
|
+
};
|
|
18622
|
+
ai: (value: PropertyValue<"alignItems">) => {
|
|
18623
|
+
alignItems: WithPropertyValue<"alignItems">;
|
|
18624
|
+
};
|
|
18625
|
+
ac: (value: PropertyValue<"alignContent">) => {
|
|
18626
|
+
alignContent: WithPropertyValue<"alignContent">;
|
|
18627
|
+
};
|
|
18628
|
+
jc: (value: PropertyValue<"justifyContent">) => {
|
|
18629
|
+
justifyContent: WithPropertyValue<"justifyContent">;
|
|
18630
|
+
};
|
|
18631
|
+
as: (value: PropertyValue<"alignSelf">) => {
|
|
18632
|
+
alignSelf: WithPropertyValue<"alignSelf">;
|
|
18633
|
+
};
|
|
18634
|
+
fg: (value: PropertyValue<"flexGrow">) => {
|
|
18635
|
+
flexGrow: WithPropertyValue<"flexGrow">;
|
|
18636
|
+
};
|
|
18637
|
+
fs: (value: PropertyValue<"flexShrink">) => {
|
|
18638
|
+
flexShrink: WithPropertyValue<"flexShrink">;
|
|
18639
|
+
};
|
|
18640
|
+
fb: (value: PropertyValue<"flexBasis">) => {
|
|
18641
|
+
flexBasis: WithPropertyValue<"flexBasis">;
|
|
18642
|
+
};
|
|
18643
|
+
bc: (value: PropertyValue<"backgroundColor">) => {
|
|
18644
|
+
backgroundColor: WithPropertyValue<"backgroundColor">;
|
|
18645
|
+
};
|
|
18646
|
+
br: (value: PropertyValue<"borderRadius">) => {
|
|
18647
|
+
borderRadius: WithPropertyValue<"borderRadius">;
|
|
18648
|
+
};
|
|
18649
|
+
btrr: (value: PropertyValue<"borderTopRightRadius">) => {
|
|
18650
|
+
borderTopRightRadius: WithPropertyValue<"borderTopRightRadius">;
|
|
18651
|
+
};
|
|
18652
|
+
bbrr: (value: PropertyValue<"borderBottomRightRadius">) => {
|
|
18653
|
+
borderBottomRightRadius: WithPropertyValue<"borderBottomRightRadius">;
|
|
18654
|
+
};
|
|
18655
|
+
bblr: (value: PropertyValue<"borderBottomLeftRadius">) => {
|
|
18656
|
+
borderBottomLeftRadius: WithPropertyValue<"borderBottomLeftRadius">;
|
|
18657
|
+
};
|
|
18658
|
+
btlr: (value: PropertyValue<"borderTopLeftRadius">) => {
|
|
18659
|
+
borderTopLeftRadius: WithPropertyValue<"borderTopLeftRadius">;
|
|
18660
|
+
};
|
|
18661
|
+
bs: (value: PropertyValue<"boxShadow">) => {
|
|
18662
|
+
boxShadow: WithPropertyValue<"boxShadow">;
|
|
18663
|
+
};
|
|
18664
|
+
c: (value: PropertyValue<"color">) => {
|
|
18665
|
+
color: WithPropertyValue<"color">;
|
|
18666
|
+
};
|
|
18667
|
+
lh: (value: PropertyValue<"lineHeight">) => {
|
|
18668
|
+
lineHeight: WithPropertyValue<"lineHeight">;
|
|
18669
|
+
};
|
|
18670
|
+
ox: (value: PropertyValue<"overflowX">) => {
|
|
18671
|
+
overflowX: WithPropertyValue<"overflowX">;
|
|
18672
|
+
};
|
|
18673
|
+
oy: (value: PropertyValue<"overflowY">) => {
|
|
18674
|
+
overflowY: WithPropertyValue<"overflowY">;
|
|
18675
|
+
};
|
|
18676
|
+
pe: (value: PropertyValue<"pointerEvents">) => {
|
|
18677
|
+
pointerEvents: WithPropertyValue<"pointerEvents">;
|
|
18678
|
+
};
|
|
18679
|
+
us: (value: PropertyValue<"userSelect">) => {
|
|
18680
|
+
WebkitUserSelect: WithPropertyValue<"userSelect">;
|
|
18681
|
+
userSelect: WithPropertyValue<"userSelect">;
|
|
18682
|
+
};
|
|
18683
|
+
userSelect: (value: PropertyValue<"userSelect">) => {
|
|
18684
|
+
WebkitUserSelect: WithPropertyValue<"userSelect">;
|
|
18685
|
+
userSelect: WithPropertyValue<"userSelect">;
|
|
18686
|
+
};
|
|
18687
|
+
size: (value: PropertyValue<"width">) => {
|
|
18688
|
+
width: WithPropertyValue<"width">;
|
|
18689
|
+
height: WithPropertyValue<"width">;
|
|
18690
|
+
};
|
|
18691
|
+
appearance: (value: PropertyValue<"appearance">) => {
|
|
18692
|
+
WebkitAppearance: WithPropertyValue<"appearance">;
|
|
18693
|
+
appearance: WithPropertyValue<"appearance">;
|
|
18694
|
+
};
|
|
18695
|
+
backgroundClip: (value: PropertyValue<"backgroundClip">) => {
|
|
18696
|
+
WebkitBackgroundClip: WithPropertyValue<"backgroundClip">;
|
|
18697
|
+
backgroundClip: WithPropertyValue<"backgroundClip">;
|
|
18698
|
+
};
|
|
18699
|
+
}>>;
|
|
18700
|
+
|
|
18315
18701
|
export declare type PrimaryColor = 'neon' | 'blue' | 'orange' | 'red' | 'green' | 'deepBlue' | 'grayBlue';
|
|
18316
18702
|
|
|
18317
18703
|
declare type PrimaryColor_2 = 'neon' | 'blue' | 'orange' | 'red' | 'green' | 'deepBlue' | 'grayBlue';
|
|
@@ -33842,6 +34228,8 @@ declare type TrProps = ComponentProps<typeof StyledTr_2> & VariantProps<typeof S
|
|
|
33842
34228
|
|
|
33843
34229
|
export declare const Ul: default_2.ForwardRefExoticComponent<Omit<ListProps, "ref"> & default_2.RefAttributes<HTMLUListElement>>;
|
|
33844
34230
|
|
|
34231
|
+
export declare function useColorScheme(): ColorScheme;
|
|
34232
|
+
|
|
33845
34233
|
export declare function useVanillaExtractTheme(): ThemeContextValue;
|
|
33846
34234
|
|
|
33847
34235
|
export declare const vanillaDarkTheme: string;
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { FaencyProvider } from "./components/FaencyProvider.js";
|
|
2
|
+
import { useColorScheme } from "./components/colorSchemeContext.js";
|
|
2
3
|
import { Overlay } from "./components/Overlay.js";
|
|
3
4
|
import { AspectRatio } from "@radix-ui/react-aspect-ratio";
|
|
4
5
|
import { Portal } from "@radix-ui/react-portal";
|
|
@@ -18,6 +19,8 @@ import { Blockquote } from "./components/Blockquote/Blockquote.js";
|
|
|
18
19
|
import { BlockquoteVanilla } from "./components/Blockquote/Blockquote.vanilla.js";
|
|
19
20
|
import { Box } from "./components/Box/Box.js";
|
|
20
21
|
import { BoxVanilla } from "./components/Box/Box.vanilla.js";
|
|
22
|
+
import { CodeBlock } from "./components/CodeBlock/CodeBlock.js";
|
|
23
|
+
import { CodeBlockVanilla } from "./components/CodeBlock/CodeBlock.vanilla.js";
|
|
21
24
|
import { Bubble } from "./components/Bubble/Bubble.js";
|
|
22
25
|
import { BubbleVanilla } from "./components/Bubble/Bubble.vanilla.js";
|
|
23
26
|
import { Button } from "./components/Button/Button.js";
|
|
@@ -114,6 +117,8 @@ export {
|
|
|
114
117
|
Card,
|
|
115
118
|
CardVanilla,
|
|
116
119
|
Checkbox,
|
|
120
|
+
CodeBlock,
|
|
121
|
+
CodeBlockVanilla,
|
|
117
122
|
Container,
|
|
118
123
|
ContainerVanilla,
|
|
119
124
|
DateTimePicker,
|
|
@@ -235,6 +240,7 @@ export {
|
|
|
235
240
|
lightTheme,
|
|
236
241
|
panelStyles,
|
|
237
242
|
styled,
|
|
243
|
+
useColorScheme,
|
|
238
244
|
useVanillaExtractTheme,
|
|
239
245
|
darkTheme2 as vanillaDarkTheme,
|
|
240
246
|
lightTheme2 as vanillaLightTheme,
|
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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
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
|
|
4
|
+
"version": "12.1.0",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"traefiklabs",
|
|
@@ -116,6 +116,7 @@
|
|
|
116
116
|
"np": "^8.0.4",
|
|
117
117
|
"patch-package": "^8.0.0",
|
|
118
118
|
"prettier": "^3.6.2",
|
|
119
|
+
"prism-react-renderer": "2.4.1",
|
|
119
120
|
"react": "18.2.0",
|
|
120
121
|
"react-dom": "18.2.0",
|
|
121
122
|
"semantic-release": "^25.0.3",
|
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
function toPrimitive(t, r) {
|
|
4
|
-
if ("object" != typeof t || !t) return t;
|
|
5
|
-
var e = t[Symbol.toPrimitive];
|
|
6
|
-
if (void 0 !== e) {
|
|
7
|
-
var i = e.call(t, r);
|
|
8
|
-
if ("object" != typeof i) return i;
|
|
9
|
-
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
10
|
-
}
|
|
11
|
-
return ("string" === r ? String : Number)(t);
|
|
12
|
-
}
|
|
13
|
-
function toPropertyKey(t) {
|
|
14
|
-
var i = toPrimitive(t, "string");
|
|
15
|
-
return "symbol" == typeof i ? i : String(i);
|
|
16
|
-
}
|
|
17
|
-
function _defineProperty(obj, key, value) {
|
|
18
|
-
key = toPropertyKey(key);
|
|
19
|
-
if (key in obj) {
|
|
20
|
-
Object.defineProperty(obj, key, {
|
|
21
|
-
value,
|
|
22
|
-
enumerable: true,
|
|
23
|
-
configurable: true,
|
|
24
|
-
writable: true
|
|
25
|
-
});
|
|
26
|
-
} else {
|
|
27
|
-
obj[key] = value;
|
|
28
|
-
}
|
|
29
|
-
return obj;
|
|
30
|
-
}
|
|
31
|
-
function ownKeys(e, r) {
|
|
32
|
-
var t = Object.keys(e);
|
|
33
|
-
if (Object.getOwnPropertySymbols) {
|
|
34
|
-
var o = Object.getOwnPropertySymbols(e);
|
|
35
|
-
r && (o = o.filter(function(r2) {
|
|
36
|
-
return Object.getOwnPropertyDescriptor(e, r2).enumerable;
|
|
37
|
-
})), t.push.apply(t, o);
|
|
38
|
-
}
|
|
39
|
-
return t;
|
|
40
|
-
}
|
|
41
|
-
function _objectSpread2(e) {
|
|
42
|
-
for (var r = 1; r < arguments.length; r++) {
|
|
43
|
-
var t = null != arguments[r] ? arguments[r] : {};
|
|
44
|
-
r % 2 ? ownKeys(Object(t), true).forEach(function(r2) {
|
|
45
|
-
_defineProperty(e, r2, t[r2]);
|
|
46
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function(r2) {
|
|
47
|
-
Object.defineProperty(e, r2, Object.getOwnPropertyDescriptor(t, r2));
|
|
48
|
-
});
|
|
49
|
-
}
|
|
50
|
-
return e;
|
|
51
|
-
}
|
|
52
|
-
function mapValues(input, fn) {
|
|
53
|
-
var result = {};
|
|
54
|
-
for (var _key in input) {
|
|
55
|
-
result[_key] = fn(input[_key], _key);
|
|
56
|
-
}
|
|
57
|
-
return result;
|
|
58
|
-
}
|
|
59
|
-
var shouldApplyCompound = (compoundCheck, selections, defaultVariants) => {
|
|
60
|
-
for (var key of Object.keys(compoundCheck)) {
|
|
61
|
-
var _selections$key;
|
|
62
|
-
if (compoundCheck[key] !== ((_selections$key = selections[key]) !== null && _selections$key !== void 0 ? _selections$key : defaultVariants[key])) {
|
|
63
|
-
return false;
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
return true;
|
|
67
|
-
};
|
|
68
|
-
var createRuntimeFn = (config) => {
|
|
69
|
-
var runtimeFn = (options) => {
|
|
70
|
-
var className = config.defaultClassName;
|
|
71
|
-
var selections = _objectSpread2(_objectSpread2({}, config.defaultVariants), options);
|
|
72
|
-
for (var variantName in selections) {
|
|
73
|
-
var _selections$variantNa;
|
|
74
|
-
var variantSelection = (_selections$variantNa = selections[variantName]) !== null && _selections$variantNa !== void 0 ? _selections$variantNa : config.defaultVariants[variantName];
|
|
75
|
-
if (variantSelection != null) {
|
|
76
|
-
var selection = variantSelection;
|
|
77
|
-
if (typeof selection === "boolean") {
|
|
78
|
-
selection = selection === true ? "true" : "false";
|
|
79
|
-
}
|
|
80
|
-
var selectionClassName = (
|
|
81
|
-
// @ts-expect-error
|
|
82
|
-
config.variantClassNames[variantName][selection]
|
|
83
|
-
);
|
|
84
|
-
if (selectionClassName) {
|
|
85
|
-
className += " " + selectionClassName;
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
for (var [compoundCheck, compoundClassName] of config.compoundVariants) {
|
|
90
|
-
if (shouldApplyCompound(compoundCheck, selections, config.defaultVariants)) {
|
|
91
|
-
className += " " + compoundClassName;
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
return className;
|
|
95
|
-
};
|
|
96
|
-
runtimeFn.variants = () => Object.keys(config.variantClassNames);
|
|
97
|
-
runtimeFn.classNames = {
|
|
98
|
-
get base() {
|
|
99
|
-
return config.defaultClassName.split(" ")[0];
|
|
100
|
-
},
|
|
101
|
-
get variants() {
|
|
102
|
-
return mapValues(config.variantClassNames, (classNames) => mapValues(classNames, (className) => className.split(" ")[0]));
|
|
103
|
-
}
|
|
104
|
-
};
|
|
105
|
-
return runtimeFn;
|
|
106
|
-
};
|
|
107
|
-
exports.c = createRuntimeFn;
|
|
108
|
-
exports.m = mapValues;
|
|
109
|
-
//# sourceMappingURL=createRuntimeFn-62c9670f.esm.cjs.map
|
package/dist/node_modules/@vanilla-extract/recipes/dist/createRuntimeFn-62c9670f.esm.cjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"createRuntimeFn-62c9670f.esm.cjs","sources":["../../../../../node_modules/@vanilla-extract/recipes/dist/createRuntimeFn-62c9670f.esm.js"],"sourcesContent":["function toPrimitive(t, r) {\n if (\"object\" != typeof t || !t) return t;\n var e = t[Symbol.toPrimitive];\n if (void 0 !== e) {\n var i = e.call(t, r || \"default\");\n if (\"object\" != typeof i) return i;\n throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n }\n return (\"string\" === r ? String : Number)(t);\n}\n\nfunction toPropertyKey(t) {\n var i = toPrimitive(t, \"string\");\n return \"symbol\" == typeof i ? i : String(i);\n}\n\nfunction _defineProperty(obj, key, value) {\n key = toPropertyKey(key);\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n}\n\nfunction ownKeys(e, r) {\n var t = Object.keys(e);\n if (Object.getOwnPropertySymbols) {\n var o = Object.getOwnPropertySymbols(e);\n r && (o = o.filter(function (r) {\n return Object.getOwnPropertyDescriptor(e, r).enumerable;\n })), t.push.apply(t, o);\n }\n return t;\n}\nfunction _objectSpread2(e) {\n for (var r = 1; r < arguments.length; r++) {\n var t = null != arguments[r] ? arguments[r] : {};\n r % 2 ? ownKeys(Object(t), !0).forEach(function (r) {\n _defineProperty(e, r, t[r]);\n }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) {\n Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));\n });\n }\n return e;\n}\n\nfunction mapValues(input, fn) {\n var result = {};\n for (var _key in input) {\n result[_key] = fn(input[_key], _key);\n }\n return result;\n}\n\nvar shouldApplyCompound = (compoundCheck, selections, defaultVariants) => {\n for (var key of Object.keys(compoundCheck)) {\n var _selections$key;\n if (compoundCheck[key] !== ((_selections$key = selections[key]) !== null && _selections$key !== void 0 ? _selections$key : defaultVariants[key])) {\n return false;\n }\n }\n return true;\n};\nvar createRuntimeFn = config => {\n var runtimeFn = options => {\n var className = config.defaultClassName;\n var selections = _objectSpread2(_objectSpread2({}, config.defaultVariants), options);\n for (var variantName in selections) {\n var _selections$variantNa;\n var variantSelection = (_selections$variantNa = selections[variantName]) !== null && _selections$variantNa !== void 0 ? _selections$variantNa : config.defaultVariants[variantName];\n if (variantSelection != null) {\n var selection = variantSelection;\n if (typeof selection === 'boolean') {\n // @ts-expect-error\n selection = selection === true ? 'true' : 'false';\n }\n var selectionClassName =\n // @ts-expect-error\n config.variantClassNames[variantName][selection];\n if (selectionClassName) {\n className += ' ' + selectionClassName;\n }\n }\n }\n for (var [compoundCheck, compoundClassName] of config.compoundVariants) {\n if (shouldApplyCompound(compoundCheck, selections, config.defaultVariants)) {\n className += ' ' + compoundClassName;\n }\n }\n return className;\n };\n runtimeFn.variants = () => Object.keys(config.variantClassNames);\n runtimeFn.classNames = {\n get base() {\n return config.defaultClassName.split(' ')[0];\n },\n get variants() {\n return mapValues(config.variantClassNames, classNames => mapValues(classNames, className => className.split(' ')[0]));\n }\n };\n return runtimeFn;\n};\n\nexport { createRuntimeFn as c, mapValues as m };\n"],"names":["r"],"mappings":";;AAAA,SAAS,YAAY,GAAG,GAAG;AACzB,MAAI,YAAY,OAAO,KAAK,CAAC,EAAG,QAAO;AACvC,MAAI,IAAI,EAAE,OAAO,WAAW;AAC5B,MAAI,WAAW,GAAG;AAChB,QAAI,IAAI,EAAE,KAAK,GAAG,CAAc;AAChC,QAAI,YAAY,OAAO,EAAG,QAAO;AACjC,UAAM,IAAI,UAAU,8CAA8C;AAAA,EACpE;AACA,UAAQ,aAAa,IAAI,SAAS,QAAQ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