@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.
Files changed (75) hide show
  1. package/dist/components/AriaTable/AriaTable.cjs.map +1 -1
  2. package/dist/components/AriaTable/AriaTable.js.map +1 -1
  3. package/dist/components/Avatar/Avatar.vanilla.css.cjs +3 -3
  4. package/dist/components/Avatar/Avatar.vanilla.css.js +1 -1
  5. package/dist/components/Badge/Badge.vanilla.css.cjs +3 -3
  6. package/dist/components/Badge/Badge.vanilla.css.js +1 -1
  7. package/dist/components/Blockquote/Blockquote.vanilla.css.cjs +2 -2
  8. package/dist/components/Blockquote/Blockquote.vanilla.css.js +1 -1
  9. package/dist/components/Bubble/Bubble.vanilla.css.cjs +2 -2
  10. package/dist/components/Bubble/Bubble.vanilla.css.js +1 -1
  11. package/dist/components/Button/Button.cjs +2 -1
  12. package/dist/components/Button/Button.cjs.map +1 -1
  13. package/dist/components/Button/Button.js +2 -1
  14. package/dist/components/Button/Button.js.map +1 -1
  15. package/dist/components/Button/Button.vanilla.css.cjs +2 -2
  16. package/dist/components/Button/Button.vanilla.css.js +1 -1
  17. package/dist/components/Card/Card.vanilla.css.cjs +3 -3
  18. package/dist/components/Card/Card.vanilla.css.js +1 -1
  19. package/dist/components/CodeBlock/CodeBlock.cjs +108 -0
  20. package/dist/components/CodeBlock/CodeBlock.cjs.map +1 -0
  21. package/dist/components/CodeBlock/CodeBlock.js +108 -0
  22. package/dist/components/CodeBlock/CodeBlock.js.map +1 -0
  23. package/dist/components/CodeBlock/CodeBlock.vanilla.cjs +103 -0
  24. package/dist/components/CodeBlock/CodeBlock.vanilla.cjs.map +1 -0
  25. package/dist/components/CodeBlock/CodeBlock.vanilla.css.cjs +18 -0
  26. package/dist/components/CodeBlock/CodeBlock.vanilla.css.cjs.map +1 -0
  27. package/dist/components/CodeBlock/CodeBlock.vanilla.css.js +18 -0
  28. package/dist/components/CodeBlock/CodeBlock.vanilla.css.js.map +1 -0
  29. package/dist/components/CodeBlock/CodeBlock.vanilla.js +103 -0
  30. package/dist/components/CodeBlock/CodeBlock.vanilla.js.map +1 -0
  31. package/dist/components/Container/Container.vanilla.css.cjs +2 -2
  32. package/dist/components/Container/Container.vanilla.css.js +1 -1
  33. package/dist/components/DateTimePicker/DateTimePicker.cjs +1 -1
  34. package/dist/components/DateTimePicker/DateTimePicker.js +1 -1
  35. package/dist/components/Elevation/Elevation.vanilla.css.cjs +2 -2
  36. package/dist/components/Elevation/Elevation.vanilla.css.js +1 -1
  37. package/dist/components/FaencyProvider.cjs +2 -1
  38. package/dist/components/FaencyProvider.cjs.map +1 -1
  39. package/dist/components/FaencyProvider.js +2 -1
  40. package/dist/components/FaencyProvider.js.map +1 -1
  41. package/dist/components/Flex/Flex.vanilla.css.cjs +2 -2
  42. package/dist/components/Flex/Flex.vanilla.css.js +1 -1
  43. package/dist/components/Grid/Grid.vanilla.css.cjs +2 -2
  44. package/dist/components/Grid/Grid.vanilla.css.js +1 -1
  45. package/dist/components/IconButton/IconButton.vanilla.css.cjs +2 -2
  46. package/dist/components/IconButton/IconButton.vanilla.css.js +1 -1
  47. package/dist/components/Input/Input.vanilla.css.cjs +4 -4
  48. package/dist/components/Input/Input.vanilla.css.js +1 -1
  49. package/dist/components/Label/Label.vanilla.css.cjs +2 -2
  50. package/dist/components/Label/Label.vanilla.css.js +1 -1
  51. package/dist/components/List/List.cjs +36 -7
  52. package/dist/components/List/List.cjs.map +1 -1
  53. package/dist/components/List/List.js +36 -7
  54. package/dist/components/List/List.js.map +1 -1
  55. package/dist/components/Paragraph/Paragraph.vanilla.css.cjs +2 -2
  56. package/dist/components/Paragraph/Paragraph.vanilla.css.js +1 -1
  57. package/dist/components/Skeleton/Skeleton.vanilla.css.cjs +2 -2
  58. package/dist/components/Skeleton/Skeleton.vanilla.css.js +1 -1
  59. package/dist/components/Textarea/Textarea.vanilla.css.cjs +3 -3
  60. package/dist/components/Textarea/Textarea.vanilla.css.js +1 -1
  61. package/dist/components/colorSchemeContext.cjs +45 -0
  62. package/dist/components/colorSchemeContext.cjs.map +1 -0
  63. package/dist/components/colorSchemeContext.js +45 -0
  64. package/dist/components/colorSchemeContext.js.map +1 -0
  65. package/dist/faency.css +135 -107
  66. package/dist/index.cjs +6 -0
  67. package/dist/index.cjs.map +1 -1
  68. package/dist/index.d.ts +388 -0
  69. package/dist/index.js +6 -0
  70. package/dist/index.js.map +1 -1
  71. package/package.json +2 -1
  72. package/dist/node_modules/@vanilla-extract/recipes/dist/createRuntimeFn-62c9670f.esm.cjs +0 -109
  73. package/dist/node_modules/@vanilla-extract/recipes/dist/createRuntimeFn-62c9670f.esm.cjs.map +0 -1
  74. package/dist/node_modules/@vanilla-extract/recipes/dist/createRuntimeFn-62c9670f.esm.js +0 -109
  75. package/dist/node_modules/@vanilla-extract/recipes/dist/createRuntimeFn-62c9670f.esm.js.map +0 -1
package/dist/faency.css CHANGED
@@ -6040,120 +6040,34 @@
6040
6040
  overflow: hidden;
6041
6041
  text-overflow: ellipsis;
6042
6042
  white-space: nowrap;
6043
- }@keyframes _1fnlquw0 {
6044
- 0% {
6045
- top: 0;
6046
- right: 0;
6047
- bottom: 0;
6048
- left: 0;
6049
- opacity: 1;
6050
- }
6051
- 100% {
6052
- top: -8px;
6053
- right: -8px;
6054
- bottom: -8px;
6055
- left: -8px;
6056
- opacity: 0;
6057
- }
6058
- }
6059
- ._1fnlquw1 {
6060
- display: inline-block;
6061
- width: var(--_17h2n96a5);
6062
- height: var(--_17h2n96a5);
6063
- background-color: var(--_17h2n962s);
6064
- border-radius: 50%;
6043
+ }._1krwcuz0 {
6065
6044
  position: relative;
6066
6045
  }
6067
- ._1fnlquw1::before {
6068
- content: "";
6069
- animation: _1fnlquw0 1s ease infinite;
6070
- box-sizing: border-box;
6071
- position: absolute;
6072
- top: 0;
6073
- right: 0;
6074
- bottom: 0;
6075
- left: 0;
6076
- box-shadow: inset 0 0 0 1px rgba(255,255,255,.5);
6077
- border-radius: 50%;
6078
- pointer-events: none;
6079
- z-index: -1;
6080
- }
6081
- ._1fnlquw1::after {
6082
- content: "";
6083
- box-sizing: border-box;
6084
- position: absolute;
6085
- top: 5px;
6086
- right: 5px;
6087
- bottom: 5px;
6088
- left: 5px;
6089
- background-color: rgba(255,255,255,.1);
6090
- border-radius: 50%;
6091
- pointer-events: none;
6092
- }
6093
- ._1fnlquw3 {
6094
- background-color: var(--_17h2n962s);
6095
- }
6096
- ._1fnlquw3::before {
6097
- background-color: var(--_17h2n962s);
6098
- }
6099
- ._1fnlquw4 {
6100
- background-color: var(--_17h2n963g);
6101
- }
6102
- ._1fnlquw4::before {
6103
- background-color: var(--_17h2n963g);
6104
- }
6105
- ._1fnlquw5 {
6106
- background-color: var(--_17h2n9624);
6107
- }
6108
- ._1fnlquw5::before {
6109
- background-color: var(--_17h2n9624);
6110
- }
6111
- ._1fnlquw6 {
6112
- background-color: var(--_17h2n961g);
6113
- }
6114
- ._1fnlquw6::before {
6115
- background-color: var(--_17h2n961g);
6116
- }
6117
- ._1fnlquw7 {
6118
- background-color: var(--_17h2n96s);
6119
- }
6120
- ._1fnlquw7::before {
6121
- background-color: var(--_17h2n96s);
6122
- }
6123
- ._1fnlquw8 {
6124
- background-color: var(--_17h2n966s);
6125
- }
6126
- ._1fnlquw8::before {
6127
- background-color: var(--_17h2n966s);
6128
- }
6129
- ._1fnlquw9 {
6130
- background-color: var(--_17h2n9664);
6131
- }
6132
- ._1fnlquw9::before {
6133
- background-color: var(--_17h2n9664);
6134
- }
6135
- ._1fnlquwa {
6136
- width: var(--_17h2n96a2);
6137
- height: var(--_17h2n96a2);
6046
+ ._1krwcuz1 {
6047
+ margin: 0;
6048
+ border-radius: var(--_17h2n96av);
6049
+ overflow: auto;
6050
+ border: 1px solid var(--_17h2n963z);
6051
+ position: relative;
6052
+ font-size: var(--_17h2n96ae);
6053
+ line-height: 1.6;
6138
6054
  }
6139
- ._1fnlquwb {
6140
- width: var(--_17h2n96a3);
6141
- height: var(--_17h2n96a3);
6055
+ ._1krwcuz2 {
6056
+ border: none;
6142
6057
  }
6143
- ._1fnlquwc {
6144
- width: var(--_17h2n96a4);
6145
- height: var(--_17h2n96a4);
6058
+ ._1krwcuz3 {
6059
+ padding: var(--_17h2n969w);
6146
6060
  }
6147
- ._1fnlquwd {
6148
- width: var(--_17h2n96a5);
6149
- height: var(--_17h2n96a5);
6061
+ ._1krwcuz4 {
6062
+ position: absolute;
6063
+ right: var(--_17h2n969w);
6064
+ z-index: 1;
6150
6065
  }
6151
- ._1fnlquwe {
6152
- width: var(--_17h2n96a6);
6153
- height: var(--_17h2n96a6);
6066
+ ._1krwcuz5 {
6067
+ top: var(--_17h2n969u);
6154
6068
  }
6155
- ._1fnlquwf::before {
6156
- content: none;
6069
+ ._1krwcuz6 {
6070
+ bottom: var(--_17h2n969u);
6157
6071
  }@keyframes krhgwq0 {
6158
6072
  100% {
6159
6073
  transform: translateX(var(--_17h2n96aa));
@@ -6362,6 +6276,120 @@
6362
6276
  color: var(--_17h2n969f);
6363
6277
  background-color: transparent;
6364
6278
  }
6279
+ }@keyframes _1fnlquw0 {
6280
+ 0% {
6281
+ top: 0;
6282
+ right: 0;
6283
+ bottom: 0;
6284
+ left: 0;
6285
+ opacity: 1;
6286
+ }
6287
+ 100% {
6288
+ top: -8px;
6289
+ right: -8px;
6290
+ bottom: -8px;
6291
+ left: -8px;
6292
+ opacity: 0;
6293
+ }
6294
+ }
6295
+ ._1fnlquw1 {
6296
+ display: inline-block;
6297
+ width: var(--_17h2n96a5);
6298
+ height: var(--_17h2n96a5);
6299
+ background-color: var(--_17h2n962s);
6300
+ border-radius: 50%;
6301
+ position: relative;
6302
+ }
6303
+ ._1fnlquw1::before {
6304
+ content: "";
6305
+ animation: _1fnlquw0 1s ease infinite;
6306
+ box-sizing: border-box;
6307
+ position: absolute;
6308
+ top: 0;
6309
+ right: 0;
6310
+ bottom: 0;
6311
+ left: 0;
6312
+ box-shadow: inset 0 0 0 1px rgba(255,255,255,.5);
6313
+ border-radius: 50%;
6314
+ pointer-events: none;
6315
+ z-index: -1;
6316
+ }
6317
+ ._1fnlquw1::after {
6318
+ content: "";
6319
+ box-sizing: border-box;
6320
+ position: absolute;
6321
+ top: 5px;
6322
+ right: 5px;
6323
+ bottom: 5px;
6324
+ left: 5px;
6325
+ background-color: rgba(255,255,255,.1);
6326
+ border-radius: 50%;
6327
+ pointer-events: none;
6328
+ }
6329
+ ._1fnlquw3 {
6330
+ background-color: var(--_17h2n962s);
6331
+ }
6332
+ ._1fnlquw3::before {
6333
+ background-color: var(--_17h2n962s);
6334
+ }
6335
+ ._1fnlquw4 {
6336
+ background-color: var(--_17h2n963g);
6337
+ }
6338
+ ._1fnlquw4::before {
6339
+ background-color: var(--_17h2n963g);
6340
+ }
6341
+ ._1fnlquw5 {
6342
+ background-color: var(--_17h2n9624);
6343
+ }
6344
+ ._1fnlquw5::before {
6345
+ background-color: var(--_17h2n9624);
6346
+ }
6347
+ ._1fnlquw6 {
6348
+ background-color: var(--_17h2n961g);
6349
+ }
6350
+ ._1fnlquw6::before {
6351
+ background-color: var(--_17h2n961g);
6352
+ }
6353
+ ._1fnlquw7 {
6354
+ background-color: var(--_17h2n96s);
6355
+ }
6356
+ ._1fnlquw7::before {
6357
+ background-color: var(--_17h2n96s);
6358
+ }
6359
+ ._1fnlquw8 {
6360
+ background-color: var(--_17h2n966s);
6361
+ }
6362
+ ._1fnlquw8::before {
6363
+ background-color: var(--_17h2n966s);
6364
+ }
6365
+ ._1fnlquw9 {
6366
+ background-color: var(--_17h2n9664);
6367
+ }
6368
+ ._1fnlquw9::before {
6369
+ background-color: var(--_17h2n9664);
6370
+ }
6371
+ ._1fnlquwa {
6372
+ width: var(--_17h2n96a2);
6373
+ height: var(--_17h2n96a2);
6374
+ }
6375
+ ._1fnlquwb {
6376
+ width: var(--_17h2n96a3);
6377
+ height: var(--_17h2n96a3);
6378
+ }
6379
+ ._1fnlquwc {
6380
+ width: var(--_17h2n96a4);
6381
+ height: var(--_17h2n96a4);
6382
+ }
6383
+ ._1fnlquwd {
6384
+ width: var(--_17h2n96a5);
6385
+ height: var(--_17h2n96a5);
6386
+ }
6387
+ ._1fnlquwe {
6388
+ width: var(--_17h2n96a6);
6389
+ height: var(--_17h2n96a6);
6390
+ }
6391
+ ._1fnlquwf::before {
6392
+ content: none;
6365
6393
  }._1mwvsf70 {
6366
6394
  display: inline-flex;
6367
6395
  background-color: var(--_17h2n969l);
package/dist/index.cjs CHANGED
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const FaencyProvider = require("./components/FaencyProvider.cjs");
4
+ const colorSchemeContext = require("./components/colorSchemeContext.cjs");
4
5
  const Overlay = require("./components/Overlay.cjs");
5
6
  const reactAspectRatio = require("@radix-ui/react-aspect-ratio");
6
7
  const reactPortal = require("@radix-ui/react-portal");
@@ -20,6 +21,8 @@ const Blockquote = require("./components/Blockquote/Blockquote.cjs");
20
21
  const Blockquote_vanilla = require("./components/Blockquote/Blockquote.vanilla.cjs");
21
22
  const Box = require("./components/Box/Box.cjs");
22
23
  const Box_vanilla = require("./components/Box/Box.vanilla.cjs");
24
+ const CodeBlock = require("./components/CodeBlock/CodeBlock.cjs");
25
+ const CodeBlock_vanilla = require("./components/CodeBlock/CodeBlock.vanilla.cjs");
23
26
  const Bubble = require("./components/Bubble/Bubble.cjs");
24
27
  const Bubble_vanilla = require("./components/Bubble/Bubble.vanilla.cjs");
25
28
  const Button = require("./components/Button/Button.cjs");
@@ -79,6 +82,7 @@ const TextField_vanilla = require("./components/TextField/TextField.vanilla.cjs"
79
82
  const Tooltip = require("./components/Tooltip/Tooltip.cjs");
80
83
  const VisuallyHidden = require("./components/VisuallyHidden/VisuallyHidden.cjs");
81
84
  exports.FaencyProvider = FaencyProvider.FaencyProvider;
85
+ exports.useColorScheme = colorSchemeContext.useColorScheme;
82
86
  exports.Overlay = Overlay.Overlay;
83
87
  Object.defineProperty(exports, "AspectRatio", {
84
88
  enumerable: true,
@@ -126,6 +130,8 @@ exports.Blockquote = Blockquote.Blockquote;
126
130
  exports.BlockquoteVanilla = Blockquote_vanilla.BlockquoteVanilla;
127
131
  exports.Box = Box.Box;
128
132
  exports.BoxVanilla = Box_vanilla.BoxVanilla;
133
+ exports.CodeBlock = CodeBlock.CodeBlock;
134
+ exports.CodeBlockVanilla = CodeBlock_vanilla.CodeBlockVanilla;
129
135
  exports.Bubble = Bubble.Bubble;
130
136
  exports.BubbleVanilla = Bubble_vanilla.BubbleVanilla;
131
137
  exports.Button = Button.Button;
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}